Python-based API-Wrapper to access Scopus
Project description
pybliometrics
Enables large-scale access to Elsevier’s Scopus API from Python.
Documentation: https://pybliometrics.readthedocs.io
Development: https://github.com/pybliometrics-dev/pybliometrics
Example
>>> import pybliometrics
>>> pybliometrics.scopus.init() # read API keys
>>> # Document-specific information
>>> from pybliometrics.scopus import AbstractRetrieval
>>> ab = AbstractRetrieval("10.1016/j.softx.2019.100263")
>>> ab.title
'pybliometrics: Scriptable bibliometrics using a Python interface to Scopus'
>>> ab.publicationName
'SoftwareX'
>>> ab.authors
[Author(auid=57209617104, indexed_name='Rose M.E.', surname='Rose',
given_name='Michael E.', affiliation='60105007'),
Author(auid=7004212771, indexed_name='Kitchin J.R.', surname='Kitchin',
given_name='John R.', affiliation='60027950')]
>>>
>>> # Author-specific information
>>> from pybliometrics.scopus import AuthorRetrieval
>>> au2 = AuthorRetrieval(ab.authors[1].auid)
>>> au2.h_index
34
>>> au1 = AuthorRetrieval(ab.authors[0].auid)
>>> au1.affiliation_current
[Affiliation(id=60105007, parent=None, type='parent', relationship='author',
afdispname=None, preferred_name='Max Planck Institute for Innovation and Competition',
parent_preferred_name=None, country_code='deu', country='Germany',
address_part='Marstallplatz 1', city='Munich', state='Bayern',
postal_code='80539', org_domain='ip.mpg.de', org_URL='http://www.ip.mpg.de/')]
>>>
>>> # Affiliation information
>>> from pybliometrics.scopus import AffiliationRetrieval
>>> aff1 = AffiliationRetrieval(au1.affiliation_current[0].id)
>>> aff1.author_count
98
Installation
Install the stable version from PyPI:
pip install pybliometrics
or the development version from the GitHub repository (requires git on your system):
pip install git+https://github.com/pybliometrics-dev/pybliometrics
Citation
If pybliometrics helped you getting data for research, please cite our corresponding paper:
Rose, Michael E. and John R. Kitchin: “pybliometrics: Scriptable bibliometrics using a Python interface to Scopus”, SoftwareX 10 (2019) 100263.
Citing the paper helps the development of pybliometrics, because it justifies funneling resources into the development. It also signals that you obtained data from Scopus in a transparent and replicable way.
Change log
Please see CHANGES.rst.
Contributing
Please see CONTRIBUTING.rst. For a list of contributors see AUTHORS.rst.
License
MIT License; see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pybliometrics-4.1.tar.gz
.
File metadata
- Download URL: pybliometrics-4.1.tar.gz
- Upload date:
- Size: 930.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4af9b7584b2caae3a53d4c8e2a7d4395c26189352440356744b57660ed0348e4 |
|
MD5 | e32a66bd41d399c3b51fd9d2ec3fdce2 |
|
BLAKE2b-256 | 3f48396dfdb2347669485a3752dfabe1d2aa0dc50dea16387d3adb8685dc00a1 |
File details
Details for the file pybliometrics-4.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pybliometrics-4.1-py2.py3-none-any.whl
- Upload date:
- Size: 77.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80d03b107b90408fc15dea217b3aa10b9ee94d8f9c45002bddf60a08f67cc3ef |
|
MD5 | b06affefe5603b69ca30def4ac608c13 |
|
BLAKE2b-256 | 9952e005f3557f14d78d61d459b5f5ecb9c9b328abc7d9f5e1933c2f6fc6d91a |