用于验证Opedia数据集文件的工具。

opedia-dataset-validator的Python项目详细描述


操作数据集验证器

检测Opedia dataset Excel file中错误的工具。

安装

源代码

python setup.py install

来自pypi与pip

# Probably should put this in a virtual environment
pip install opedia_dataset_validator

使用量

Usage: opedia_dataset_validator [OPTIONS] INPUT OUTPUT

  A tool to validate Opedia dataset files.

  INPUT should be an Opedia dataset Excel file conforming to the
  sepcification at
  https://github.com/mdashkezari/opedia/tree/master/template.

  OUTPUT should be an output file path or - for STDOUT. Output will be in
  the form of a tab-delimited text file encoded in UTF-8.

Options:
  -a, --all-errors  Print all errors. [default: only the first error of each
                    kind]
  -v, --value       Print cell values in error report. [default: False]
  --version         Show the version and exit.
  -h, --help        Show this message and exit.

运行测试

在虚拟环境中安装pytest和此包,然后从源目录的根目录运行pytest。或者,要测试python 2和3,请安装tox,然后从源目录的根目录运行tox

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何在jetty请求日志中添加milliscond字段?   java在使用Scanner类从文件读取信息时遇到问题   为什么。类不适用于泛型类型?   SQLite插入上的java空指针异常   java能告诉我们Guava缓存是在禁用统计数据的情况下构建的吗?   java在应用程序中使用常量   java无法使用AutoIT和Selenium Webdriver在所需位置/文件夹保存图像   java如何在jtable中更新jprogress栏   java是比较给定日期和当前日期(在给定时区中没有时间段)的最佳方法   安卓代码中的java错误   java无法访问实体类中的字段   java如何在tomcat中处理三个JDBC连接池?   java无法使用Spring Security保护AngularJS页面   如何在没有TCP/IP协议栈的情况下用Java发送以太帧