A simple Semantic Scholar search CLI.
Project description
Semantic Scholar Search
Searches Semantic Scholar for papers or authors. Downloads the papers as pdfs if they are on arxive.
Installation
pip install semser
or clone and install
git clone https://github.com/fergusfettes/semser
cd semser
poetry install
Usage
Search for some terms. You will get a list of papers to choose from.
$ semser search "retrieval augmented generation"
1. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks, Bob et al., 15 Nov 2019
...
Papers to retrieve: 1
Downloading
Search for an author. You can select a likely looking author and you will be shown a selection of their papers.
$ semser author "Schmidhuber"
1. Jürgen Schmidhuber, 1 Jan 2015
...
Authors to retrieve: 1
1. Paper 1, 1 Jan 2015
2. Paper 2, 1 Jan 2015
Papers to retrieve: 1
Downloading
The 'limit' applies to authors and to papers by the author:
$ semser author "Schmidhuber" --limit 2
Will only return two papers by them. But you can grab their id and use it instead:
$ semser author 145341374 --limit 50
You can also search for a paper by its Semantic Scholar ID, or by its DOI, or just use the url from semantic scholar.
$ semser paper "10.1162/neco.1997.9.8.1735"
Downloading
Since it is made with typer, you can also just type
$ semser --help
$ semser search --help
to get a list of commands and options.
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
Built Distribution
File details
Details for the file semser-0.2.1.tar.gz
.
File metadata
- Download URL: semser-0.2.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.2.0-39-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4c57921105fe023edf93092b16651c751433877e1b82f8f6c347d4909a6533e |
|
MD5 | 55e14d4154fa7f7691960c4367bad32e |
|
BLAKE2b-256 | 6d4c058d49148cd607ef11e12813e5c4bdc4942dd0182f64316c81973e469b42 |
File details
Details for the file semser-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: semser-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.2.0-39-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a318c51112b374aa731eeb8102c3c6dc2e2a79a8805078823d64405db7de0a4f |
|
MD5 | bb3df56f8752096830963d7157eea4c6 |
|
BLAKE2b-256 | 38284a89bc9eb3c9c21d1963e95ae4a837032f95feceae0528735652d2faa45b |