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 --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

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

Uploaded Source

Built Distribution

validata_core-0.9.1-py3-none-any.whl (39.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: validata_core-0.9.1.tar.gz
  • Upload date:
  • Size: 32.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for validata_core-0.9.1.tar.gz
Algorithm Hash digest
SHA256 d45b160bebf2ee5d401dafdf77a62d147592b476de47072a5913b17fed7761db
MD5 4c3162f24a8356433c8185c4c90af283
BLAKE2b-256 4cee2d9c1b822a11bdd24d97e7c3146154692b627a90239fc85c849ef5bfc75d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: validata_core-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 39.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for validata_core-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15eca5be1b1d269994657eb3b3e85bc6771d41a8e04c1ed64336b34f475bfb01
MD5 915b51f90f617df02724f9bc2c0f72bb
BLAKE2b-256 a224f2e5f6edec8ae1c4b20a51e09197bcb8f735cce9b201a688d8bf3f4f3763

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