Skip to main content

ID converter between PMID, PMCID and DOI

Project description

ID converter between PMID, PMCID and DOI

https://www.ncbi.nlm.nih.gov/pmc/tools/id-converter-api/

Installation

python3 -m pip install pmc-id-converter

Usage

Command Line

pmc_idconv --help

# PMID
pmc_idconv 30003000
# PMCID
pmc_idconv PMC6039336
# DOI
pmc_idconv 10.1007/s13205-018-1330-z
# Multiple IDs
pmc_idconv 30003000 30003001 30003002
# Output to a file
pmc_idconv 30003000 30003001 30003002 -o out.json

Python

from pmc_id_converter import API

API.idconv('PMC3531190')
API.idconv('PMC3531190', 'PMC3531191123', 'PMC3531191')
API.idconv('23193287')
API.idconv('10.1093/nar/gks1195')

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

pmc_id_converter-1.0.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

pmc_id_converter-1.0.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

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