{"id":16749018,"url":"https://github.com/cthoyt/table-validator","last_synced_at":"2025-03-16T03:42:04.906Z","repository":{"id":77808525,"uuid":"176457946","full_name":"cthoyt/table-validator","owner":"cthoyt","description":"Use tables with validation schemata to validate other tables.","archived":false,"fork":false,"pushed_at":"2020-02-06T10:32:29.000Z","size":37,"stargazers_count":0,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-22T16:24:45.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cthoyt.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-19T08:05:36.000Z","updated_at":"2019-03-20T10:28:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd4f1391-75fa-4be9-aa40-6fce510f5eb7","html_url":"https://github.com/cthoyt/table-validator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cthoyt%2Ftable-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cthoyt%2Ftable-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cthoyt%2Ftable-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cthoyt%2Ftable-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cthoyt","download_url":"https://codeload.github.com/cthoyt/table-validator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822304,"owners_count":20353499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T02:23:37.083Z","updated_at":"2025-03-16T03:42:04.889Z","avatar_url":"https://github.com/cthoyt.png","language":"Python","readme":"table-validator\n===============\nUse tables with validation schemata to validate other tables.\n\nInstallation\n------------\nInstall directly from `GitHub \u003chttps://github.com/cthoyt/table-validator\u003e`_ with:\n\n.. code-block:: sh\n\n   $ pip install git+https://github.com/cthoyt/table-validator.git\n\nTesting\n-------\nInstall ``tox`` with ``pip install tox`` then run with ``tox``.\n\nUsage\n-----\nDesktop Usage\n~~~~~~~~~~~~~\nTo run the desktop interface, you also need to install the ``PyQt5`` package with ``pip`` then run:\n\n.. code-block:: sh\n\n   $ python -m table_validator.desktop\n\nThe ``--template`` option can specify a template file other than ``template.tsv`` in the current directory.\n\nWeb Usage\n~~~~~~~~~\nTo run the web interface, you also need to run\n\n.. code-block:: sh\n\n   $ pip install flask flask-wtf flask-bootstrap\n\nthen run\n\n.. code-block:: sh\n\n   $ python -m table_validator.web\n\nThe ``--template`` option can specify a template file other than ``template.tsv`` in the current directory.\n\nCLI Usage\n~~~~~~~~~\nInstallation with ``pip`` adds a command ``table_validator`` that takes two arguments: a path to the template file,\nand a path to the candidate file. Given files ``template.tsv`` and ``candidate.tsv``:\n\n.. code-block:: tsv\n\n    # template.tsv\n    \tC_A C_B C_C\n    R_1 {INT(REQUIRED=TRUE)}\t{INT(REQUIRED=TRUE)}\t{INT(REQUIRED=TRUE)}\n\n.. code-block:: tsv\n\n    # candidate.tsv\n    \tC_A C_B C_C\n    R_1 1\t2\t3\n\nYou can run:\n\n.. code-block:: sh\n\n    $ table_validator template.tsv candidate.tsv\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcthoyt%2Ftable-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcthoyt%2Ftable-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcthoyt%2Ftable-validator/lists"}