Object storage interface definitions for Python.
Project Links
Meta
Author: Kyle Barron
Requires Python: >=3.9
Classifiers
Development Status
- 4 - Beta
License
- OSI Approved :: MIT License
Operating System
- OS Independent
Programming Language
- Python :: 3
- Python :: 3 :: Only
obspec
A Python protocol for interfacing with object storage.
It's designed to abstract away the complexities of different object storage providers while acknowledging that object storage is not a filesystem. The Python protocols present more similarities to HTTP requests than Python file objects.
Implementations
The primary implementation that implements obspec is obstore, and the obspec protocol was designed around the obstore API.
Utilities
There are planned to be utilities that build on top of obspec. Potentially:
- globbing: an implementation of
glob()similar tofsspec.globthat usesobspecprimitives. - Caching: wrappers around
Get/GetRange/GetRangesthat store a cache of bytes.
By having these utilities operate on generic obspec protocols, it means that they can instantly be used with any future obspec backend.
0.1.0
Jun 25, 2025
0.1.0b6
May 28, 2025
0.1.0b5
May 21, 2025
0.1.0b4
May 20, 2025
0.1.0b3
Mar 13, 2025
0.1.0b2
Mar 13, 2025
0.1.0b1
Mar 11, 2025
Wheel compatibility matrix
Files in release
Extras:
None
Dependencies:
typing-extensions