Skip to main content

Unofficial Semantic Scholar API with Local Cache

Project description

* Unofficial Semantic Scholar Client

Python Semantic Scholar https://www.semanticscholar.org/product/api client
with a local cache.

** Features
- Async requests
- Local JSON files based storage to avoid redundant requests
- Can fetch citations > 10000 (Semantic Scholar API limit) when the full
parsed citation graph is on disk.
- Filter the data based on certain predicates like
+ Year
+ Author
+ Title
+ Venue
+ CitationCount
- Local cache of dumped Semantic Scholar Citation Data, for fetching
citations with papers > 10000.

** Installation

~pip install s2cache~

** Usage

The package is a library for your Bibliography metadata managment needs.
The intended use is applications which use Semantic Scholar data for
generating bibliography management, visualizing citation graphs etc.

It can fetch citations and references from Semantic Scholar API
https://www.semanticscholar.org/product/api and store in a local cache
to avoid redundant requests to the service as the citation data fetches
can be network intensive.

There is also a filters module also which can be combined to filter the data

*More to Follow*

** License

MIT License

See Semantic Scholar License page https://www.semanticscholar.org/product/api/license
to view the API 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

s2cache-0.4.1.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

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

s2cache-0.4.1-py3-none-any.whl (42.0 kB view details)

Uploaded Python 3

File details

Details for the file s2cache-0.4.1.tar.gz.

File metadata

  • Download URL: s2cache-0.4.1.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.13.3 Linux/6.13.8-200.fc41.x86_64

File hashes

Hashes for s2cache-0.4.1.tar.gz
Algorithm Hash digest
SHA256 a9d709eb2d916f2a8ec2d52bd1ebd6d0a81452d10eac51e6e46fa73d7fbdc26e
MD5 0c37ab7b44b8d25ae06a404153625b96
BLAKE2b-256 bda3b68d4694e10ae5c2c0baf1f581c02fc8f33aa304703f8a80349d8677fbda

See more details on using hashes here.

File details

Details for the file s2cache-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: s2cache-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 42.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.13.3 Linux/6.13.8-200.fc41.x86_64

File hashes

Hashes for s2cache-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5deeac22343e89d0db28cb1e4176595b43c94b5c0824812e6e0d90fff363ec9d
MD5 c03541f2080ac1035b0e17a76a24b4c0
BLAKE2b-256 435c8f6383429b8ee2f4c1c1007417493027a12ef9a8089ee140eade1af656b6

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