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-pip
or equivalent
pip
andsetuptools
pyserial
andprompt_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
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
File details
Details for the file monome-druid-1.1.3.tar.gz
.
File metadata
- Download URL: monome-druid-1.1.3.tar.gz
- Upload date:
- Size: 29.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c74853dcaea54a0c9196ea7c0acdd7dec72e676b24a9a3fb01d25150edc00525 |
|
MD5 | 6f9e98f3de8f009f0801efc8a677ab81 |
|
BLAKE2b-256 | 1b116898aa55822ef8f2f7d615bee1b154740f47c982f58ae0f4a4038a0c7bd9 |
Provenance
File details
Details for the file monome_druid-1.1.3-py3-none-any.whl
.
File metadata
- Download URL: monome_druid-1.1.3-py3-none-any.whl
- Upload date:
- Size: 28.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed00698c8606177725cd0bf60f9104b40b403d37adc2e74ceb82cff4f43ed1d7 |
|
MD5 | 9c38b5624f8ef842d77ba159bae116ae |
|
BLAKE2b-256 | 3ab148a2059a8f59e637b4e6ad4798a842e00e2cb2829006a944dbe3e290be7e |