Validata Core library
Project description
Validata validation core
validata-core
is a library built over frictionless-py which provides tabular data validation with:
- French error messages (see ERRORS)
- Custom checks to handle french specifics (see CUSTOM CHECKS)
validata-core
is used by validata-ui and validata-api as part of the Validata project.
Try (only for python < 3.10)
Create a virtualenv, run the script against fixtures:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install -e .
validata table.csv --schema /path/to/schema.json --ignore_header_case
# --ignore_header_case is optional and set to False by default (sensitive to the case by default)
A complete list of error messages can found in ERRORS.md
Testing
pip install pytest
pytest --doctest-modules
Release a new version
On master branch :
- Update version in setup.py and CHANGELOG.md files
- Commit changes using
Release
as commit message - Create git tag (starting with "v" for the release)
- Git push:
git push && git push --tags
- Check that pypi package is created (validata-core pipelines)
Creating and pushing a new release will trigger the pipeline in order to automatically update validata-core version in its children projects (so far : validata-api and validata-ui) projects.
This pipeline runs when a new tag under the format 'vX.X.X' is pushed. For each project, it will create a new branch in which it updates the requirements.txt
and the setup.py
files.
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_core-0.9.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 064636864810cf9b93dc89441d17c05b40d2356c3a86ed80690b79324d388db4 |
|
MD5 | be7cc77b303e69c4b1c46b1d9e94d978 |
|
BLAKE2b-256 | 673ccc43978f9cf63a8092c38b195e288f9a142c33b2cb39fe86f17a6c459e1d |