Skip to main content
https://img.shields.io/pypi/v/gsch.svg https://img.shields.io/travis/jun-harashima/gsch.svg

gsch is a tool for handling paper information in a Google Scholar results page.

Quick Start

To install gsch, run this command in your terminal:

$ pip install gsch

Using gsch, you can handle paper information in a Google Scholar results page as follows:

from gsch.agent import Agent
from gsch.paper import Paper

agent = Agent()
papers = agent.search(['some', 'topic'])

For a given query, agent obtains 10 search results on Google Scholar. Please be careful not to send too many requests to the service because there is a query limit.

agent organizes the search results into the Paper instances, each of which consists of the following attributes:

  • title

  • authors

  • year

  • cited_by

  • url

  • snippets

You will often obtain better results as follows:

from gsch.option import Option

agent = Agent()
option = Option(year_low=2017)
papers = agent.search(['some', 'topic'], option)

In this case, papers consists of papers that have been published since 2017. Like this, you can use the following options:

  • year_low: if you set year_low=2017, you obtain papers that have been published since 2017

  • year_high: if you set year_high=2017, you obtain papers that have been published by 2017

  • start: if you set start=10, you obtain papers that are ranked from 11 to 20

Metadata

Release files for gsch 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gsch 0.2.4
File Size Uploaded Provenance
gsch-0.2.4.tar.gz 4.8 kB Without provenance Details

Release files / gsch-0.2.4.tar.gz

Download URL gsch-0.2.4.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b11049a22b168640f97747da0781a52c72efb5de0d71c3f14d0c8ad9782120f5
BLAKE2b-256 checksum
How to use checksums
96a0d43eac7bb91138a20133bd8a28c21496d026e958cd05858e2b6baba72847
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/24.3.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.1

Security for gsch 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page