File storage made easy
Project description
Simple Storage
Data storage made simple.
Supported storages
- File system
- AWS S3
Requirements
- Python >= 3.6
How to use
Install the package:
pip install simple-storage
Now, depending on the storage you want to use, follow the instructions below.
File system storage
Environment variable | Value |
---|---|
STORAGES_BACKEND |
storages.backends.file_system.FileSystemStorage |
STORAGES_PATH |
Point to the existing path in your file system, e.g. /app/media . |
AWS S3 storage
Environment variable | Value |
---|---|
STORAGES_BACKEND |
storages.backends.amazon_s3.AmazonS3Storage |
STORAGES_AWS_ACCESS_KEY_ID |
Your AWS access key ID. |
STORAGES_AWS_SECRET_ACCESS_KEY |
Your AWS secret access key. |
STORAGES_BUCKET_NAME |
The bucket name that you want to use. |
In case you encounter any problems with finding your AWS credentials please read this page as a reference.
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
simple-storage-0.0.5.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for simple_storage-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad485e5858e3ea713ebe554043a7c280683d21573bda4aa084bdb12b93a096b0 |
|
MD5 | 0501ffd8fee46674bd92313000c4d9a4 |
|
BLAKE2b-256 | 4f1eacda6220e01ec172ed9edf8513e68e6b1eb7bd87342441f0e0ce2b3f6cda |