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 --header_case
# --header_case is optional and set to True 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
- 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 --tagss
- Check that pypi package is created (validata-core pipelines)
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
validata_core-0.9.0.tar.gz
(31.8 kB
view details)
Built Distribution
File details
Details for the file validata_core-0.9.0.tar.gz
.
File metadata
- Download URL: validata_core-0.9.0.tar.gz
- Upload date:
- Size: 31.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b546d7a574043ac0480002c18ce113f7a1768dbfecaecbb45d68bc18db36e3f0
|
|
MD5 |
884e34f668e2897c217cda5c7693d68f
|
|
BLAKE2b-256 |
0b470517951b1d1c715a8f09b576716351ea034e978dea025835bcbd75f29050
|
File details
Details for the file validata_core-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: validata_core-0.9.0-py3-none-any.whl
- Upload date:
- Size: 39.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4bfa688949916ae657fa483705a339a6575e53213b3465ed254d9f9a7a66cdd5
|
|
MD5 |
650012adf4903411754148ed804b0afb
|
|
BLAKE2b-256 |
cc4fb9efe468752e9cc91cdc416b1abf2a63aca51afc3d26834f44b070d85c6f
|