Metadata-Version: 2.1
Name: spinta
Version: 0.1.8
Summary: A platform for describing, extracting, transforming, loading and serving open data.
Home-page: https://gitlab.com/atviriduomenys/spinta
License: MIT
Author: Mantas Zimnickas
Author-email: sirexas@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: Console
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Database
Classifier: Topic :: Database :: Database Engines/Servers
Classifier: Topic :: Database :: Front-Ends
Requires-Dist: aiofiles
Requires-Dist: alembic
Requires-Dist: asyncpg
Requires-Dist: authlib (>=0.11,<0.12)
Requires-Dist: boto3
Requires-Dist: click
Requires-Dist: frictionless[sql] (>=3.48.0,<4.0.0)
Requires-Dist: gunicorn
Requires-Dist: jinja2
Requires-Dist: jsonpatch
Requires-Dist: lark-parser
Requires-Dist: lxml
Requires-Dist: msgpack
Requires-Dist: multipledispatch
Requires-Dist: phonenumbers
Requires-Dist: psycopg2-binary
Requires-Dist: pymongo
Requires-Dist: python-multipart
Requires-Dist: pytz
Requires-Dist: requests
Requires-Dist: ruamel.yaml
Requires-Dist: setuptools
Requires-Dist: setuptools-scm
Requires-Dist: sqlalchemy
Requires-Dist: sqlparse
Requires-Dist: starlette
Requires-Dist: texttable
Requires-Dist: toposort
Requires-Dist: tqdm
Requires-Dist: typer[all] (>=0.3.2,<0.4.0)
Requires-Dist: ujson
Requires-Dist: unidecode
Requires-Dist: uvicorn
Requires-Dist: xlrd
Project-URL: Bug Tracker, https://gitlab.com/atviriduomenys/spinta/-/issues
Project-URL: Documentation, https://spinta.readthedocs.io/
Project-URL: Repository, https://gitlab.com/atviriduomenys/spinta
Description-Content-Type: text/x-rst

.. default-role:: literal

This data store allows you to take full control of your data.

.. image:: https://gitlab.com/atviriduomenys/spinta/badges/master/pipeline.svg
   :target: https://gitlab.com/atviriduomenys/spinta/commits/master

.. image:: https://gitlab.com/atviriduomenys/spinta/badges/master/coverage.svg
   :target: https://gitlab.com/atviriduomenys/spinta/commits/master


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.

