The simplest, highest-throughput interface to Amazon S3, Google Cloud Storage, Azure Blob Storage, and S3-compliant APIs like Cloudflare R2.
Project Links
Meta
Author: Kyle Barron <kyle@developmentseed.org>
Requires Python: >=3.9
Classifiers
Development Status
- 4 - Beta
Framework
- AsyncIO
- FastAPI
- aiohttp
Intended Audience
- Developers
- Science/Research
License
- OSI Approved :: MIT License
Operating System
- MacOS
- Microsoft :: Windows
- Unix
Programming Language
- Rust
- Python :: Implementation :: CPython
- Python :: Implementation :: PyPy
Topic
- Internet
Typing
- Typed
obstore
The simplest, highest-throughput [^1] Python interface to S3, GCS, Azure Storage, & other S3-compliant APIs, powered by Rust.
- Sync and async API with full type hinting.
- Streaming downloads with configurable chunking.
- Streaming uploads from files or async or sync iterators.
- Streaming list, with no need to paginate.
- Automatic multipart uploads for large file objects.
- Automatic credential refresh before expiration.
- File-like object API and fsspec integration.
- Easy to install with no required Python dependencies.
- Optionally return list results in Apache Arrow format, which is faster and more memory-efficient than materializing Python
dict
s. - Zero-copy data exchange between Rust and Python via the buffer protocol.
For Rust developers looking to add object_store
support to their own Python packages, refer to pyo3-object_store
.
[^1]: Benchmarking is ongoing, but preliminary results indicate roughly 9x higher throughput than fsspec and 2.8x higher throughput than aioboto3 for many concurrent, small, get requests from an async context.
Installation
To install obstore using pip:
pip install obstore
Obstore is on conda-forge and can be installed using conda, mamba, or pixi. To install obstore using conda:
conda install -c conda-forge obstore
Documentation
Full documentation is available on the website.
Head to Getting Started to dig in.
Mar 24, 2025
0.6.0
Mar 17, 2025
0.5.1
Mar 17, 2025
0.5.0
Mar 17, 2025
0.5.0rc1
Mar 04, 2025
0.5.0b1
Feb 10, 2025
0.4.0
Feb 05, 2025
0.4.0b4
Feb 05, 2025
0.4.0b3
Feb 05, 2025
0.4.0b2
Jan 31, 2025
0.4.0b1
Jan 16, 2025
0.3.0
Jan 16, 2025
0.3.0b11
Jan 08, 2025
0.3.0b10
Dec 13, 2024
0.3.0b9
Nov 22, 2024
0.3.0b8
Nov 21, 2024
0.3.0b7
Nov 13, 2024
0.3.0b6
Nov 12, 2024
0.3.0b5
Nov 11, 2024
0.3.0b4
Nov 11, 2024
0.3.0b3
Nov 01, 2024
0.3.0b2
Nov 01, 2024
0.3.0b1
Oct 25, 2024
0.2.0
Oct 25, 2024
0.2.0b2
Oct 24, 2024
0.1.0b1
Wheel compatibility matrix
Files in release
Extras:
None
Dependencies: