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.6.tar.gz
.
File metadata
- Download URL: spinta-0.1.6.tar.gz
- Upload date:
- Size: 487.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30cbae400bdaef89955493f32553ff17a3f8accbda34261645f6271ea19eae45 |
|
MD5 | bae619ea52b0a06ca8efe93c1b77da73 |
|
BLAKE2b-256 | c57315a425dea6ff911b5e54afda990d523261fac44a332d2c5a3889fef39f46 |
File details
Details for the file spinta-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: spinta-0.1.6-py3-none-any.whl
- Upload date:
- Size: 224.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9b98aa3fb93d6ad89dcfa214a918cbdeee4a6bd04e8cbd68009979668d5c31e |
|
MD5 | 5fd8f481a4a4ccfb550723d7902a56cb |
|
BLAKE2b-256 | a1c62cf3780d726795eedbefb02b1a4c63fe447c150bbbb8cdcd0fbcc63d1350 |