monomeui
A Python package for interfacing with the monome Grid and Arc controllers. This library uses classic synchronous I/O, providing an alternative to the pymonome async library.
Two levels of interface are provided:
GridandArcprovide low-level APIs directly to the SerialOSC commands, to modify the visual state and capture button presses and ring rotation eventsGridUIandArcUIencapsulate different high-level user interface paradigms, including unipolar/bipolar value displays. These interfaces support page-based rendering which can maintain and return states for different pages.
# Example: Arc UI
arcui = ArcUI()
page = arcui.add_page("unipolar")
@page.handler
def handler(ring, level, delta):
print("Ring %d set to level %d" % (ring, level))
Requirements
- A Monome Grid (tested with a 2021-edition 128, but should work with any generation) or Arc (tested with a 4-ring v2)
- A computer running the serialosc server (tested on macOS Ventura)
- Python 3.9 or above
Usage
Connect your monome device via USB. To test that the library works:
# run a test sequence on a grid, responding to button presses
python3 -m monome.grid.grid
# run a test sequence on an arc, responding to ring rotations
python3 -m monome.arc.arc
Examples
Further examples are available in examples.
Metadata
Release files for monome 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| monome-0.1.0.tar.gz | 16.9 kB | Without provenance | Details for monome-0.1.0.tar.gz |
Release files / monome-0.1.0.tar.gz
| Download URL | monome-0.1.0.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf10966fcf0b5e122c91a82a497050d263dc87fcc6279f0861f374b961814efa
|
|
BLAKE2b-256 checksum How to use checksums |
b6eebc3e4f00553bda439ab35b35da1d8503f247c6176429cd601a3dbc5e23bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.6
|
Security for monome 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.