Skip to main content

Python modules for parsing the response to a Scopus API request

Project description

ScopusApyJson

Description

Python modules for parsing the response to a request through Scopus Api based on DOI.

Installation

Run the following to install:

pip install ScopusApyJson

Usage example

import ScopusApyJson as saj

doi_list = ["doi/10.1016/j.fuproc.2022.107223",
            "doi/10.1109/pvsc48317.2022.9938766"]
scopus_tup = saj.build_scopus_df_from_api(doi_list, timeout = 20, verbose = True)
authy_status = scopus_tup[2]
if authy_status: 
    scopus_df = scopus_tup[0]
    scopus_df.to_excel(<your_fullpath_file1> + ".xlsx", index = False)
    failed_doi_df = scopus_tup[1]
    failed_doi_df.to_excel(<your_fullpath_file2> + ".xlsx", index = False)
else:
    print("Authentication failed: please check availability of authentication keys")

for more exemples refer to ScopusApyJson-exemples.

Release History

  • 1.0.0 first release
  • 1.1.0 check of fields availability when parsing the request response
  • 1.1.1 updated args of build_scopus_df_from_api function
  • 1.1.2 Enhanced robusteness of code after pylint scan
  • 1.1.3 Updated release history
  • 1.1.4 Align release history on PyPi

Meta

- authors : BiblioAnalysis team

Distributed under the MIT 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

ScopusApyJson-1.1.5.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

ScopusApyJson-1.1.5-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file ScopusApyJson-1.1.5.tar.gz.

File metadata

  • Download URL: ScopusApyJson-1.1.5.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.7

File hashes

Hashes for ScopusApyJson-1.1.5.tar.gz
Algorithm Hash digest
SHA256 dea778965020e9ccb50550a88f821120b08710f6dcc004079df697348763735b
MD5 ebeecce8eff3c95f0449537e7f7bf450
BLAKE2b-256 41f5a89c0aec66b9fe114552ddeea4534ef6aba53017ee930ef75d647876424a

See more details on using hashes here.

File details

Details for the file ScopusApyJson-1.1.5-py3-none-any.whl.

File metadata

  • Download URL: ScopusApyJson-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.7

File hashes

Hashes for ScopusApyJson-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 af7b4819829e776a9e630d53a758bdbf980d7106ec172e502104b166a142ef78
MD5 b2079ac362874468c62d523407d66f18
BLAKE2b-256 89a594909072fbc2ed2cd1a0bc2fed1857cd8a2f03479775fe7ba38a7e9a1c91

See more details on using hashes here.

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