Skip to main content

Get cited by information from Pubmed

Project description

Get cited by information from Pubmed.

Installation

python3 -m pip install pubmed-cited-by

Usage

set API_KEY in environment variable [recommend]

see more: https://account.ncbi.nlm.nih.gov/settings/#api-key

echo NCBI_API_KEY=<your_api_key> >> ~/.bashrc

Use in Python

from pubmed_cited_by.core import PubmedCitedBy

pcb = PubmedCitedBy()

result = pcb.get_cited_by_data(1)
print(result)

pmids = [1, 2, 3]
data = pcb.get_cited_by(pmids)
for item in data:
    print(item)

Use in CMD

pubmed_cited_by --help

pubmed_cited_by  1 2 3
pubmed_cited_by  pmid.list

pubmed_cited_by  1 2 3 -o output.xlsx
pubmed_cited_by  1 2 3 -o output.csv
pubmed_cited_by  1 2 3 -o output.tsv
pubmed_cited_by  1 2 3 -o output.json
pubmed_cited_by  1 2 3 -o output.jl

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

Uploaded Source

Built Distribution

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

pubmed_cited_by-1.0.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pubmed_cited_by-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7b3e8ac3ef23ad8fd70f7f086bd870868954fc6fe5ecdda0d6f695ec218b9b37
MD5 dc91d15302778ba0f97d2a2402ee42f1
BLAKE2b-256 5a0c72e20aec6c29911cf44485a50262421dc7cd7fde1f2a878e7c51e7ed4491

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pubmed_cited_by-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 020bfe7e01912339ca487fe3865a6b59b135a1f8d5fa191c7f94391905b33019
MD5 94230ed3b89390195f28264115e34dbe
BLAKE2b-256 d3587083ddaf3f280477d745d7d8f52773aaf05064339ac16aa47b51ca643210

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