Object storage interface definitions for Python.
Low maintenance activity. Last release 17 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install obspecobspec
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.