{ "info": { "author": "Stijn Van Hoey", "author_email": "stijn.vanhoey@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "# pywhip\n\nThe pywhip package is a Python package to validate data against\n[whip specifications](https://github.com/inbo/whip), a human and \nmachine-readable syntax to express specifications for data.\n\n* Free software: MIT license\n* Documentation: https://inbo.github.io/pywhip\n\n[![Build Status](https://img.shields.io/pypi/v/pywhip.svg)](https://pypi.python.org/pypi/pywhip)\n\n[![Build Status](https://travis-ci.org/inbo/pywhip.svg?branch=master)](https://travis-ci.org/inbo/pywhip)\n\n[![Updates](https://pyup.io/repos/github/inbo/pywhip/shield.svg)](https://pyup.io/repos/github/inbo/pywhip/)\n\nCheck the [documentation pages](https://inbo.github.io/pywhip/installation.html) for more information.\n\n## Installation\n\nTo install pywhip, run this command in your terminal:\n\n```shell\npip install pywhip\n```\n\nFor more detailed installation instructions, see the \n[documentation pages](https://inbo.github.io/pywhip/installation.html).\n\n## Test pywhip in jupyter notebook\n\nLaunch a jupyter notebook to interactively try out the pywhip package:\n\n[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/inbo/pywhip/master?filepath=notebooks%2Fwhip_csv_data.ipynb)\n\n## Quickstart\n\nTo validate a CSV data file with the field headers `country`, `eventDate`\nand `individualCount`, write whip specifications, according to the\n[whip syntax](https://github.com/inbo/whip):\n\n```\nspecifications = \"\"\"\n country:\n allowed: [BE, NL]\n eventDate:\n dateformat: '%Y-%m-%d'\n mindate: 2016-01-01\n maxdate: 2018-12-31\n individualCount:\n numberformat: x # needs to be an integer value\n min: 1\n max: 100\n \"\"\"\n```\n\nTo whip your data set, e.g. ``my_data.csv``, pass the data to\nwhip specifications:\n\n\n```python\nfrom pywhip import whip_csv\n\nexample = whip_csv(\"my_data.csv\", specifications, delimiter=',')\n```\n\nand write the output report to an html file:\n\n```python\nwith open(\"report_example.html\", \"w\") as index_page:\n index_page.write(example.get_report('html'))\n```\n\nResulting in a [report](https://inbo.github.io/pywhip/report_observations.html) like this. For a more\ndetailed introduction, see [the documentaton tutorial](https://inbo.github.io/pywhip/tutorial.html).\n\n## Credits\n\nThis package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) \nand the [audreyr/cookiecutter-pypackage](https://github.com/audreyr/cookiecutter-pypackage) \nproject template.\n\nValidation of data rows is using the [Cerberus](http://docs.python-cerberus.org/en/stable/) \npackage.\n\n\n=======\nHistory\n=======\n\n0.3.2 (2018-08-27)\n------------------\n* Hot fix on CLI tests\n\n0.3.1 (2018-08-27)\n------------------\n* Add CLI support to pywhip for CSV files\n\n0.3.0 (2018-08-23)\n------------------\n* Update to new whip specifications\n* Support csv and Darwin Core Archive handling\n* Add html and json reporting\n* Provide updated sphinx documentation\n\n0.2.1 (2018-04-06)\n------------------\n* Update towards new cerberus version\n\n0.1.1 (2017-09-12)\n------------------\n\n* First release on PyPI.\n* Package structure with CI integration\n* tox testing on multiple Python versions\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/inbo/pywhip", "keywords": "pywhip,whip,Darwin_Core_Archive,data validation", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "pywhip", "package_url": "https://pypi.org/project/pywhip/", "platform": "", "project_url": "https://pypi.org/project/pywhip/", "project_urls": { "Homepage": "https://github.com/inbo/pywhip" }, "release_url": "https://pypi.org/project/pywhip/0.3.2/", "requires_dist": [ "Click (>=6.0)", "python-dwca-reader (==0.13.0)", "cerberus (==1.2)", "pyaml (==17.12.1)", "rfc3987 (==1.3.7)", "python-dateutil (==2.7.2)", "jinja2" ], "requires_python": "", "summary": "Python package to validate data against whip specifications", "version": "0.3.2" }, "last_serial": 5502328, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "787878fda7411e2caf6c76c6e93a14ae", "sha256": "de9560a8d5a3b958451eb136a8ea94f1fa2f1885cace817d7fa95d9a65294197" }, "downloads": -1, "filename": "pywhip-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "787878fda7411e2caf6c76c6e93a14ae", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11391, "upload_time": "2017-09-12T10:35:29", "url": "https://files.pythonhosted.org/packages/9b/1d/d6efba0b99cbd3a57770a279844ccdd1fff25edf7576c37f7f71ce07210a/pywhip-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f7fe71a8d16c6791b9c33d6b49f7baa6", "sha256": "986a39eba562c75625a4ef2872ec956fd56c3a8adf013a75dce6a60cb7ae5a0e" }, "downloads": -1, "filename": "pywhip-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f7fe71a8d16c6791b9c33d6b49f7baa6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23328, "upload_time": "2017-09-12T10:35:30", "url": "https://files.pythonhosted.org/packages/e3/31/6c1f26878d10cd6eb2047e4ad2e119c76493316cc29acbe5169beb214e3c/pywhip-0.1.1.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "313b1c675072a1df84df932cf700679d", "sha256": "6c1b727633852f59af69fc7a843126cf96facb58cbf550771d7b696d571c697c" }, "downloads": -1, "filename": "pywhip-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "313b1c675072a1df84df932cf700679d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11390, "upload_time": "2018-04-06T17:01:30", "url": "https://files.pythonhosted.org/packages/d6/73/5ff36d7a5004320bb86550e39e14486de62cde255a83fe99988cf4492fbd/pywhip-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ab03a915c29fb8ecbb2fd2770f8c29c1", "sha256": "e2d4be0500914f46b92570243d4551f00b15e58dc2e164f032609f21fed52b7c" }, "downloads": -1, "filename": "pywhip-0.2.1.tar.gz", "has_sig": false, "md5_digest": "ab03a915c29fb8ecbb2fd2770f8c29c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31575, "upload_time": "2018-04-06T17:01:31", "url": "https://files.pythonhosted.org/packages/e1/a8/b8bd7b232f4bc0f892730515658b43e900c73b521d99a8d2b6e82d05ce48/pywhip-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "dc39f0f2d2df9732e90eee6c04a07a67", "sha256": "88357ca5a39ca21fd373fa8823158220a251041c3caac7743253a89bee0c2d7f" }, "downloads": -1, "filename": "pywhip-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dc39f0f2d2df9732e90eee6c04a07a67", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17299, "upload_time": "2018-08-23T13:53:34", "url": "https://files.pythonhosted.org/packages/0d/08/60cab028c84a7cc4bfaccc54c718711d48040a400c4b63285b419387d38c/pywhip-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "accd0cafb136a3ffcf601a9ed4dede43", "sha256": "49b07269cc3cd278a7fd805b8cb27dacc2e90c469f3ab393f6073e4a5f66104b" }, "downloads": -1, "filename": "pywhip-0.3.0.tar.gz", "has_sig": false, "md5_digest": "accd0cafb136a3ffcf601a9ed4dede43", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24917695, "upload_time": "2018-08-23T13:53:52", "url": "https://files.pythonhosted.org/packages/b2/47/9d0823e3ab13793574178844327120b491a6c1ce1f0d1a29be176c9c9d67/pywhip-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "555934a721f38f58de3cee4c93756f06", "sha256": "25f39117b1e18c7b5885317c99b5a74381e54254f34818dda3bbec00bd0b49ad" }, "downloads": -1, "filename": "pywhip-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "555934a721f38f58de3cee4c93756f06", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17988, "upload_time": "2018-08-27T19:04:36", "url": "https://files.pythonhosted.org/packages/28/82/96bb5aa07a182ddf3e205cad943f1180f7f44aa4af40b04ea8155594001e/pywhip-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c215b5661946b7126c2923888c57a6c9", "sha256": "935f3f8ee8ec75f876cc32a8316a6eb9f440471f407f29a84bda2ed63742bde5" }, "downloads": -1, "filename": "pywhip-0.3.1.tar.gz", "has_sig": false, "md5_digest": "c215b5661946b7126c2923888c57a6c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 114792, "upload_time": "2018-08-27T19:04:39", "url": "https://files.pythonhosted.org/packages/4b/55/83882495b54955bce8f27ca79fec146530465f7f5045c2f0f8a35db019c6/pywhip-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "efbd91e253c30aeea5befb18c4e6b209", "sha256": "962db30b8437f62e981e20b7b6aba89b8d743d9ab5b6a70392fb594addf04c46" }, "downloads": -1, "filename": "pywhip-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "efbd91e253c30aeea5befb18c4e6b209", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18004, "upload_time": "2018-08-27T19:24:11", "url": "https://files.pythonhosted.org/packages/b9/b0/bf9c5c00d7b65db99e63938cb548957a43629ee887df904a0c4db05de5b2/pywhip-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6cd2cd08367b92731d0c2d9028130dbc", "sha256": "6f8d336ff07beeb84b91e54ea66d2dc881feee838c39303fee60960367f71f55" }, "downloads": -1, "filename": "pywhip-0.3.2.tar.gz", "has_sig": false, "md5_digest": "6cd2cd08367b92731d0c2d9028130dbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 114755, "upload_time": "2018-08-27T19:24:13", "url": "https://files.pythonhosted.org/packages/f5/92/3cfa093471e4b38845163b1caf470e391f50d57bd9b50597546e16a6b4e4/pywhip-0.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "efbd91e253c30aeea5befb18c4e6b209", "sha256": "962db30b8437f62e981e20b7b6aba89b8d743d9ab5b6a70392fb594addf04c46" }, "downloads": -1, "filename": "pywhip-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "efbd91e253c30aeea5befb18c4e6b209", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18004, "upload_time": "2018-08-27T19:24:11", "url": "https://files.pythonhosted.org/packages/b9/b0/bf9c5c00d7b65db99e63938cb548957a43629ee887df904a0c4db05de5b2/pywhip-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6cd2cd08367b92731d0c2d9028130dbc", "sha256": "6f8d336ff07beeb84b91e54ea66d2dc881feee838c39303fee60960367f71f55" }, "downloads": -1, "filename": "pywhip-0.3.2.tar.gz", "has_sig": false, "md5_digest": "6cd2cd08367b92731d0c2d9028130dbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 114755, "upload_time": "2018-08-27T19:24:13", "url": "https://files.pythonhosted.org/packages/f5/92/3cfa093471e4b38845163b1caf470e391f50d57bd9b50597546e16a6b4e4/pywhip-0.3.2.tar.gz" } ] }