Terminal interface for crow
Project description
druid
A basic REPL for crow with some utilities
Setup
Requirements:
- Python 3.6+
- Windows & OS X: https://www.python.org/downloads/
- Linux:
sudo apt-get install python3 python3-pipor equivalent
pipandsetuptoolspyserialandprompt_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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file monome_druid-1.1.6.tar.gz.
File metadata
- Download URL: monome_druid-1.1.6.tar.gz
- Upload date:
- Size: 30.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c02d220f783de95fbe6d0abb1f07f90e3659014609a8710226a067e762083eff
|
|
| MD5 |
209641cebbfdf72088261c52aa2f101a
|
|
| BLAKE2b-256 |
baa72fefd5ddeb8217ba4f290864be8d23cbed27e3e2adef4306478a797377c1
|
File details
Details for the file monome_druid-1.1.6-py3-none-any.whl.
File metadata
- Download URL: monome_druid-1.1.6-py3-none-any.whl
- Upload date:
- Size: 28.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a600d65ecc15ac448b266cd7006e8cc4ac2c4500d744bd6394a9f6df8826d61
|
|
| MD5 |
f59ec123096ea172d4e040a829b94d06
|
|
| BLAKE2b-256 |
05eb67b4c5a066f60e3db16b4a68d1c5a240ede5a5bfb3343eeefae9a27e2ced
|