Skip to main content

Terminal interface for crow

Project description

druid

A basic REPL for crow with some utilities

Setup

Requirements:

  • Python 3.6+
  • 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.6 with python --version.

Install and run:

# 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 run/upload/download scripts on/to/from crow. You can do so directly from the command line with the run, upload and download commands.

Run

druid run shiny_things.lua

Run the provided lua file, shiny_things.lua, on crow without storing it in flash.

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-1.1.7.tar.gz (30.6 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-1.1.7-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

Details for the file monome_druid-1.1.7.tar.gz.

File metadata

  • Download URL: monome_druid-1.1.7.tar.gz
  • Upload date:
  • Size: 30.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for monome_druid-1.1.7.tar.gz
Algorithm Hash digest
SHA256 3e2add484dea40da66d4840188b3001ad35746b8d89d5b4b841946a39284f5cd
MD5 ce20992950022d538229151ecefab527
BLAKE2b-256 87477c355003c2c2b5edc89acead858d4bd55a30cb4dc1a320a25d6c7ecbe1a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: monome_druid-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 28.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Manjaro Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for monome_druid-1.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 dbd1ad108b90b2c61aebc01b63bdfbe1c5324bf77d94f51d32e1513b8659ac70
MD5 9ed7b79c44158e80626498c7fe1147cb
BLAKE2b-256 86fc154e3eb10bd16cf007231e2e9c07aba21464b50ff377f63d34f752cd8815

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