Skip to main content

Validata Core library

Project description

Validata validation core

PyPI

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


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.5.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

validata_core-0.9.5-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

File details

Details for the file validata_core-0.9.5.tar.gz.

File metadata

  • Download URL: validata_core-0.9.5.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for validata_core-0.9.5.tar.gz
Algorithm Hash digest
SHA256 5c12a3473e8e28cdccd77a52bcf5b28ce1fa8cf6d7acdbfe7693635231fa7662
MD5 c5db4f8c2aded5e2f8d3ef4de54fdf3c
BLAKE2b-256 e9ae35f78d711bc7c970e2f52fe3be157ffa3d57b8b26d4aa245a2efd9883992

See more details on using hashes here.

File details

Details for the file validata_core-0.9.5-py3-none-any.whl.

File metadata

  • Download URL: validata_core-0.9.5-py3-none-any.whl
  • Upload date:
  • Size: 40.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for validata_core-0.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4aa6ec2a43d405b275860bdb40802f07cf5d6a322cb59c7669431c7177676d8d
MD5 87d4391f0d81bf0ababa76ce529a992d
BLAKE2b-256 76dabd53403f377724beb94eab439512ceccee568946b63250dad2321602450c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page