Skip to main content

Terminal interface for iii devices

Project description

diii

A basic REPL for iii devices

A fork of druid (which is for crow)

v1.1.0 beta

To get the pre-release beta:

pip3 install monome-diii --pre

To see your current version:

diii --version

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:

pip3 install monome-diii

Run:

diii


## diii

Start by running `diii`

- type q (enter) to quit.
- type h (enter) for a list of special commands.

- will reconnect to device after a disconnect / restart
- scrollable console history

Example:

q to quit. h for help

x=6

print(x) 6

q


Diagnostic logs are written to `diii.log`.

## Command Line Interface

Sometimes you don't need the repl, but just want to upload/download scripts to/from device. You can do so directly from the command line with the `list`, `upload` and `download` commands.

### List

diii list


Lists files currently on device.

### Upload

diii upload script.lua


Uploads the provided lua file `script.lua` to device and stores it in flash.

### Download

diii download script.lua


Prints the file `script.lua` which is on the device, if it exists. If you'd like to save the file to the local disk, do this:

diii download script.lua > script.lua


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_diii-1.1.0.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

monome_diii-1.1.0-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file monome_diii-1.1.0.tar.gz.

File metadata

  • Download URL: monome_diii-1.1.0.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for monome_diii-1.1.0.tar.gz
Algorithm Hash digest
SHA256 281be8dd34661d71323623d88088c11ca7f9af92f2871310987f9c663cc1c49f
MD5 78626438efee78314d717357a151fc4f
BLAKE2b-256 1b9f6feab3b3420695cbf8937b770ae7bde63a3475d9076321ac0fd54f546406

See more details on using hashes here.

File details

Details for the file monome_diii-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: monome_diii-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for monome_diii-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 643674f4c469f738cd7adac26e50be5303cdcd86ebf406ca574f523d8b40b8c3
MD5 38d5d2e19cd52f9427324664dcc79760
BLAKE2b-256 e7b2dc0f5a6b58cee4a1b87ce81386a12144bdd154a3ec2b62b8740f40096380

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