{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Framework :: Pytest" ], "description": "# pytest-cldf\n\n[![PyPI](https://img.shields.io/pypi/v/pytest-cldf.svg)](https://pypi.org/project/pytest-cldf)\n\n\nThis pytest plugin can be used to run validation of CLDF datsets via the pytest\ntest runner. In particular, this allows hooking up continuous validation with\nCI services like travis-ci easily.\n\n\n## Continuous validation via Travis-CI\n\nTo make sure a dataset - curated in a git repository on GitHub - is continuously,\ni.e. after each commit, validated, you have to\n- hook up the repository with Travis-CI\n- add a Travis configuration file `.travis.yml` with the following content:\n```yaml\nlanguage: python\npython: \"3.6\"\ncache: pip\nbefore_cache: rm -f $HOME/.cache/pip/log/debug.log\ninstall: pip install pytest-cldf\nscript: pytest --cldf-metadata=cldf/cldf-metadata.json test.py\n```\n\n- add the python file implementing the tests `test.py`:\n```python\ndef test_valid(cldf_dataset, cldf_logger):\n assert cldf_dataset.validate(log=cldf_logger)\n```\n\n\n## Extended validation\n\nTODO", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pytest-cldf", "package_url": "https://pypi.org/project/pytest-cldf/", "platform": "", "project_url": "https://pypi.org/project/pytest-cldf/", "project_urls": null, "release_url": "https://pypi.org/project/pytest-cldf/0.2.1/", "requires_dist": null, "requires_python": "", "summary": "Easy quality control for CLDF datasets using pytest", "version": "0.2.1" }, "last_serial": 5232229, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d4872b465e87ea729329287e09b894d8", "sha256": "e9a810fa4abbd375aa122f5c46e42bea221d61940ae2b985324233823bec6ee4" }, "downloads": -1, "filename": "pytest_cldf-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "d4872b465e87ea729329287e09b894d8", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 2626, "upload_time": "2018-04-18T20:06:41", "url": "https://files.pythonhosted.org/packages/81/1d/d07d00354747e05ff8e9c5ed81f66daf2e5eb5c92aaba138aeac6670b5d3/pytest_cldf-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e070487932e55b1c0fec50812fd79d0c", "sha256": "2b5446585fb0ea820887b4dfeabe49a52f429cb7c93ce03002df1f2814f4d106" }, "downloads": -1, "filename": "pytest-cldf-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e070487932e55b1c0fec50812fd79d0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1213, "upload_time": "2018-04-18T20:06:42", "url": "https://files.pythonhosted.org/packages/f9/bb/6b06c1d81ded25d0fce11a2a2a51885646c4a35c4703e1872a491f2ae19f/pytest-cldf-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "865484776388a6e491441c5af84ad690", "sha256": "f9eac5ca2705ee669b0728e9df8e2a545814bf57ad3fa3970281b9ad694325d2" }, "downloads": -1, "filename": "pytest_cldf-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "865484776388a6e491441c5af84ad690", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3747, "upload_time": "2018-04-19T09:35:03", "url": "https://files.pythonhosted.org/packages/d5/53/3110ec580e6bb280ba30585a04e9f1dedec454ed733170909a51768e587e/pytest_cldf-0.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a9a858f0bd7b488e1bd592e0c341b8b3", "sha256": "3763ea7fb004113282b9e89b5d0785133c7ba46d00346a2aa6b74ad7ca544a0f" }, "downloads": -1, "filename": "pytest-cldf-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a9a858f0bd7b488e1bd592e0c341b8b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1887, "upload_time": "2018-04-19T09:34:49", "url": "https://files.pythonhosted.org/packages/22/38/0fbb50ab90e8a308291e93d159982436f80849bf2e1adaeac78529cc5a43/pytest-cldf-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "b964a249a51bc02cda71aa4838a469f5", "sha256": "8e8eb911447ddc6931b3b6615cbac490245b2508bdd13ba47e12a9e824e78989" }, "downloads": -1, "filename": "pytest_cldf-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "b964a249a51bc02cda71aa4838a469f5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2480, "upload_time": "2018-09-12T11:50:01", "url": "https://files.pythonhosted.org/packages/6c/87/848659ddc71af9091154e30ed61d10bc39957f31f5b489e0a0ea222424a7/pytest_cldf-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "630151ac1266e75ced88b8b5208652fe", "sha256": "d0904cef526afe2fecf503b995b68be52f3d22dab3f5221957ebca147377a708" }, "downloads": -1, "filename": "pytest-cldf-0.2.0.tar.gz", "has_sig": false, "md5_digest": "630151ac1266e75ced88b8b5208652fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1914, "upload_time": "2018-09-12T11:49:55", "url": "https://files.pythonhosted.org/packages/9f/dc/3aa2c07eef05061749fea2da5b3c8f6f27fd888f3daabf59c543aa14a2e3/pytest-cldf-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "ceee04ff43a277a371aa23f63f5e439d", "sha256": "a084fb4630042860b65e82ae57b39d313ab3b4bd1bf2035470491972dcae29e6" }, "downloads": -1, "filename": "pytest_cldf-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ceee04ff43a277a371aa23f63f5e439d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2479, "upload_time": "2019-05-06T11:37:33", "url": "https://files.pythonhosted.org/packages/06/0a/98983389a949d45897eb3a15b3a9d17b3e76acb836c5f5516a73f4d5ba83/pytest_cldf-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "28150adc9cd6eaa6d368baa594f254f0", "sha256": "02bb6ec02b5093951b7e3a628dd13bef31e6239fee69decd96b42666186f42a4" }, "downloads": -1, "filename": "pytest-cldf-0.2.1.tar.gz", "has_sig": false, "md5_digest": "28150adc9cd6eaa6d368baa594f254f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1921, "upload_time": "2019-05-06T11:37:31", "url": "https://files.pythonhosted.org/packages/c7/d3/e004dfe1234303a0ba56fcdc105762dbcc62bab636fc9cdf0921f377e4a3/pytest-cldf-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ceee04ff43a277a371aa23f63f5e439d", "sha256": "a084fb4630042860b65e82ae57b39d313ab3b4bd1bf2035470491972dcae29e6" }, "downloads": -1, "filename": "pytest_cldf-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ceee04ff43a277a371aa23f63f5e439d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2479, "upload_time": "2019-05-06T11:37:33", "url": "https://files.pythonhosted.org/packages/06/0a/98983389a949d45897eb3a15b3a9d17b3e76acb836c5f5516a73f4d5ba83/pytest_cldf-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "28150adc9cd6eaa6d368baa594f254f0", "sha256": "02bb6ec02b5093951b7e3a628dd13bef31e6239fee69decd96b42666186f42a4" }, "downloads": -1, "filename": "pytest-cldf-0.2.1.tar.gz", "has_sig": false, "md5_digest": "28150adc9cd6eaa6d368baa594f254f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1921, "upload_time": "2019-05-06T11:37:31", "url": "https://files.pythonhosted.org/packages/c7/d3/e004dfe1234303a0ba56fcdc105762dbcc62bab636fc9cdf0921f377e4a3/pytest-cldf-0.2.1.tar.gz" } ] }