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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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