Skip to main content

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

The fastest and most reliable way to get up and running with dronefly-cli is with uvx:

  1. First install uv: https://docs.astral.sh/uv
  2. Run it with uvx:
$ uvx --from dronefly-cli dronefly

If all went well, it will fetch any dependencies, initialize the environment, and run the dronefly cli. 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:

image

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.1

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

Source distribution (sdist)

Source distribution for dronefly-cli 0.3.1
File Size Uploaded
dronefly_cli-0.3.1.tar.gz 56.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dronefly-cli 0.3.1
File Interpreter ABI Platform
dronefly_cli-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 78.6 kB

Release files / dronefly_cli-0.3.1.tar.gz

Download URL dronefly_cli-0.3.1.tar.gz
Size 56.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f3cf403154f4655c09166f27e9d2332f1cf9d742fe34919e20e1796672f0cdc0
BLAKE2b-256 checksum
How to use checksums
84e1d663a3e4dc25eeb0288bd0fb8d33a4123bfca76db13ebf2954a0302baf1f
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.1-py3-none-any.whl

Download URL dronefly_cli-0.3.1-py3-none-any.whl
Size 22.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4bcef92dbf65cd140d739bbd2148a219d0a2fd5636d6682668e2fd8b05f7d57
BLAKE2b-256 checksum
How to use checksums
fb77285746cf438925d2eec0c696e31029b59c925717390e49b84f0cf0a785ee
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 history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

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