No Description

Fabian Peter Hammerle 2d45955df1 added changelog 3 weeks ago
pubmed_bibtex 06fb10c286 added GPLv3+ license 3 weeks ago
tests 9fb7ed29fb update tags of test entry 4 months ago
.gitignore b5c5646230 added setup.py & pipenv for development 6 months ago
.pylintrc 83b7919568 configure travis-ci: pipenv sync, pylint, pytest & report coverage to coveralls 6 months ago
.travis.yml 83b7919568 configure travis-ci: pipenv sync, pylint, pytest & report coverage to coveralls 6 months ago
CHANGELOG.md 2d45955df1 added changelog 3 weeks ago
COPYING 06fb10c286 added GPLv3+ license 3 weeks ago
MANIFEST.in 06fb10c286 added GPLv3+ license 3 weeks ago
Pipfile b5c5646230 added setup.py & pipenv for development 6 months ago
Pipfile.lock b5c5646230 added setup.py & pipenv for development 6 months ago
README.rst a905b4f2a2 readme: added badges 6 months ago
setup.py 06fb10c286 added GPLv3+ license 3 weeks ago

README.rst

pubmed-bibtex
=============

.. image:: https://travis-ci.org/fphammerle/pubmed-bibtex.svg?branch=master
:target: https://travis-ci.org/fphammerle/pubmed-bibtex
.. image:: https://coveralls.io/repos/github/fphammerle/pubmed-bibtex/badge.svg?branch=master
:target: https://coveralls.io/github/fphammerle/pubmed-bibtex?branch=master
.. image:: https://img.shields.io/pypi/v/pubmed-bibtex.svg
:target: https://pypi.org/project/pubmed-bibtex/#history
.. image:: https://img.shields.io/pypi/pyversions/pubmed-bibtex.svg
:target: https://pypi.org/project/pubmed-bibtex/

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

.. code:: sh

pip3 install --user pubmed-bibtex

Usage
-----

.. code:: sh

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

or

.. code:: python

from pubmed_bibtex import bibtex_entry_from_pmid
print(bibtex_entry_from_pmid(123456789))

Tests
-----

.. code:: sh

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