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.1.tar.gz (17.2 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for metapub-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b4aba2d6a8f3b075b54e2aa4f7043ac4991fa49da66e0924f9e2e51279ce0724
MD5 97584dbfedc7c69142d2abfe77af1be3
BLAKE2b-256 4c8810149dced528a15619e1206e0cc1448385046adabbc505870914d23be419

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