Giter Club home page Giter Club logo

dronefly-cli's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.