Skip to main content

UStorage

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

Thanks to Flask-FS

See also django-storages

Installation

$ pip install ustorage

Quick start

from ustorage.s3 import S3Storage

options = {
    'endpoint': 'https://s3.cn-north-1.amazonaws.com.cn',
    'access_key': '<AccessKey>',
    'secret_key': '<SecretKey>',
    'bucket': 'my-bucket',
    'region': 'cn-north-1',
}
fs = S3Storage(options)

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

Release files for ustorage 0.1.1

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

Source distribution (sdist)

Source distribution for ustorage 0.1.1
File Size Uploaded
ustorage-0.1.1.tar.gz 7.3 kB Details

Release files / ustorage-0.1.1.tar.gz

Download URL ustorage-0.1.1.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
aa8b5077b42acf672d54febacf965036789b1e48fb55156fedd5061d6bab86e5
BLAKE2b-256 checksum
How to use checksums
4d405ff4976e28a92f8ee47d6e1f61504582f3b5d4165534f601eded4a00721d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

0.0.0

1 release file

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