Skip to content

Commit e502117

Browse files
authored
Adding Oracle Cloud to docs (#5621)
Adding Oracle Cloud's fsspec implementation to the list of supported cloud storage providers.
1 parent c5ca1d8 commit e502117

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

docs/source/filesystems.mdx

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ Take a look at the following table for some example of supported cloud storage p
1111
| Azure Blob/DataLake | [adlfs](https://github.com/fsspec/adlfs) |
1212
| Dropbox | [dropboxdrivefs](https://github.com/MarineChap/dropboxdrivefs)|
1313
| Google Drive | [gdrivefs](https://github.com/intake/gdrivefs) |
14+
| Oracle Cloud Storage | [ocifs](https://ocifs.readthedocs.io/en/latest/) |
1415

1516
This guide will show you how to save and load datasets with any cloud storage.
16-
Here are examples for S3, Google Cloud Storage and Azure Blob Storage.
17+
Here are examples for S3, Google Cloud Storage, Azure Blob Storage, and Oracle Cloud Object Storage.
1718

1819
## Set up your cloud storage FileSystem
1920

@@ -101,6 +102,27 @@ Otherwise, include your `aws_access_key_id` and `aws_secret_access_key` whenever
101102
>>> fs = adlfs.AzureBlobFileSystem(**storage_options)
102103
```
103104

105+
### Oracle Cloud Object Storage
106+
107+
1. Install the OCI FileSystem implementation:
108+
109+
```
110+
>>> pip install ocifs
111+
```
112+
113+
2. Define your credentials
114+
115+
```py
116+
>>> storage_options = {"config": "~/.oci/config", "region": "us-ashburn-1"}
117+
```
118+
119+
3. Create your FileSystem instance
120+
121+
```py
122+
>>> import ocifs
123+
>>> fs = ocifs.OCIFileSystem(**storage_options)
124+
```
125+
104126
## Load and Save your datasets using your cloud storage FileSystem
105127

106128
### Download and prepare a dataset into a cloud storage

0 commit comments

Comments
 (0)