Skip to main content

bioRxiv-CLI

https://travis-ci.org/jacquerie/biorxiv-cli.svg?branch=master https://coveralls.io/repos/github/jacquerie/biorxiv-cli/badge.svg?branch=master

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:

https://raw.githubusercontent.com/jacquerie/biorxiv-cli/master/images/biorxiv-cli-screen.png

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

Author

Jacopo Notarstefano (@Jaconotar)

License

MIT

Metadata

Release files for biorxiv-cli 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for biorxiv-cli 0.1.4
File Size Uploaded
biorxiv-cli-0.1.4.tar.gz 3.9 kB Details

Release files / biorxiv-cli-0.1.4.tar.gz

Download URL biorxiv-cli-0.1.4.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1afca6e9caa976ae228203e74913fa0a8561236d4fb4776bbc7829823b5979c9
BLAKE2b-256 checksum
How to use checksums
ca662ec8c87340fd057a6fe662515d668bb445b97cfc5766a656f820f5b2e84d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.14

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page