Data store.
Project description
This data store allows you to take full control of your data.
Features
Support for multiple backends, currently supported backends: PostgreSQL.
Declarative data descriptors using YAML format.
Change history, you can restore and view historical data.
Import data from external data sources.
Configuration
Spinta reads configuration values from these sources, listed in priority order:
Command line arguments passed as -o key=value.
From environment variables, first looking into SPINTA_<env>_<name>, then to SPINTA_<name>. <env> is taken from SPINTA_ENV.
From environment file .env, using same naming as environment variables.
From default configuration, specified by SPINTA_CONFIG, which defaults to spinta.config:CONFIG.
When running tests, Spinta uses test as environment name, so if you need to set configuration parameters only for tests, use SPINTA_TEST_<name>. For example, if you have these environment variables set:
SPINTA_BACKENDS_DEFAULT_DSN=a SPINTA_TEST_BACKENDS_DEFAULT_DSN=b
Then, when you run tests, b will be used, in all other cases, a will be used.
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
Built Distribution
File details
Details for the file spinta-0.1.5.tar.gz
.
File metadata
- Download URL: spinta-0.1.5.tar.gz
- Upload date:
- Size: 385.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcb2d651e159c2075ae7f04267de8aae309fa9ab237c9ad21c1c9976a13670bd |
|
MD5 | 339c2176f8adeecfbece610c05070afa |
|
BLAKE2b-256 | c41776203f954836f56c4741c31e00d37cb86aa99882233071b909f1a149458f |
File details
Details for the file spinta-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: spinta-0.1.5-py3-none-any.whl
- Upload date:
- Size: 121.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53e9b0d25ff88f79cb103e44b8d97c7e0500131c10e4a61b1fad39bf62709beb |
|
MD5 | c11aef79d5427fdbfb384a57825c4ccf |
|
BLAKE2b-256 | dfeefd6c2ea63db22cc330d2d58deeffc4014330bf11fa23351b983f46c8b889 |