ocifs
Convenient filesystem interface over Oracle Cloud's Object Storage
What it is and what it does
ocifs is a Python package that implements the fsspec (filesystem_spec) interface for Oracle Cloud Infrastructure Object Storage. It allows you to interact with OCI buckets using standard filesystem operations—read, write, list, delete, rename—through a unified API that looks and behaves like a local filesystem. This makes it possible to use OCI Object Storage seamlessly with data libraries like Pandas, Dask, and PyArrow without writing cloud-specific code.
The package depends on fsspec (the base interface), oci (Oracle's Python SDK), and requests (HTTP client). It supports Python 3.6 and later, including current versions up to 3.14. Authentication is handled via OCI configuration files or environment variables, supporting both API key and resource principal signers. The package is maintained by Oracle and has been in production use since 2021.
Use it for:
- Read CSV or Parquet files directly from OCI Object Storage into Pandas DataFrames using standard read_csv/read_parquet calls with storage_options.
- Build data pipelines with Dask that operate on objects stored in OCI buckets without downloading them locally first.
- Perform file operations (upload, download, list, delete) on OCI Object Storage from Python scripts using familiar filesystem methods.
- Integrate OCI Object Storage as a backend for machine learning workflows that expect a fsspec-compatible storage layer.
- Migrate workloads from other cloud object stores (S3, GCS) to OCI by swapping the fsspec backend without changing application logic.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a fsspec-compatible filesystem interface to Oracle Cloud Infrastructure Object Storage, enabling file-like operations on OCI buckets through a standard API.
Yes, if you are working with OCI Object Storage and want to integrate it with Pandas, Dask, or other fsspec-aware libraries. The package is production-stable and has no known vulnerabilities. The main caveat is aging maintenance—281 days since last release—so verify that the version supports your OCI SDK and Python versions. License treatment is marked unclear in metadata; confirm UPL terms align with your project before committing.
Install
ocifs on PyPI
pip
pip install ocifsuv
uv add ocifspoetry
poetry add ocifsInstalling ocifs
Before you install
Low friction install with three straightforward runtime dependencies. Maintenance status is aging—last release was 281 days ago—but the repository remains active and the package is marked Production/Stable.
License in practice
License treatment is unclear in the metadata, though the description states Universal Permissive License v1.0 (UPL). Verify the actual license terms before use if compliance is a concern.
Quickstart
from ocifs import OCIFileSystem
fs = OCIFileSystem("~/.oci/config")
fs.touch("oci://<bucket>@<namespace>/<prefix>/file.txt", data=b"content")
data = fs.cat("oci://<bucket>@<namespace>/<prefix>/file.txt")
Requires OCI credentials configured at ~/.oci/config or via environment variables (OCIFS_IAM_TYPE, OCIFS_CONFIG_LOCATION, OCIFS_CONFIG_PROFILE).
Verify before relying
- Whether license_treatment 'unclear' reflects a genuine metadata gap or a known UPL classification issue.
- Performance characteristics and throughput limits for large-scale or high-concurrency workloads.
- Compatibility guarantees with specific versions of fsspec, Pandas, Dask, or PyArrow beyond the examples shown.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — fsspec, oci, requests |
| Maintenance | aging — 281 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 203,080/month — #9,637 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ocifs-1.3.4-py3-none-any.whl
Keywords: Oracle Cloud Infrastructure, OCI, Object Storage
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
fsspecfsspec provides a unified filesystem interface…
unclear · top 100 on PyPI
sshfsProvides an fsspec-compatible filesystem…
permissive · top 5,000 on PyPI
adlfsProvides a filesystem interface to Azure Blob…
permissive · top 5,000 on PyPI
ociPython SDK for Oracle Cloud Infrastructure that…
permissive · top 5,000 on PyPI
gcsfsProvides a file-system-like interface to Google…
permissive · top 1,000 on PyPI
universal-pathlibUniversal Pathlib provides a pathlib.Path-like…
permissive · top 1,000 on PyPI
msgraphfsProvides a filesystem interface to Microsoft…
permissive · top 5,000 on PyPI
oci-cliCommand-line interface for managing Oracle…
permissive · top 5,000 on PyPI
orasORAS Python is an SDK that lets you push OCI…
permissive · top 5,000 on PyPI
multi-storage-clientUnified Python client providing a generic…
permissive · top 15,000 on PyPI