Skip to main content

Django storage backend for CouchDB

Project description

A couchdb storage backend for Django

For each upload, a new document with the file attached is created.

Setup

Install this package with pip:

pip install -U django-couchdb-storage

Add it to your INSTALLED_APPS in django settings:

INSTALLED_APPS = [
    ...

    'couch',
]

And and configuration to point django to your couchdb:

DEFAULT_FILE_STORAGE = 'couchdb_storage.CouchDBStorage'
COUCHDB_HOST = 'http://127.0.0.1:5984'
COUCHDB_DATABASE = 'django_storage'
COUCHDB_USER = ''
COUCHDB_PASSWORD = ''

Constraints

Right now, this package assumes that content from the storage database can be read anonymously. Writes are authenticated. It is also assumed, that the db host can be accessed publicly.

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_couchdb_storage-0.0.2.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

django_couchdb_storage-0.0.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file django_couchdb_storage-0.0.2.tar.gz.

File metadata

  • Download URL: django_couchdb_storage-0.0.2.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for django_couchdb_storage-0.0.2.tar.gz
Algorithm Hash digest
SHA256 501225c7b12721c8b95012b8abda5ba06d4d737d78ec86a5bbfd09e9876105d9
MD5 17108550878c95393b3e524279971d02
BLAKE2b-256 381eb21e327d80a3a8dd67d115144a8b5bfc37d3e4b0b79012a35710bdfb6101

See more details on using hashes here.

File details

Details for the file django_couchdb_storage-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: django_couchdb_storage-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for django_couchdb_storage-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a1a0f402404b2f15e66566adde9bfbed2020158c24e7b7e4ef1049a5308024f2
MD5 08e0b54ce0b25637b72a65149e9926ef
BLAKE2b-256 bb2e882a9ecde5f320ab982ae273cbac4f0e2ab367acc10be7171ba0838d32ab

See more details on using hashes here.

Supported by

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