Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Python-based API-Wrapper to access Scopus

Project description

pybliometrics

Access Elsevier Scopus’s API from Python on a large scale.

Documentation: https://pybliometrics.readthedocs.io

Development: https://github.com/pybliometrics-dev/pybliometrics

https://badge.fury.io/py/pybliometrics.svg https://img.shields.io/pypi/pyversions/pybliometrics.svg https://readthedocs.org/projects/pybliometrics/badge/?version=stable https://img.shields.io/pypi/dm/pybliometrics.svg https://img.shields.io/pypi/l/pybliometrics.svg https://api.codeclimate.com/v1/badges/a4d7edd206a1252dfcfe/maintainability

Example

>>> # 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
'30'
>>> 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=None,
 postal_code='80539', org_domain=None, org_URL='http://www.ip.mpg.de/')]
>>>
>>> # Affiliation information
>>> from pybliometrics.scopus import ContentAffiliationRetrieval
>>> aff1 = ContentAffiliationRetrieval(au1.affiliation_current[0].id)
>>> aff1.author_count
'72'

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+git://github.com/pybliometrics-dev/pybliometrics

Citation

If pybliometrics helped you getting data for research, please cite our corresponding paper:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pybliometrics, version 2.7.1
Filename, size File type Python version Upload date Hashes
Filename, size pybliometrics-2.7.1.tar.gz (908.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page