Skip to main content

Object storage interface definitions for Python.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

obspec-0.1.0.tar.gz (117.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

obspec-0.1.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file obspec-0.1.0.tar.gz.

File metadata

  • Download URL: obspec-0.1.0.tar.gz
  • Upload date:
  • Size: 117.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for obspec-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b189781a53f82ef8d6abf0c9e77fd4c46ac9f244d5a91eb35ee61c2e2b204a4a
MD5 bd21973447baa8d0e961cf767bb8eb1a
BLAKE2b-256 e2947a9ad6927cac6ec7680e11772fb692145a05a93bafd80b84f6f0ef12f4e7

See more details on using hashes here.

File details

Details for the file obspec-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: obspec-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for obspec-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 307f0fa2c2998b324ecf0eed6a2a89049a4c40c9b1fa2b5e1af28f0ee72136b3
MD5 322a47bda4414e835363b1743d85835e
BLAKE2b-256 bb6996feeac84ce0b871567225c78515f3b557c023e72ed9b4f1833f3662bd6b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page