Skip to main content

Python-based API-Wrapper to access Scopus and ScienceDirect

Project description

pybliometrics

Enables large-scale access to Elsevier’s Scopus and ScienceDirect APIs from Python.

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 (for Scopus)

>>> import pybliometrics
>>> pybliometrics.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:

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.

Source Distribution

pybliometrics-4.3.tar.gz (990.1 kB view details)

Uploaded Source

Built Distribution

pybliometrics-4.3-py3-none-any.whl (107.8 kB view details)

Uploaded Python 3

File details

Details for the file pybliometrics-4.3.tar.gz.

File metadata

  • Download URL: pybliometrics-4.3.tar.gz
  • Upload date:
  • Size: 990.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for pybliometrics-4.3.tar.gz
Algorithm Hash digest
SHA256 47bf01e429ead542f46bde2965f108a9950e3783e2c823b3896b351fbcfb9028
MD5 577f25111ddbe43887726df0c7770938
BLAKE2b-256 f18b176d83fab55b0a6bacffd4bf1888ab155b7f2f927b3ef10e3671c9f1885f

See more details on using hashes here.

File details

Details for the file pybliometrics-4.3-py3-none-any.whl.

File metadata

  • Download URL: pybliometrics-4.3-py3-none-any.whl
  • Upload date:
  • Size: 107.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for pybliometrics-4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0eb1920938e1ff4ce0a0b46f34ea9ddc6726952dc51d0939284a36f11bbf1a20
MD5 73718d6e589c84dbdcbd86ca54a4bfc3
BLAKE2b-256 c53692e6b2bb24dc09465ad9c852ab7660ba769d5f48a2fc006ff889f5a16907

See more details on using hashes here.

Supported by

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