Skip to main content

Simple Storage

Data storage made simple.

codecov python PyPI Version

Supported storages

  • File system
  • AWS S3
  • Google Cloud Storage

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_AWS_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.

Google Cloud Storage

Environment variable Value
STORAGES_BACKEND storages.backends.google_cloud.GoogleCloudStorage
STORAGES_GOOGLE_CLOUD_CREDENTIALS Your Google Cloud Storage credentials in JSON encoded using Base64.
STORAGES_GOOGLE_CLOUD_BUCKET_NAME The bucket name that you want to use.

Documentation

The documentation is hosted on the project's GitHub Wiki.

Release files for simple-storage 0.0.6

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

Source distribution (sdist)

Source distribution for simple-storage 0.0.6
File Size Uploaded
simple-storage-0.0.6.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-storage 0.0.6
File Interpreter ABI Platform
simple_storage-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / simple-storage-0.0.6.tar.gz

Download URL simple-storage-0.0.6.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
de6bbdc0da26ec1d8585aa75e78cb95aefa703ab87d5cbc7e288b29f65f5cbd1
BLAKE2b-256 checksum
How to use checksums
aaa82e64110be468a85f6efceae8aa8818775f11d6bc1637944cde0d7db9c768
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / simple_storage-0.0.6-py3-none-any.whl

Download URL simple_storage-0.0.6-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a326e0037da54b8feb2b05ab401357466ba0597323811edf6d87c67dcd64504c
BLAKE2b-256 checksum
How to use checksums
d150e9156209b82a935c8f87a56f69625e6c5481eadf1769b4f155f92226eab9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.3

2 release files

0.0.2

2 release files

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