Skip to main content

Store an sqlite database in object storage

Project description

Django Sqlite Object Storage

Store sqlite database in an object storage service (eg. S3)

Usage

Install the app in settings.py

DATABASES = {
    "default": {
        "ENGINE": "django_sqlite_object_storage",
        "NAME": Path("/tmp", "db.sqlite3"),
        "SQLITE_OBJECT_STORAGE_BUCKET_NAME": "bucketname",
        "SQLITE_OBJECT_STORAGE_ACCESS_KEY_ID": "key",
        "SQLITE_OBJECT_STORAGE_ACCESS_SECRET": "secret",
        "SQLITE_OBJECT_STORAGE_ENDPOINT_URL": "http://localhost:9000",  # Optional
    }
}

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

django_sqlite_object_storage-0.1.2.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file django_sqlite_object_storage-0.1.2.tar.gz.

File metadata

File hashes

Hashes for django_sqlite_object_storage-0.1.2.tar.gz
Algorithm Hash digest
SHA256 a0c53314452964b75be5a1698d268e718d7156691b2e32fc37f2755dcfedbc3e
MD5 f67a5ea89f714ca467fda220c1a84754
BLAKE2b-256 c239268a4bec1198c299102ec6ef9ee70996f9122b8dd0aefbb1a4ab8b382a3e

See more details on using hashes here.

File details

Details for the file django_sqlite_object_storage-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_sqlite_object_storage-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 845b390b26d176d79361db03bd7e01372316414764d6c8c9849f510dbebdd911
MD5 a7cca298bbedb6bb03c90ac0d3fa2f94
BLAKE2b-256 496d685fb54658be7220e31ae4546005a765c152ffc5175a0ab027bb26292dd0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page