All Projects → venthur → Gscholar

venthur / Gscholar

Licence: mit
Query Google Scholar with Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Gscholar

Pubs
Your bibliography on the command line
Stars: ✭ 176 (-15.79%)
Mutual labels:  cli, bibtex, pdf
Percollate
A command-line tool to turn web pages into beautiful, readable PDF, EPUB, or HTML docs.
Stars: ✭ 3,535 (+1591.39%)
Mutual labels:  cli, pdf
Backslide
💦 CLI tool for making HTML presentations with Remark.js using Markdown
Stars: ✭ 679 (+224.88%)
Mutual labels:  cli, pdf
Papis
Powerful and highly extensible command-line based document and bibliography manager.
Stars: ✭ 636 (+204.31%)
Mutual labels:  cli, bibtex
Pdfsave
Convert websites into readable PDFs
Stars: ✭ 46 (-77.99%)
Mutual labels:  cli, pdf
Go Audio
An offline solution to convert pdfs into audiobooks
Stars: ✭ 153 (-26.79%)
Mutual labels:  cli, pdf
Md To Pdf
Hackable CLI tool for converting Markdown files to PDF using Node.js and headless Chrome.
Stars: ✭ 374 (+78.95%)
Mutual labels:  cli, pdf
Docker Texlive
A docker container containing an installation of texlive as well as several useful scripts.
Stars: ✭ 52 (-75.12%)
Mutual labels:  bibtex, pdf
Hugo Academic Cli
📚 Import academic publications from Bibtex to Hugo
Stars: ✭ 158 (-24.4%)
Mutual labels:  cli, bibtex
Chrome Headless Render Pdf
Stars: ✭ 164 (-21.53%)
Mutual labels:  cli, pdf
Starport
The easiest way to build a blockchain.
Stars: ✭ 204 (-2.39%)
Mutual labels:  cli
Chatette
A powerful dataset generator for Rasa NLU, inspired by Chatito
Stars: ✭ 205 (-1.91%)
Mutual labels:  cli
Stonky
A command line dashboard for monitoring stocks
Stars: ✭ 208 (-0.48%)
Mutual labels:  cli
Bcrypt
A Java standalone implementation of the bcrypt password hash function. Based on the Blowfish cipher it is the default password hash algorithm for OpenBSD and other systems including some Linux distributions. Includes a CLI Tool.
Stars: ✭ 207 (-0.96%)
Mutual labels:  cli
Squid
A Ruby library to plot charts in PDF files
Stars: ✭ 205 (-1.91%)
Mutual labels:  pdf
Stow
GNU Stow - mirror of savannah git repository occasionally with more bleeding-edge branches
Stars: ✭ 207 (-0.96%)
Mutual labels:  cli
Fe Books
📖 📖 前端书籍pdf整理
Stars: ✭ 206 (-1.44%)
Mutual labels:  pdf
Webpack Dashboard
A CLI dashboard for webpack dev server
Stars: ✭ 13,850 (+6526.79%)
Mutual labels:  cli
.tmux
🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
Stars: ✭ 15,594 (+7361.24%)
Mutual labels:  cli
Gojson
Automatically generate Go (golang) struct definitions from example JSON
Stars: ✭ 2,439 (+1066.99%)
Mutual labels:  cli

gscholar

Query Google Scholar using Python.

Flattr this

Requirements

  • Python
  • pdftotext (command line tool)

Note on Python2 and Python3

Gscholar is Python2 and Python3 compatible. No changes should be required to run on either Python version.

Installing

$ pip install gscholar

##Using gscholar as a command line tool

gscholar provides a command line tool, to use it, just call gscholar like:

$ gscholar "albert einstein"

or

$ python3 -m gscholar "albert einstein"

Making a simple lookup:

$ gscholar "some author or title"

will return the first result from Google Scholar matching this query.

Getting more results:

$ gscholar --all "some author or title"

Same as above but returns up to 10 bibtex items. (Use with caution Google will assume you're a bot an ban you're IP temporarily)

Querying using a pdf:

$ gscholar /path/to/pdf

Will read the pdf to generate a Google Scholar query. It uses this query to show the first bibtex result as above.

Renaming a pdf:

$ gscholar --rename /path/to/pdf

Will do the same as above but asks you if it should rename the file according to the bibtex result. You have to answer with "y", default answer is no.

Getting help:

$ gscholar --help

Using gscholar as a python library

Install the gscholar package with pip install as described above or copy the package somewhere Python can find it.

import gscholar

gscholar.query("some author or title")

will return a list of bibtex items.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].