README.rst 822 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. pubmed-bibtex
  2. =============
  3. Python Script & Module to Generate BibTeX Entries for PubMed
  4. Publications
  5. Utilizes the API of TeXMed, a BibTeX interface for PubMed.
  6. TeXMed was written by Arne Muller https://www.bioinformatics.org/texmed/
  7. Install
  8. -------
  9. .. code:: sh
  10. pip3 install --user pubmed-bibtex
  11. Usage
  12. -----
  13. .. code:: sh
  14. $ pubmed-bibtex 31025164
  15. @Article{pmid31025164,
  16. Author="...",
  17. Title="...",
  18. Journal="...",
  19. ...
  20. }
  21. or
  22. .. code:: python
  23. from pubmed_bibtex import bibtex_entry_from_pmid
  24. print(bibtex_entry_from_pmid(123456789))
  25. Tests
  26. -----
  27. .. code:: sh
  28. pip3 install --user pipenv
  29. git clone https://github.com/fphammerle/pubmed-bibtex.git
  30. cd pubmed-bibtex
  31. pipenv run pylint freesurfer_surface
  32. pipenv run pytest --cov=freesurfer_surface