Skip to main content

Pubmed / NCBI / eutils interaction library, handling the metadata of pubmed papers.

Project description

Metapub is a Python library that provides python objects fetched via eutils that represent papers and concepts found within the NLM.

PubMedArticle / PubMedFetcher

Basic usage:

fetch = PubMedFetcher()
article = fetch.article_by_pmid('123456')
print article.title
print article.journal, article.year, article.volume, article.issue
print article.authors

MedGenConcept / MedGenFetcher

Basic usage:

fetch = MedGenFetcher()
concept = fetch.concept_by_uid('336867')
print concept.name
print concept.description
print concept.associated_genes
print concept.modes_of_inheritance

These objects abstract some interactions with pubmed, and intends to encompass as many types of database lookups and summaries as can be provided via Eutils / Entrez.

Metapub relies on the very neat eutils package created by Reece Hart, which you can check out here:

http://bitbucket.org/uta/eutils

This library is in its very early stages and there’s a lot that may change, and quite a bit planned for implementation in 2014-2015.

Feel free to use the library with confidence that each released version is well tested – and in a couple of cases, some of its code is already in production – but until (say) version 0.5, don’t expect consistency between versions.

YMMV, At your own risk, etc.

–Naomi Most (@nthmost)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metapub-0.1.0.tar.gz (17.2 kB view details)

Uploaded Source

File details

Details for the file metapub-0.1.0.tar.gz.

File metadata

  • Download URL: metapub-0.1.0.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for metapub-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d69f7cd632a5c349746f3e71cab429b65f4a7914f62a4db9bb729ea739e6d64f
MD5 7432ee9d1627d78e1787550427d38d52
BLAKE2b-256 c9a1b41ffc09abeef1045c6df5976465faf76c4ddaca1310dd0f86e8134066b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page