Skip to main content
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

Release files for pubmed-bibtex 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pubmed-bibtex 1.0.0
File Size Uploaded
pubmed-bibtex-1.0.0.tar.gz 30.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pubmed-bibtex 1.0.0
File Interpreter ABI Platform
pubmed_bibtex-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 47.7 kB

Release files / pubmed-bibtex-1.0.0.tar.gz

Download URL pubmed-bibtex-1.0.0.tar.gz
Size 30.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0cc4d45a444ab17f1913b052e367fce0b09e4da3e19d9f9e63065c2b8623238f
BLAKE2b-256 checksum
How to use checksums
b33f3fd3821e5b77a21ea751a935c0bd69aa6afe8de2661b47bbd51b11773130
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pubmed_bibtex-1.0.0-py3-none-any.whl

Download URL pubmed_bibtex-1.0.0-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06c499c4ad0cc093cb74e819424dd6387470cddca507aa342eeefd0154ef68cb
BLAKE2b-256 checksum
How to use checksums
436ba16f7b3dfa601f82abe7929c517e06b1dda1fe6064f21d1f63a6f901e034
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page