Skip to content

developmentseed/obspec

Repository files navigation

obspec

A Python protocol for interfacing with object storage.

Read the release post.

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 to fsspec.glob that uses obspec primitives.
  • Caching: wrappers around Get/GetRange/GetRanges that 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.

About

A Python protocol for interfacing with object storage.

Resources

License

Stars

Watchers

Forks

Languages