Skip to main content

Generate BibTeX Entries for PubMed Publications

Project description

https://img.shields.io/badge/code%20style-black-000000.svg https://github.com/fphammerle/pubmed-bibtex/workflows/tests/badge.svg https://coveralls.io/repos/github/fphammerle/pubmed-bibtex/badge.svg?branch=master https://img.shields.io/pypi/v/pubmed-bibtex.svg https://img.shields.io/pypi/pyversions/pubmed-bibtex.svg

Python Script & Module to Generate BibTeX Entries for PubMed Publications

Utilizes the API of TeXMed, a BibTeX interface for PubMed.

TeXMed was written by Arne Muller https://www.bioinformatics.org/texmed/

Install

pip3 install --user pubmed-bibtex

Usage

$ pubmed-bibtex 31025164
@Article{pmid31025164,
   Author="...",
   Title="...",
   Journal="...",
   ...
}

or

from pubmed_bibtex import bibtex_entry_from_pmid
print(bibtex_entry_from_pmid(123456789))

Tests

pip3 install --user pipenv
git clone https://github.com/fphammerle/pubmed-bibtex.git
cd pubmed-bibtex
pipenv run pylint freesurfer_surface
pipenv run pytest --cov=freesurfer_surface

Project details


Download files

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

Source Distribution

pubmed-bibtex-1.0.0.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

pubmed_bibtex-1.0.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file pubmed-bibtex-1.0.0.tar.gz.

File metadata

  • Download URL: pubmed-bibtex-1.0.0.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.5

File hashes

Hashes for pubmed-bibtex-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0cc4d45a444ab17f1913b052e367fce0b09e4da3e19d9f9e63065c2b8623238f
MD5 d34093c10821cc984b23f8ea23267b0f
BLAKE2b-256 b33f3fd3821e5b77a21ea751a935c0bd69aa6afe8de2661b47bbd51b11773130

See more details on using hashes here.

File details

Details for the file pubmed_bibtex-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pubmed_bibtex-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.5

File hashes

Hashes for pubmed_bibtex-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06c499c4ad0cc093cb74e819424dd6387470cddca507aa342eeefd0154ef68cb
MD5 cd5ff1095876d923a9ba09e738f03d08
BLAKE2b-256 436ba16f7b3dfa601f82abe7929c517e06b1dda1fe6064f21d1f63a6f901e034

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