# PyMed - PubMed Access through Python
PyMed is a Python library that provides access to PubMed through the PubMed API.
## Why this library?
The PubMed API is not very well documented and querying it in a performant way is too complicated and time consuming for researchers. This wrapper provides access to the API in a consistent, readable and performant way.
## Features
This library takes care of the following for you:
- Querying the PubMed database (with the standard PubMed query language)
- Batching of requests for better performance
- Parsing and cleaning of the retrieved articles
## Examples
For full (working) examples have a look at the `examples/` folder in this repository. In essence you only need to import the `PubMed` class, instantiate it, and use it to query:
```python
from pymed import PubMed
pubmed = PubMed(tool="MyTool", email="my@email.address")
results = pubmed.query("Some query", max_results=500)
```
## Notes on the API
The original documentation of the PubMed API can be found here: [PubMed Central](https://www.ncbi.nlm.nih.gov/pmc/tools/developers/). PubMed Central kindly requests you to:
> - Do not make concurrent requests, even at off-peak times; and
> - Include two parameters that help to identify your service or application to our servers
> * _tool_ should be the name of the application, as a string value with no internal spaces, and
> * _email_ should be the e-mail address of the maintainer of the tool, and should be a valid e-mail address.
## Notice of Non-Affiliation and Disclaimer
The author of this library is not affiliated, associated, authorized, endorsed by, or in any way officially connected with PubMed, or any of its subsidiaries or its affiliates. The official PubMed website can be found at https://www.ncbi.nlm.nih.gov/pubmed/.
Raw data
{
"_id": null,
"home_page": "https://github.com/gijswobben/pymed",
"name": "pymed",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "PubMed PMC",
"author": "Gijs Wobben",
"author_email": "gijswobben@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/24/ba/936db5a8a4d015f0c61106a11f01d85c73b580320b26b76be6af690899c6/pymed-0.8.9.tar.gz",
"platform": "",
"description": "# PyMed - PubMed Access through Python\nPyMed is a Python library that provides access to PubMed through the PubMed API.\n\n## Why this library?\nThe PubMed API is not very well documented and querying it in a performant way is too complicated and time consuming for researchers. This wrapper provides access to the API in a consistent, readable and performant way.\n\n## Features\nThis library takes care of the following for you:\n\n- Querying the PubMed database (with the standard PubMed query language)\n- Batching of requests for better performance\n- Parsing and cleaning of the retrieved articles\n\n## Examples\nFor full (working) examples have a look at the `examples/` folder in this repository. In essence you only need to import the `PubMed` class, instantiate it, and use it to query:\n\n```python\nfrom pymed import PubMed\npubmed = PubMed(tool=\"MyTool\", email=\"my@email.address\")\nresults = pubmed.query(\"Some query\", max_results=500)\n```\n\n## Notes on the API\nThe original documentation of the PubMed API can be found here: [PubMed Central](https://www.ncbi.nlm.nih.gov/pmc/tools/developers/). PubMed Central kindly requests you to:\n\n> - Do not make concurrent requests, even at off-peak times; and\n> - Include two parameters that help to identify your service or application to our servers\n> * _tool_ should be the name of the application, as a string value with no internal spaces, and\n> * _email_ should be the e-mail address of the maintainer of the tool, and should be a valid e-mail address.\n\n## Notice of Non-Affiliation and Disclaimer \nThe author of this library is not affiliated, associated, authorized, endorsed by, or in any way officially connected with PubMed, or any of its subsidiaries or its affiliates. The official PubMed website can be found at https://www.ncbi.nlm.nih.gov/pubmed/.\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python library for access to PubMed",
"version": "0.8.9",
"project_urls": {
"Homepage": "https://github.com/gijswobben/pymed"
},
"split_keywords": [
"pubmed",
"pmc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "56c30a260bd7b8e2d021097954accefb749f13e8fbd6b673293d33eac0905174",
"md5": "0b4f3391c01d32fb3406f55dc3a03cd2",
"sha256": "bdd65ebd6448cc05d6d6134d53b38f8f0b77c0734fc40c33976656799168ae03"
},
"downloads": -1,
"filename": "pymed-0.8.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0b4f3391c01d32fb3406f55dc3a03cd2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9585,
"upload_time": "2019-07-31T13:25:48",
"upload_time_iso_8601": "2019-07-31T13:25:48.685241Z",
"url": "https://files.pythonhosted.org/packages/56/c3/0a260bd7b8e2d021097954accefb749f13e8fbd6b673293d33eac0905174/pymed-0.8.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "24ba936db5a8a4d015f0c61106a11f01d85c73b580320b26b76be6af690899c6",
"md5": "1348357a88be9797a4b962f6c8c23ece",
"sha256": "3523b9655c39d2caef1c25582f29d0687ea269728d1b90b5e28e9c6b2dbff538"
},
"downloads": -1,
"filename": "pymed-0.8.9.tar.gz",
"has_sig": false,
"md5_digest": "1348357a88be9797a4b962f6c8c23ece",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 258210,
"upload_time": "2019-07-31T13:25:50",
"upload_time_iso_8601": "2019-07-31T13:25:50.297976Z",
"url": "https://files.pythonhosted.org/packages/24/ba/936db5a8a4d015f0c61106a11f01d85c73b580320b26b76be6af690899c6/pymed-0.8.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2019-07-31 13:25:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gijswobben",
"github_project": "pymed",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "pymed"
}