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 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.
| Filename, size | File type | Python version | Upload date | Hashes |
|---|---|---|---|---|
| Filename, size monome_druid-1.0.0-py3-none-any.whl (21.3 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
| Filename, size monome-druid-1.0.0.tar.gz (22.0 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for monome_druid-1.0.0-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 5618bf612095665ae741c9ef84a385866100745e283931821d7a05bf87cca15c |
|
| MD5 | 1d93822484a2808b8e0cddb8d830155e |
|
| BLAKE2-256 | 63498cf1e03b902b77e140a2bd620e08b861c5e445933c7adb3b447a4530f5b9 |