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
Metadata
Release files for pubmed-cited-by 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pubmed_cited_by-1.0.0.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pubmed_cited_by-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / pubmed_cited_by-1.0.0.tar.gz
| Download URL | pubmed_cited_by-1.0.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b3e8ac3ef23ad8fd70f7f086bd870868954fc6fe5ecdda0d6f695ec218b9b37
|
|
BLAKE2b-256 checksum How to use checksums |
5a0c72e20aec6c29911cf44485a50262421dc7cd7fde1f2a878e7c51e7ed4491
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.8
|
Release files / pubmed_cited_by-1.0.0-py3-none-any.whl
| Download URL | pubmed_cited_by-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
020bfe7e01912339ca487fe3865a6b59b135a1f8d5fa191c7f94391905b33019
|
|
BLAKE2b-256 checksum How to use checksums |
d3587083ddaf3f280477d745d7d8f52773aaf05064339ac16aa47b51ca643210
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.8
|