Skip to main content

OmniStore

Latest Release

An unified python client to communicate with various kinds of object-store providers.

How to use

Installation

pip install omnistore

Usage

from omnistore.objstore import StoreFactory

# Initialization
client = StoreFactory.new_client(
    provider=<provider>, endpoint=<endpoint>, bucket=<bucket>
)

# Create a directory
client.create_dir(dir_name)

# Delete a directory with all its files
client.delete_dir(dir_name)

# Upload
client.upload(src, dest)

# Upload a directory with all its files
client.upload_dir(src_dir, dest_dir)

# Download
client.download(src, dest)

# Download a directory with all its files
client.download_dir(src_dir, dest_dir)

# Exists
client.exists(filename)

# Delete
client.delete(filename)

Supported Providers

Alibaba Cloud OSS

Usage:

client = StoreFactory.new_client(
    provider="OSS", endpoint=<endpoint>, bucket=<bucket>
)

Required environment variables:

OSS_ACCESS_KEY_ID=
OSS_ACCESS_KEY_SECRET=

Development

Once you want to run the integration tests, you should have a .env file locally, similar to the .env.example.

Contributions

🚀 All kinds of contributions are welcomed ! Please follow Contributing. Thanks to all these contributors.

Metadata

Release files for omnistore 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omnistore 0.0.4
File Size Uploaded Provenance Actions
omnistore-0.0.4.tar.gz 3.7 kB Without provenance Details for omnistore-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for omnistore 0.0.4
File Interpreter ABI Platform Actions
omnistore-0.0.4-py3-none-any.whl Python 3 none any Details for omnistore-0.0.4-py3-none-any.whl

Total release size: 8.8 kB

Release files / omnistore-0.0.4.tar.gz

Download URL omnistore-0.0.4.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a15ea36cce3b6f962a617dee45932e5bc596b2a4a9a6b3914b704749964681de
BLAKE2b-256 checksum
How to use checksums
71f47c4e46ea7c5d77767a97fabf958624626a37e56d1206b6bfc2a7f6a5c36c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.13 Darwin/23.4.0

Release files / omnistore-0.0.4-py3-none-any.whl

Download URL omnistore-0.0.4-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0730ebe5f1bf9345f6c0611aef08399c1ff445fddd6ca7d5bb4ea66111f3f58
BLAKE2b-256 checksum
How to use checksums
9cfc20940b0ef6043b083706bed53cafa456a55bdef56288d5c25422a5a5276f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.13 Darwin/23.4.0

Security for omnistore 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page