Apache OpenDAL™ Python Binding
A native Python binding for OpenDAL with one API for S3, GCS, Azure Blob, the local filesystem, and other storage services.
New to the model behind the API? Read Concepts first — the shared storage semantics and path and operation concepts every binding expresses through its own native API.
This binding has its own version number, independent of the Rust core. Check compatibility against the binding's version, not the core's.
Status
Released and stable, published to PyPI, Anaconda main, and conda-forge.
Capabilities
- Sync and async — use
OperatororAsyncOperatorwith the same verbs. - File-like objects —
op.open(path, "rb")returns a familiar read/write/seek file you can stream through. - Services — PyPI wheels include S3, GCS, and the other services in the release feature group.
- Presigned URLs for services that support them (async API).
Installation
The OpenDAL Python binding requires Python 3.11 or later. We retire each Python version in the first binding release line after that Python version reaches upstream end of life.
Install from PyPI:
pip install opendal
Or install from Anaconda main:
conda install opendal
Or install from conda-forge:
conda install conda-forge::opendal
Useful Links
- API reference: opendal.apache.org/docs/python
- Services & configuration: /services
- Upgrade guide:
upgrade.md - Source & examples:
bindings/python/
Next steps
- Getting started — a runnable program, then a real backend.
- Connecting to your storage — build an operator for any service.
- Common tasks — read, write, stream, list, presign, and more.
- Going to production — retries, errors, and capability checks.