https://github.com/cthoyt/table-validator

Use tables with validation schemata to validate other tables.

https://github.com/cthoyt/table-validator

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.1%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

Use tables with validation schemata to validate other tables.

Basic Info
  • Host: GitHub
  • Owner: cthoyt
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 36.1 KB
Statistics
  • Stars: 0
  • Watchers: 3
  • Forks: 3
  • Open Issues: 1
  • Releases: 0
Created almost 7 years ago · Last pushed about 6 years ago
Metadata Files
Readme License

README.rst

table-validator
===============
Use tables with validation schemata to validate other tables.

Installation
------------
Install directly from `GitHub `_ with:

.. code-block:: sh

   $ pip install git+https://github.com/cthoyt/table-validator.git

Testing
-------
Install ``tox`` with ``pip install tox`` then run with ``tox``.

Usage
-----
Desktop Usage
~~~~~~~~~~~~~
To run the desktop interface, you also need to install the ``PyQt5`` package with ``pip`` then run:

.. code-block:: sh

   $ python -m table_validator.desktop

The ``--template`` option can specify a template file other than ``template.tsv`` in the current directory.

Web Usage
~~~~~~~~~
To run the web interface, you also need to run

.. code-block:: sh

   $ pip install flask flask-wtf flask-bootstrap

then run

.. code-block:: sh

   $ python -m table_validator.web

The ``--template`` option can specify a template file other than ``template.tsv`` in the current directory.

CLI Usage
~~~~~~~~~
Installation with ``pip`` adds a command ``table_validator`` that takes two arguments: a path to the template file,
and a path to the candidate file. Given files ``template.tsv`` and ``candidate.tsv``:

.. code-block:: tsv

    # template.tsv
    	C_A C_B C_C
    R_1 {INT(REQUIRED=TRUE)}	{INT(REQUIRED=TRUE)}	{INT(REQUIRED=TRUE)}

.. code-block:: tsv

    # candidate.tsv
    	C_A C_B C_C
    R_1 1	2	3

You can run:

.. code-block:: sh

    $ table_validator template.tsv candidate.tsv

Owner

  • Name: Charles Tapley Hoyt
  • Login: cthoyt
  • Kind: user
  • Location: Bonn, Germany
  • Company: RWTH Aachen University

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 1
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 2.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • yacheegupta (1)
Pull Request Authors
  • vporubsky (1)
Top Labels
Issue Labels
Pull Request Labels