{ "info": { "author": "macheins", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Hypothesis", "Intended Audience :: Developers", "License :: OSI Approved", "License :: OSI Approved :: MirOS License (MirOS)", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Testing" ], "description": "# hypothesis-json\n\nThis Python package provides a [Hypothesis](https://pypi.org/project/hypothesis/) strategy to generate Python objects compliant to the [JavaScript Object Notation (JSON) Data Interchange Format](https://tools.ietf.org/html/rfc8259) to uncover unhandled edge cases in your code.\n\n## Example\n\n```python\n>>> from pprint import pprint\n>>> from hypothesis_json.strategies import jsons\n>>> pprint(jsons().example())\n{'': '34.0',\n '-34.0': {'-27566.0': inf,\n '3.402823466e+38': ['11537'],\n '9007199254740992.0': 17857.0,\n 'Infinity': '4794727320289625.0',\n 'true': False},\n '\\x14\\U000db833': '-14719'}\n```\n\n## Installation\n\nThe package is published to the [Python Package Index (PyPI)](https://pypi.org/project/hypothesis-json/) and may be installed using your favorite installer, e.g.:\n```sh\npip install hypothesis-json\n```\n\n## Remarks\n\n- Generated numbers are guaranteed to be processable as [double-precision floating-point numbers](https://en.wikipedia.org/wiki/Double-precision_floating-point_format)\n- The non-standard constants supported by [Python's json module](https://docs.python.org/3/library/json.html) are also generated by default, but may be omitted\n\n## Status & Versioning\n\nAlthough this is a very young project, it was developed with a strong focus on quality and should be suitable for use in production environments. Versioning of releases will strictly follow the [Semantic Versioning Specification (SemVer)](https://semver.org).\n\n## Licensing\n\nThis project may be licensed under the terms of the [OSI](https://opensource.org/licenses/alphabetical) approved [MirOS License](https://www.mirbsd.org/MirOS-Licence.htm).\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/macheins/hypothesis-json", "keywords": "", "license": "", "maintainer": "macheins", "maintainer_email": "", "name": "hypothesis-json", "package_url": "https://pypi.org/project/hypothesis-json/", "platform": "", "project_url": "https://pypi.org/project/hypothesis-json/", "project_urls": { "Homepage": "https://github.com/macheins/hypothesis-json", "Repository": "https://github.com/macheins/hypothesis-json" }, "release_url": "https://pypi.org/project/hypothesis-json/2.0.1/", "requires_dist": [ "hypothesis (>=4.0.2,<5.0.0)" ], "requires_python": ">=3.5,<4.0", "summary": "Hypothesis strategy to generate JSON", "version": "2.0.1" }, "last_serial": 4727460, "releases": { "1.2.1": [ { "comment_text": "", "digests": { "md5": "30cf8588a6f59ee2089970ded8ebdabc", "sha256": "4b570bb344b8ee7cc3f997172d624132205114bbdde522e0e426fec9a609d656" }, "downloads": -1, "filename": "hypothesis_json-1.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "30cf8588a6f59ee2089970ded8ebdabc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5,<4.0", "size": 11611, "upload_time": "2018-09-07T09:29:29", "url": "https://files.pythonhosted.org/packages/e8/95/9bd8f982ca65a068a25e85bf5c6cc8e3a5519a1e38b3fac463c9abac95c0/hypothesis_json-1.2.1-py3-none-any.whl" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "33cb35adace9c04e15e3145c78626bc7", "sha256": "0b0fb95c9138dd3b7f758aad31f2bf7570ca3067d91617d009373b70ae40d35a" }, "downloads": -1, "filename": "hypothesis_json-1.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "33cb35adace9c04e15e3145c78626bc7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5,<4.0", "size": 11644, "upload_time": "2018-12-11T20:28:42", "url": "https://files.pythonhosted.org/packages/e2/88/9d07e19f5de7efcc108f5128dccc301fe4bf2236b71b17fa7e6306d987a1/hypothesis_json-1.2.2-py3-none-any.whl" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "c0888fc8c771cf6dc3084bb683869a9a", "sha256": "d39fc6387949511501813d0ffae615649a9b57eeceefe9b9f52c000fa6276a88" }, "downloads": -1, "filename": "hypothesis_json-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c0888fc8c771cf6dc3084bb683869a9a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5,<4.0", "size": 11645, "upload_time": "2019-01-21T07:45:36", "url": "https://files.pythonhosted.org/packages/02/0b/9af3dfd2b9e66ad313ed5891a3be4ee66aefccecb05833e83ab0994f659c/hypothesis_json-2.0.0-py3-none-any.whl" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "827caf8bcc7781ba634f6fbd736047c0", "sha256": "2b37adc7a62e482e18487561c8683ac03f589ae214881a24e561ef978b2e039c" }, "downloads": -1, "filename": "hypothesis_json-2.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "827caf8bcc7781ba634f6fbd736047c0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5,<4.0", "size": 11751, "upload_time": "2019-01-22T18:50:54", "url": "https://files.pythonhosted.org/packages/b1/1d/41f1cb4f12230402ea3b5008829fd92a2895ef7f6d5716c2eea0f3d6b45d/hypothesis_json-2.0.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "827caf8bcc7781ba634f6fbd736047c0", "sha256": "2b37adc7a62e482e18487561c8683ac03f589ae214881a24e561ef978b2e039c" }, "downloads": -1, "filename": "hypothesis_json-2.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "827caf8bcc7781ba634f6fbd736047c0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5,<4.0", "size": 11751, "upload_time": "2019-01-22T18:50:54", "url": "https://files.pythonhosted.org/packages/b1/1d/41f1cb4f12230402ea3b5008829fd92a2895ef7f6d5716c2eea0f3d6b45d/hypothesis_json-2.0.1-py3-none-any.whl" } ] }