A Python wrapper for the bioRxiv API.
Project description
About
A Python wrapper for the bioRxiv API.
Install
$ pip install biorxiv-cli
Usage
You can use bioRxiv-CLI as a CLI to navigate bioRxiv or as a library to query its API.
CLI
Currently bioRxiv-CLI implements one subcommand:
$ biorxiv read SUBJECTS
This will print the titles of the 30 most recent posts in one of the comma-separated subjects. For example:
If no subjects were given, it will assume by default that all subjects were selected.
API
The previous CLI is built on top of a Python library that can be used on its own to query bioRxiv’s API. For example:
>>> from biorxiv_cli import Client
>>> client = Client()
>>> client.read([SUBJECTS])
will achieve the same effect as
$ biorxiv read SUBJECTS
License
MIT
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
biorxiv-cli-0.1.3.tar.gz
(3.9 kB
view details)
File details
Details for the file biorxiv-cli-0.1.3.tar.gz
.
File metadata
- Download URL: biorxiv-cli-0.1.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5510225dac24a4e6c50db55257e7559086ac1ee955074acde490736023e7392 |
|
MD5 | 644acbee414058c1b5d7417f89f7a4dc |
|
BLAKE2b-256 | 4570127d673b9206b75f8e6c955be551d0ff3414674f21edf74d2a6f9f8335b9 |