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
Releaseas 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.
Release files for validata-core 0.9.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| validata_core-0.9.7.tar.gz | 33.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| validata_core-0.9.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 74.2 kB
Release files / validata_core-0.9.7.tar.gz
| Download URL | validata_core-0.9.7.tar.gz |
|---|---|
| Size | 33.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1328fc460d937d1530dfbc96b7c7babc6280e5c20b60b4d83d2a84cc3d2cc03
|
|
BLAKE2b-256 checksum How to use checksums |
e09f502de6919da1800b760acbccb3d56fa3d45aa2bab2104decde12b26ada78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / validata_core-0.9.7-py3-none-any.whl
| Download URL | validata_core-0.9.7-py3-none-any.whl |
|---|---|
| Size | 40.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a526cc2f0f63eec56224f4b8ac868c2bb3f75a2592d46f1863de8f9d4169822
|
|
BLAKE2b-256 checksum How to use checksums |
04dcde0ce386a0c5e84bdbca3b9a8691b013f185183a4fd32609c135fd1d3a99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|