Skip to main content

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

Project description

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

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

gsch-0.2.4.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file gsch-0.2.4.tar.gz.

File metadata

  • Download URL: gsch-0.2.4.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for gsch-0.2.4.tar.gz
Algorithm Hash digest
SHA256 b11049a22b168640f97747da0781a52c72efb5de0d71c3f14d0c8ad9782120f5
MD5 185975b0f0a91832b5196ceca0fa8c07
BLAKE2b-256 96a0d43eac7bb91138a20133bd8a28c21496d026e958cd05858e2b6baba72847

See more details on using hashes here.

Supported by

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