Metadata-Version: 2.1
Name: pubmed-bibtex
Version: 1.0.0
Summary: Generate BibTeX Entries for PubMed Publications
Home-page: https://github.com/fphammerle/pubmed-bibtex
Author: Fabian Peter Hammerle
Author-email: fabian@hammerle.me
License: GPLv3+
Keywords: article,bibtex,citation,journal,latex,publication,pubmed,reference,research,tex,texmed
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Healthcare Industry
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Classifier: Topic :: Utilities
Requires-Python: >=3.7

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

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
.. image:: https://github.com/fphammerle/pubmed-bibtex/workflows/tests/badge.svg
    :target: https://github.com/fphammerle/pubmed-bibtex/actions
.. 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


