Skip to main content

Fork of pybliometrics with a PUT-based ScienceDirect Search implementation, maintained for the bibly library

Project description

pybliometrics-sd

Enables large-scale access to Elsevier’s Scopus, ScienceDirect and SciVal APIs in Python.

Documentation: https://pybliometrics.readthedocs.io

Development: https://github.com/nils-herrmann/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_sd-4.4a0.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybliometrics_sd-4.4a0-py3-none-any.whl (129.5 kB view details)

Uploaded Python 3

File details

Details for the file pybliometrics_sd-4.4a0.tar.gz.

File metadata

  • Download URL: pybliometrics_sd-4.4a0.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pybliometrics_sd-4.4a0.tar.gz
Algorithm Hash digest
SHA256 72a2307c90e6a63f5bf546662ec76f07bede91e517cc23b4b7336d9478455cfb
MD5 47e2c2c6b4ad95afe8d217f61d138900
BLAKE2b-256 b9ddc10b00d68715f2173b194f644db4c65e334ff25274e5c4df5b4e09aff2bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybliometrics_sd-4.4a0.tar.gz:

Publisher: publish.yml on nils-herrmann/pybliometrics

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pybliometrics_sd-4.4a0-py3-none-any.whl.

File metadata

File hashes

Hashes for pybliometrics_sd-4.4a0-py3-none-any.whl
Algorithm Hash digest
SHA256 6318b99af58e6ac4f9995edd3447be016cf54d84f0f5d40398fda11fe7f81238
MD5 0f6b9448b6587007491b0e2896db4c91
BLAKE2b-256 632a7331cdda196fad5651b47b545284fbd21a3d1ff56d819450d869156d9f2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybliometrics_sd-4.4a0-py3-none-any.whl:

Publisher: publish.yml on nils-herrmann/pybliometrics

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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