venthur/gscholar
소개
Query Google Scholar with Python
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalgscholar
Query Google Scholar using Python.
Requirements
- Python
- pdftotext (command line tool)
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.
관련 프로젝트 살펴보기
불러오는 중…