Package used in validation tabular data
Project description
Validata Table
Validata Table is python package used as a tabular data validation service.
It includes four subpackages, where you can find their respective documentations :
validata_core
validata_ui
validata_api
tests
used for testing the project
To keep track of the project's history, Validata Table comes from the merge of four gitlab repositories :
Development
This project is based on Docker to use a local environement developement.
This project includes a Makefile, which allows you to run predefined actions by running specific commands.
Dependency management tool used : Poetry version 1.6.1
Requirements
First install Docker and docker-compose if not already done.
Run on development local environment
Configuration is done by editing environment variables in .env
,
(see .env.example
file to set .env
file)
Warning: Docker env files do not support using quotes around variable values!
Launch the development local environment, thanks to the makefile command:
# in validata-table/
make serve_dev
This launches two docker containers:
- validata-api-dev
- validata-ui-dev
Validata Table API (using validata-api-dev
docker container)
To access to the API of Validata Table click on http://localhost:5000/
Validata Table UI (using validata-ui-dev
docker container)
To access to the API of Validata Table click on http://localhost:5001/
Validata Table command line tool (using validata-api-dev
docker container)
To use validata command line tool in the docker development environment, run:
docker exec -it validata-api-dev bash
validata --help
Test
To launch tests in the development environment, run:
make test
Continuous Integration
The continuous integration is configured in .gitlab-ci.yml
file
Release a new version
On master branch :
- Update version in pyproject.toml and CHANGELOG.md files
- Commit changes using
Release
as commit message - Create git tag (starting with "v" for the release)
git tag -a
- Git push:
git push && git push --tags
- Check that pypi package is created and container images for validata_ui and validata_api are well-built (validata-table pipelines)
Creating and pushing a new release will trigger the pipeline in order to automatically publish
a new version of validata-table
package and build a new container image.
This pipeline runs when a new tag under the format 'vX.X.X' is pushed.
Run on production
Configuration is done by editing environment variables in .env
,
(see .env.example
file to set .env
file)
Warning: Docker env files do not support using quotes around variable values !
Launch the production environment, thanks to the makefile command:
# in validata-table/
make serve_prod
Deploy
This project uses Docker to deploy it in production
Deploy to production
Not yet available
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
Hashes for validata_table-0.10.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73c5fa91109e1ac63f88914f2d490ea608cdbf8f08966aee857593e110533fed |
|
MD5 | 888c22629b9cf4bc1d143eb028f0815e |
|
BLAKE2b-256 | 61100d270075395d36a0611fc9b30dc3f4563ec92c8e0075d38bf1b9a0cd7cae |