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.
Metadata
Release files for monome-druid 1.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| monome_druid-1.1.7.tar.gz | 30.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| monome_druid-1.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.5 kB
Release files / monome_druid-1.1.7.tar.gz
| Download URL | monome_druid-1.1.7.tar.gz |
|---|---|
| Size | 30.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e2add484dea40da66d4840188b3001ad35746b8d89d5b4b841946a39284f5cd
|
|
BLAKE2b-256 checksum How to use checksums |
87477c355003c2c2b5edc89acead858d4bd55a30cb4dc1a320a25d6c7ecbe1a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / monome_druid-1.1.7-py3-none-any.whl
| Download URL | monome_druid-1.1.7-py3-none-any.whl |
|---|---|
| Size | 28.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbd1ad108b90b2c61aebc01b63bdfbe1c5324bf77d94f51d32e1513b8659ac70
|
|
BLAKE2b-256 checksum How to use checksums |
86fc154e3eb10bd16cf007231e2e9c07aba21464b50ff377f63d34f752cd8815
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|