Skip to main content

Convenient filesystem interface over Oracle Cloud Infrastructure's Object Storage

Project description

# ocifs OCI Object Storage fsspec implementation

Will move project to Oracle account once it’s futher along, also we’ll purge commit history prior to that move.

## Background:

Pandas recently switched the underlying file system mechanism to read data to use a project called (fsspec)[].

fsspec implements an abstract file system. Reading a csv from s3 for example is handled by Pandas now because s3://bucket/file is understood by fsspec. Similarly, Google /Microsoft/etc have added URI’s for their own s3-like cloud storage offerings. Currently in fsspec there are the following URI handlers:

  • s3://… -> s3fs.S3FileSystem (requires pip install s3fs)

  • az://… -> adlfs.AzureBlobFileSystem (requires pip install adlfs)

  • dbfs://… -> fsspec.implementations.dbfs.DatabricksFileSystem (requires DataBricks)

  • gcs://… -> gcsfs.GCSFileSystem (requires pip install gcsfs)

  • gdrive://… -> gdrivefs.GoogleDriveFileSystem (requires pip install gdrivefs)

  • Many more listed here:

This project adds:

  • oci://… -> to do (through pip install ocifs)

And the end result is that a user anywhere could run the following:

`pip install pandas fsspec ocifs df = pd.read_csv("ocifs://my_bucket/myobject.csv")`

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ocifs-0.1.1.tar.gz (21.5 kB view hashes)

Uploaded Source

Built Distribution

ocifs-0.1.1-py3-none-any.whl (15.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page