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.
Metadata
Release files for dronefly-cli 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dronefly_cli-0.3.0.tar.gz | 56.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dronefly_cli-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 77.9 kB
Release files / dronefly_cli-0.3.0.tar.gz
| Download URL | dronefly_cli-0.3.0.tar.gz |
|---|---|
| Size | 56.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af81ec3b1a68ef7edecf49a46c31af5f31949e6a264c68b4dbb5aa07293086c0
|
|
BLAKE2b-256 checksum How to use checksums |
5c9fe440938af32f0d13d08786f38fcb88c32b1c30216ae16c6abddd199e9a24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / dronefly_cli-0.3.0-py3-none-any.whl
| Download URL | dronefly_cli-0.3.0-py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2f675456cea0351ac6a646dc6a4b38532ec022e2943a90ed0f37072b6ebf807
|
|
BLAKE2b-256 checksum How to use checksums |
2a16d23440a2917caa9b159afee7fa8f699f51a3f4b334598dc36f06be7c65f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|