Skip to main content

Terminal interface for crow

Project description

druid

A basic REPL for crow with some utilities

Setup

Requirements:

  • Python 3.5+
  • pip and setuptools
  • pyserial and prompt_toolkit

Note: you might need to use python and pip instead of python3 and pip3 depending on your platform. If python3 is not found, check that you have python >= 3.5 with python --version.

Install and run:

# Ensure setuptools is up to date
pip3 install --upgrade setuptools
# Install druid
pip3 install monome-druid
# Run druid :)
druid

Druid

Start by running druid

  • type q (enter) to quit.

  • type h (enter) for a list of special commands.

  • input values are printed on the top line

  • will reconnect to crow after a disconnect / restart

  • scrollable console history

Example:

druid
//// druid. q to quit. h for help

> x=6

> print(x)
6

> output[1].volts = 0

> q

Diagnostic logs are written to druid.log.

Command Line Interface

Sometimes you don't need the repl, but just want to upload/download scripts to/from crow. You can do so directly from the command line with the upload and download commands.

Upload

druid upload cool_script.lua

Uploads the provided lua file, cool_script.lua, to crow & stores it in flash to be executed on boot.

Download

druid download > feathers.lua

Grabs the script currently stored on crow, and pastes the result into a new file feathers.lua.

Bowery

For a collection of druid scripts, see the community-contributed collection 'bowery'. They're a great place to start if you're looking to customize or build your own scripts.

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

monome-druid-0.2.0.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

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

monome_druid-0.2.0-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file monome-druid-0.2.0.tar.gz.

File metadata

  • Download URL: monome-druid-0.2.0.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

File hashes

Hashes for monome-druid-0.2.0.tar.gz
Algorithm Hash digest
SHA256 91adcdb0a21c7e2a52fa106d66c64ab0e29aa8f98dfd0c0bb807c024b7efe2ae
MD5 5ead86836179ed49168f3fc1e514b127
BLAKE2b-256 789ab0039d6dbe6b8495f6581828484437d732ceee9901ad3cd89468aaa39499

See more details on using hashes here.

File details

Details for the file monome_druid-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: monome_druid-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

File hashes

Hashes for monome_druid-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d4584a63f5acf7caf1452dd82c0d5ee5d98d04a4687efb25d7b74f1fd1c99cd
MD5 7959921a3e9bdb756e9d26321fa5a1fb
BLAKE2b-256 24b58d37c797320681043029c2a595fa7d1d8dc3743716fa861b3dba274d0c74

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