Skip to main content

Unified Storage Interface for Python.

Project description


Unified Storage Interface for Python. Copied and decoupled from Flask-FS for working anywhere.

Thanks to Flask-FS

See also django-storages


$ pip install ustorage

Quick start

from ustorage.s3 import S3Storage

options = {
    'endpoint': '',
    'access_key': '<AccessKey>',
    'secret_key': '<SecretKey>',
    'bucket': 'my-bucket',
    'region': 'cn-north-1',
fs = S3Storage(options)

fs.write('hello.txt', 'Hello, World!')

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

ustorage-0.1.1.tar.gz (7.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page