A simple Python wrapper around the ORCID.org API.
Example
Here’s a quick snippet to get info on John Wilbanks.
>>> import orcid
>>> #retrieve john's profile from his ORCID
>>> john = orcid.get('0000-0002-4510-0385')
>>> print john.family_name
wilbanks
What if you’d like to see an author’s works or areas of interest?
>>> print john.keywords [] >>> print john.publications []
Hm, let’s try another author.
>>> alfonso = orcid.get('0000-0001-8855-5569')
>>> print alfonso.keywords
[u'computer science', u' bioinformatics', u' computational biology']
>>> print alfonso.publications[0]
<Publication "A note about norbert wiener and his contribution to harmonic analysis and tauberian theorems">
Maybe you’d like to read about Mr. Wiener’s contributions?
>>> print alfonso.publications[0].url http://www.scopus.com/inward/record.url?eid=2-s2.0-67650513866&partnerID=MN8TOARS
Searching
If you’d rather search for authors, try ORCID’s search functionality
>>> #do a simple author search for john
>>> authors = orcid.search('john wilbanks')
>>> print next(authors).family_name
wilbanks
You can also accomplish more complex queries using Q objects and fields
>>> from orcid import Q
>>> authors = orcid.search(Q('given-name','john') & Q('family-name', 'wilbanks'))
>>> print next(authors).family_name
wilbanks
Enjoy!
Metadata
Release files for orcid-python 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| orcid-python-0.1.tar.gz | 4.0 kB | Without provenance | Details for orcid-python-0.1.tar.gz |
Release files / orcid-python-0.1.tar.gz
| Download URL | orcid-python-0.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6667b6ba0eb353caeb2ed4e2d3a56da9352fc34e4ade99b3bb155039f3b1adbc
|
|
BLAKE2b-256 checksum How to use checksums |
cd532a5b3c87c2f0f398eee9bebffa974f14c393b008142cdf37cb44a08bfac9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for orcid-python 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.