Dronefly command-line interface
Project description
Dronefly command-line client
The dronefly-cli command-line client will provide a standalone text user interface that can perform a usable subset of Dronefly Discord bot's capabilities, built solely with Dronefly core.
Installation with poetry
There are no releases of dronefly-cli yet. For now, this will get you started:
$ pip install git+https://github.com/dronefly-garden/dronefly-cli
$ dronefly
If all went well, you should arrive at a Dronefly (=)
prompt where you can test
it with the taxon
command to look up taxa by name. For example:
$\tt\textcolor{gold}{(=)}$ taxon picoides pubescens
Dryobates pubescens (Downy Woodpecker) (Picoides pubescens)
is a species with 98,638 observations in:
Animalia >
Chordata > Vertebrata >
Aves >
Piciformes >
Picidae > Dryobates
$\tt\textcolor{gold}{(=)}$ quit
Configuration
There is no config storage yet. You can provide the default user with User.inat_place_id
and User.inat_user_id
values by setting the corresponding INAT_PLACE_ID
and INAT_USER_ID
environment variables.
For example, with INAT_PLACE_ID=6853
, the taxon command shows introduction means for the configured place, Nova Scotia.
On Windows, run it in Windows Terminal for the best results, as it supports all of the rich formatting: clickable links, italics, strikethrough, and colour. This is a screenshot produced on the developer's workstation:
Related packages
Dronefly core
The dronefly-core package is an incomplete rewrite of Dronefly Discord bot's core components.
Dronefly Discord bot
Dronefly Discord bot brings iNaturalist taxa, observations, and other data from the site into conversations on the Discord chat platform.
Project details
Release history Release notifications | RSS feed
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
Hashes for dronefly_cli-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79fc9c98cdb40c3f41cce80d7ee6e3671e5de3a9bcd7c1feff6761038cc994b5 |
|
MD5 | c2107526e1f091897b7d26e7f2a98bb0 |
|
BLAKE2b-256 | d72afd56989abe5563084e44a990f614d0554384ec0055cd2a979d0ab3c71e32 |