Tarantool database backend for Django
Project description
Django Tarantool database backend
Very first version
Installation
Install Tarantool v2 or later. See the installation manual for your OS here
Make a database directory and run tarantool instance there:
mkdir project_db
cd project_db
tarantool
You will see tarantool interpreter
tarantool> box.cfg{listen = 3301}
tarantool> box.schema.user.passwd('admin', 'parol')
Install tarantool-python with dbapi2 on board.
Now it is hosted at https://github.com/artembo/tarantool-python/tree/dbapi2
pip install git+https://github.com/artembo/tarantool-python@dbapi2
To set up django-tarantool enter in the command line
pip install django-tarantool
Add DATABASES
config of your Tarantool into settings.py
DATABASES = {
'default': {
'ENGINE': 'django_tarantool.backend',
'HOST': '127.0.0.1',
'PORT': '3301',
'USER': 'admin',
'PASSWORD': 'password',
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-tarantool-0.0.9.tar.gz
(19.7 kB
view hashes)
Built Distribution
Close
Hashes for django_tarantool-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4940173b1d18304c9982dc161c4c34ef789c8871ae404dffaf7de316bebffc21 |
|
MD5 | 3aed123a3203ddd0f3cd4887e88e9363 |
|
BLAKE2b-256 | 4781edd2e94c6ccfcb8b90863b7448847aa6a0812e2753455e1b8e8b14aafb78 |