stowrap: Python Storage Service Wrapper.
Project description
stowrap
Python Storage Service Wrapper
How to use
Initialize client
import stowrap
c = stowrap.Client("gcs")
or
c = stowrap.Client("s3")
Upload a file
result = c.upload("my-bucket", "/path/to/local/file", "dstfile.txt")
print(result.url)
Download a file
c.download("my-bucket", "some/remote/file.txt", "/path/to/local/file.txt")
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
stowrap-0.0.6.tar.gz
(3.8 kB
view details)
File details
Details for the file stowrap-0.0.6.tar.gz
.
File metadata
- Download URL: stowrap-0.0.6.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b87ea935f608ca5c5d19022318d95a4c5765919bdc0a98f5fd04db35b1aeda5 |
|
MD5 | c8197533de9aba355746c9971553c131 |
|
BLAKE2b-256 | d7e9de52d1396eba8d569ae7658d84f34b54ad1a4e1a61e14db37a51ec07fcb4 |