Skip to main content

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:

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.

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

dronefly_cli-0.2.5.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dronefly_cli-0.2.5-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file dronefly_cli-0.2.5.tar.gz.

File metadata

  • Download URL: dronefly_cli-0.2.5.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.11.1 Linux/6.1.0-27-amd64

File hashes

Hashes for dronefly_cli-0.2.5.tar.gz
Algorithm Hash digest
SHA256 6b1e4138fdc44c18ad45193f0b8acbb816a6cdb8e8a7a3c8b120922d12c1e244
MD5 3f73e0c7ceef8a2f1f1c85b55a0150eb
BLAKE2b-256 7d441b4a9323ca570d4e027075f29de151688ad1dba51828354b401f985481e3

See more details on using hashes here.

File details

Details for the file dronefly_cli-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: dronefly_cli-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.11.1 Linux/6.1.0-27-amd64

File hashes

Hashes for dronefly_cli-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 58a9f82c968f173688f2e62093e6fb6d72a3d78570e94b2140bab107c040387c
MD5 d93888447088b66538279aa2e84888b8
BLAKE2b-256 f42cea316fd2874077ee26ae6a045830a37c41cb085101bad2d134c47380f483

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page