An unified python client to communicate with various kinds of object-store providers.
Project description
OmniStore
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>
)
# Upload
client.upload(src, dest)
# Download
client.download(src, dest)
# Exists
client.exists(filename)
# Delete
client.delete(filename)
Supported Providers
- OSS: Alibaba Cloud OSS
Contributions
🚀 All kinds of contributions are welcomed ! Please follow Contributing. Thanks to all these contributors.
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
omnistore-0.0.2.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for omnistore-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f150e2f316130b9b7620264eb56f22e688f2760887dc15fdce1647e42ae0e863 |
|
MD5 | f4219102c263d7e2b18f115a42f6e906 |
|
BLAKE2b-256 | 89c4ce1a69be2bfb0b2b2dc615894f581b2a583809ac6f9d0fe21c8a1977cf8f |