{ "info": { "author": "Aaron Bach", "author_email": "bachya1208@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\n# \ud83c\udf3b pyiqvia: A clean, async-focused Python3 API for IQVIA\u2122\n\n[![Travis CI](https://travis-ci.org/bachya/pyiqvia.svg?branch=master)](https://travis-ci.org/bachya/pyiqvia)\n[![PyPi](https://img.shields.io/pypi/v/pyiqvia.svg)](https://pypi.python.org/pypi/pyiqvia)\n[![Version](https://img.shields.io/pypi/pyversions/pyiqvia.svg)](https://pypi.python.org/pypi/pyiqvia)\n[![License](https://img.shields.io/pypi/l/pyiqvia.svg)](https://github.com/bachya/pyiqvia/blob/master/LICENSE)\n[![Code Coverage](https://codecov.io/gh/bachya/pyiqvia/branch/dev/graph/badge.svg)](https://codecov.io/gh/bachya/pyiqvia)\n[![Maintainability](https://api.codeclimate.com/v1/badges/3bf37f9cabf73b5d991e/maintainability)](https://codeclimate.com/github/bachya/pyiqvia/maintainability)\n[![Say Thanks](https://img.shields.io/badge/SayThanks-!-1EAEDB.svg)](https://saythanks.io/to/bachya)\n\n`pyiqvia` is an async-focused Python3 library for allergen, asthma, and disease\ndata from the [IQVIA\u2122](https://www.iqvia.com) family of websites (such as \nhttps://pollen.com, https://flustar.com, and more).\n\n# Python Versions\n\n`pyiqvia` is currently supported on:\n\n* Python 3.6\n* Python 3.7\n\n# Installation\n\n```python\npip install pyiqvia\n```\n\n# Usage\n\n`pyiqvia` starts within an\n[aiohttp](https://aiohttp.readthedocs.io/en/stable/) `ClientSession`:\n\n```python\nimport asyncio\n\nfrom aiohttp import ClientSession\n\nfrom pyiqvia import Client\n\n\nasync def main() -> None:\n \"\"\"Create the aiohttp session and run the example.\"\"\"\n async with ClientSession() as websession:\n # YOUR CODE HERE\n\n\nasyncio.get_event_loop().run_until_complete(main())\n```\n\nCreate a client and get to it:\n\n```python\nimport asyncio\n\nfrom aiohttp import ClientSession\n\nfrom pyiqvia import Client\n\n\nasync def main() -> None:\n \"\"\"Create the aiohttp session and run the example.\"\"\"\n async with ClientSession() as websession:\n client = Client(80012, websession)\n\n # ZIP codes starting with 0 need to be provided as strings:\n client = Client('00544', websession)\n\n # Get current allergen information:\n await client.allergens.current()\n\n # Get more information on the current allergen outlook:\n await client.allergens.outlook()\n\n # Get extended forecast allergen information:\n await client.allergens.extended()\n\n # Get historic allergen information:\n await client.allergens.historic()\n\n # Get current asthma information:\n await client.asthma.current()\n\n # Get extended forecast asthma information:\n await client.asthma.extended()\n\n # Get historic asthma information:\n await client.asthma.historic()\n\n # Get current cold and flu information:\n await client.disease.current()\n\n # Get extended forecast cold and flu information:\n await client.disease.extended()\n\n # Get historic cold and flu information:\n await client.disease.historic()\n\n\nasyncio.get_event_loop().run_until_complete(main())\n```\n\n# Contributing\n\n1. [Check for open features/bugs](https://github.com/bachya/pyiqvia/issues)\n or [initiate a discussion on one](https://github.com/bachya/pyiqvia/issues/new).\n2. [Fork the repository](https://github.com/bachya/pyiqvia/fork).\n3. Install the dev environment: `make init`.\n4. Enter the virtual environment: `pipenv shell`\n5. Code your new feature or bug fix.\n6. Write a test that covers your new functionality.\n7. Run tests and ensure 100% code coverage: `make coverage`\n8. Add yourself to `AUTHORS.md`.\n9. Submit a pull request!\n\n\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/bachya/pyiqvia", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyiqvia", "package_url": "https://pypi.org/project/pyiqvia/", "platform": "", "project_url": "https://pypi.org/project/pyiqvia/", "project_urls": { "Homepage": "https://github.com/bachya/pyiqvia" }, "release_url": "https://pypi.org/project/pyiqvia/0.2.2/", "requires_dist": [ "aiohttp" ], "requires_python": ">=3.6.0", "summary": "A clean, async-focused Python3 API for IQVIA data", "version": "0.2.2" }, "last_serial": 5881404, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "7b699b56052cfa984ea9aa2565d0538f", "sha256": "8b6280e9c37b85c4fddf45671400ba9d028e5b77d1fcd84b1a0f0e2184111d7f" }, "downloads": -1, "filename": "pyiqvia-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7b699b56052cfa984ea9aa2565d0538f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 10129, "upload_time": "2019-04-07T17:24:54", "url": "https://files.pythonhosted.org/packages/4d/20/14cf8e0d2cf776edd1294f25655b54ae875bc366dbc0240deb3e007d0900/pyiqvia-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "430eb560f76690628e4286b5a0dc9785", "sha256": "52beddc2b3d72de41d5dc6cca8d0b34f8054d39238bee48c129eed4c55ca2b53" }, "downloads": -1, "filename": "pyiqvia-0.1.0.tar.gz", "has_sig": false, "md5_digest": "430eb560f76690628e4286b5a0dc9785", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 7064, "upload_time": "2019-04-07T17:24:56", "url": "https://files.pythonhosted.org/packages/dd/67/5ac6ec6560eaf097cb757b7396cd970fbd35306e26dd09bc86f78a29445d/pyiqvia-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "f7345c2314cc1f6e95d33b1125eb235d", "sha256": "87cf7c23fe94812efdd819cbba03d08efa34c79b2d7d90b2abae2fd8c27c6da1" }, "downloads": -1, "filename": "pyiqvia-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f7345c2314cc1f6e95d33b1125eb235d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 10765, "upload_time": "2019-04-08T00:50:49", "url": "https://files.pythonhosted.org/packages/c4/c4/a64de5a28b7f85b2219f2d9eaa6527afb47e43c4249099aa61627b8071bc/pyiqvia-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "067385f40ebc6c9d040706a7a3b58cf2", "sha256": "9085c4f227a6aea49ea484279c8f53b71b4a0615a37210539232132629edfb14" }, "downloads": -1, "filename": "pyiqvia-0.2.0.tar.gz", "has_sig": false, "md5_digest": "067385f40ebc6c9d040706a7a3b58cf2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 7635, "upload_time": "2019-04-08T00:50:50", "url": "https://files.pythonhosted.org/packages/ef/07/4cb14590b1eba0792e79b3f9c2b289628c3715aa3772eb99857abc0a71e5/pyiqvia-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "53e16b141f4e313f6cf49845003388c6", "sha256": "f942897cb7eeafcf63692ee5701735293f8c96634d4fa7f92ea6ad7d5b2e8cd3" }, "downloads": -1, "filename": "pyiqvia-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "53e16b141f4e313f6cf49845003388c6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5.3", "size": 10220, "upload_time": "2019-05-16T17:05:34", "url": "https://files.pythonhosted.org/packages/1e/34/763f108d6d2b5b975aabecc72e3821731247ebbdde6cbcce18b69da8e7b0/pyiqvia-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a646b2f2481bf38273af94293a124082", "sha256": "195dc2c4c2e2af9d287c11e09a884bd64a81e80ceee7bde227e7e1fb22f78eb1" }, "downloads": -1, "filename": "pyiqvia-0.2.1.tar.gz", "has_sig": false, "md5_digest": "a646b2f2481bf38273af94293a124082", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5.3", "size": 7482, "upload_time": "2019-05-16T17:05:36", "url": "https://files.pythonhosted.org/packages/6d/06/101f274769d329b12979f97787a9360827ac7f0c6214df28e3920c3ebcea/pyiqvia-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "600255e06b277134dc0f06f98115b476", "sha256": "5476c0fe23ed212c66e46a278ebf6b19ab1d76ed13dd70639f1181df1acce1ff" }, "downloads": -1, "filename": "pyiqvia-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "600255e06b277134dc0f06f98115b476", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 10130, "upload_time": "2019-09-24T19:07:56", "url": "https://files.pythonhosted.org/packages/f6/67/ffbcae314f28c14d2ef1c4b70dad2a0f9e048926c04146e2c73ff78601a1/pyiqvia-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "039143ed0e7bef0895a722dd237abbda", "sha256": "732b1a7ab0d84c160688c555c2e74a9537dfaf63c3a408f26007cb9787de6676" }, "downloads": -1, "filename": "pyiqvia-0.2.2.tar.gz", "has_sig": false, "md5_digest": "039143ed0e7bef0895a722dd237abbda", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 7398, "upload_time": "2019-09-24T19:07:58", "url": "https://files.pythonhosted.org/packages/7c/b7/45d1d928320f015dfb2da552b145bc31ac2cbeabb02bea7c4c9c80b697b4/pyiqvia-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "600255e06b277134dc0f06f98115b476", "sha256": "5476c0fe23ed212c66e46a278ebf6b19ab1d76ed13dd70639f1181df1acce1ff" }, "downloads": -1, "filename": "pyiqvia-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "600255e06b277134dc0f06f98115b476", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 10130, "upload_time": "2019-09-24T19:07:56", "url": "https://files.pythonhosted.org/packages/f6/67/ffbcae314f28c14d2ef1c4b70dad2a0f9e048926c04146e2c73ff78601a1/pyiqvia-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "039143ed0e7bef0895a722dd237abbda", "sha256": "732b1a7ab0d84c160688c555c2e74a9537dfaf63c3a408f26007cb9787de6676" }, "downloads": -1, "filename": "pyiqvia-0.2.2.tar.gz", "has_sig": false, "md5_digest": "039143ed0e7bef0895a722dd237abbda", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 7398, "upload_time": "2019-09-24T19:07:58", "url": "https://files.pythonhosted.org/packages/7c/b7/45d1d928320f015dfb2da552b145bc31ac2cbeabb02bea7c4c9c80b697b4/pyiqvia-0.2.2.tar.gz" } ] }