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_id('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.0.5.4.tar.gz (7.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for metapub-0.0.5.4.tar.gz
Algorithm Hash digest
SHA256 e4f1d82c5236f74b6c0890c12570f76bbc0e54d61a0137583d0ac8df3f3b9efc
MD5 a9626f9bcd5f9002c1968051f4a875d8
BLAKE2b-256 75ed6f880c49eb0e56ecc69497fcc4cc12e52ac9a4ce96f58971a830751791df

See more details on using hashes here.

Supported by

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