Skip to main content
https://img.shields.io/pypi/v/pymed-iplweb.svg https://github.com/mpasternak/pymed-iplweb/actions/workflows/tests.yml/badge.svg?branch=develop https://img.shields.io/pypi/pyversions/pymed-iplweb.svg https://img.shields.io/badge/license-MIT-green.svg

PyMed is a Python library that provides access to PubMed through the PubMed API. This is a fork, maintained by https://IPLweb.pl

Supported versions

Python

Django (optional)

3.10

4.2 LTS, 5.0, 5.1, 5.2 LTS

3.11

4.2 LTS, 5.0, 5.1, 5.2 LTS

3.12

4.2 LTS, 5.0, 5.1, 5.2 LTS

3.13

5.1, 5.2 LTS

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:

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. 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/.

License

This project is licensed under the MIT License - see the LICENCE file for details.

Release files for pymed-iplweb 0.8.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymed-iplweb 0.8.11
File Size Uploaded
pymed_iplweb-0.8.11.tar.gz 11.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pymed-iplweb 0.8.11
File Interpreter ABI Platform
pymed_iplweb-0.8.11-py3-none-any.whl Python 3 none any Details

Total release size: 24.4 kB

Release files / pymed_iplweb-0.8.11.tar.gz

Download URL pymed_iplweb-0.8.11.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ec24b07388fdec59fcb8ccfb926e5254f27ef06b039b017c80162bccb158854a
BLAKE2b-256 checksum
How to use checksums
44855600c04401f34e2c6b13f243f41db6aa52342040ffc941908b1c3b9ab210
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.2

Release files / pymed_iplweb-0.8.11-py3-none-any.whl

Download URL pymed_iplweb-0.8.11-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c647d153070273b513978357e321652152d2811711b3aca6586ab1a97e76e597
BLAKE2b-256 checksum
How to use checksums
53f161ec3bea1ea874b2c61940e69035b503e6ed13fc139e8fa68ff19a14ff8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.2

Release history Release notifications | RSS feed

This release

0.8.11 This release

2 release files

0.8.10

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page