Skip to main content

Generate citations for PubMed articles

Project description

Generate citations for PubMed articles

Installation

python3 -m pip install pubmed-citations

Usage

Use in Python

from pubmed_citations.core import PubmedCitations

pmids = [12345678, 87654321]
citations = PubmedCitations(*pmids)

# get data
print(citations.data)
print(citations.orig_data)

# save to file
citations.to_docx("output.docx")
citations.to_excel("output.xlsx")
citations.to_json("output.json")
citations.to_jsonlines("output.jl")
citations.to_csv("output.csv")
citations.to_csv("output.tsv", sep="\t")

Use in CMD

pubmed_citations --help

pubmed_citations 1 2 3
pubmed_citations pmid.list

pubmed_citations 1 2 3 -f apa -o output.xlsx
pubmed_citations 1 2 3 -f apa -o output.docx
pubmed_citations 1 2 3 -f apa -o output.csv
pubmed_citations 1 2 3 -f apa -o output.json
pubmed_citations 1 2 3 -f apa -o output.jl
pubmed_citations 1 2 3 -f apa -o output.tsv

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_citations-1.0.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pubmed_citations-1.0.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file pubmed_citations-1.0.0.tar.gz.

File metadata

  • Download URL: pubmed_citations-1.0.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.8

File hashes

Hashes for pubmed_citations-1.0.0.tar.gz
Algorithm Hash digest
SHA256 855890f488c09f10355ea942ed2d2c84ccd001b4b26af72be7154e97be463299
MD5 48226800f75a582c52dd878397defbc8
BLAKE2b-256 85e29d37a9a8a90522218c15803dca1a82d11f486279198ab38166dc6fd72659

See more details on using hashes here.

File details

Details for the file pubmed_citations-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pubmed_citations-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a98f445a4c0ec6e0f8a113abf27f0ef1a8801b89a8a7b6da58b2e6a4aa2f02e1
MD5 47c1093ce32c7abbd3594a44d6e2374b
BLAKE2b-256 dc5609092e0d6a96ac6e4147f263d27ee03d5ee806bbf4e21785d81d094f4d4d

See more details on using hashes here.

Supported by

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