Skip to main content

StitchDB database backend for Django

Project description

StitchDB for Django

Install

pip install stitchdb

Configure

In settings.py:

DATABASES = {
    'default': {
        'ENGINE': 'stitchdb_django',
        'URL': os.environ.get('STITCHDB_URL', 'https://db.stitchdb.com'),
        'API_KEY': os.environ.get('STITCHDB_API_KEY', ''),
    }
}

No other setup needed. Run python manage.py migrate and use Django ORM as usual.

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

stitchdb-1.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stitchdb-1.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file stitchdb-1.1.0.tar.gz.

File metadata

  • Download URL: stitchdb-1.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for stitchdb-1.1.0.tar.gz
Algorithm Hash digest
SHA256 069010341d96b22bafa0f40810d044d957b757889d1194f8bd0df324fbb40422
MD5 59093c4da606ed9069ca0aab3f9a9cfd
BLAKE2b-256 7e5ad613658b71d9b6b5d7ecb44ba47678c67dd8435e06d1f6c0c82b02deee10

See more details on using hashes here.

File details

Details for the file stitchdb-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: stitchdb-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for stitchdb-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a15e66903693cdb9137e3207aa8a7c4e0adbae7dc0e9d3f05a32c5b9b66ff995
MD5 69756618333a9afa99a643aad2bd66a7
BLAKE2b-256 3ca1b230b5035911781b3ce8403eed4cb0b2d17f5b8c4f6f3c9cf60f67f7f551

See more details on using hashes here.

Supported by

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