Skip to main content

Ostinato, the pattern sequencer, playing a four-bar drum pattern in its desktop window

Apps

The apps for PyDevices: things you run on a board or a desktop. A Home app lives in apps/; a program, which runs on its own, lives in programs/.

Install

On a Wi-Fi board, one line installs an app with what it needs, and another starts Home at boot (install an app):

import omip
omip.install("github:PyDevices/apps/apps/home")
omip.install("github:PyDevices/apps/apps/home/main.py", target="/")

On a computer, the apps are used from a clone, beside the libraries they build on:

git clone https://github.com/PyDevices/apps
git clone https://github.com/PyDevices/audioinstruments
git clone https://github.com/PyDevices/audioeffects
git clone https://github.com/PyDevices/audiodsp
pip install ./audiodsp numpy
pip install --no-deps ./audioinstruments ./audioeffects/lib/audioeffects

The libraries the apps share (appkit, controlkit, deskkit, sayso, songmodel, soundmodule, spectrum and touchkit) also install as a package, under their own names. Each is imported directly, as in import controlkit:

pip install omnipython-applibs

On a board, use mip.install("applibs", index="https://lib.omnipython.org"). To freeze them into firmware, name this repository's folder as a module of the build: its manifest.py lists them.

Try it

Render a MIDI file through the sound module to a WAV, with no MIDI hardware. The sound comes from a General MIDI SoundFont (.sf2) that you supply, such as GeneralUser GS:

cd apps
python tools/render_mid.py tests/midi/musicbox1_spooky_waltz.mid take.wav --bank GeneralUser-GS.sf2 --path lib

It writes take.wav, 53 seconds of celesta, and prints what it measured:

notes 261
played 261
held 0
sounding 0
song 53.310
render 0.947
reverb 0
chorus 0
soundmodule: cpython 3.12.3 (linux): 0 bytes of MIDI, 0 Identity Requests answered, render behind by at most 0 ms while playing (0 ms before the first note)
  channel  1:  157 notes, bank 0:0 program 8, Celesta
  channel  2:   56 notes, bank 0:0 program 8, Celesta
  channel  3:   32 notes, bank 0:0 program 8, Celesta
  channel 16:   16 notes, bank 0:0 program 8, Celesta

played equals notes when every note sounded. The render and interpreter lines are yours to differ on.

Docs | Examples | Roadmap

Made by PyDevices.

Metadata

Release files for omnipython-applibs 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omnipython-applibs 0.1.2
File Size Uploaded Provenance Actions
omnipython_applibs-0.1.2.tar.gz 219.0 kB With provenance Details for omnipython_applibs-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for omnipython-applibs 0.1.2
File Interpreter ABI Platform Actions
omnipython_applibs-0.1.2-py3-none-any.whl Python 3 none any Details for omnipython_applibs-0.1.2-py3-none-any.whl

Total release size: 452.7 kB

Release files / omnipython_applibs-0.1.2.tar.gz

Download URL omnipython_applibs-0.1.2.tar.gz
Size 219.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0e2c2fac9b9a3f86143f530c469970f6e76dc7e1a35a760af2129ca0d60749bb
BLAKE2b-256 checksum
How to use checksums
b2b2b5523010040f20d300030b1804757356e1f85a30795bd504ba21b35d0cdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / omnipython_applibs-0.1.2-py3-none-any.whl

Download URL omnipython_applibs-0.1.2-py3-none-any.whl
Size 233.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19b8d87895e532d401e052381dd54c2f78d5b6c49b540ded9d581f10e1e2e63a
BLAKE2b-256 checksum
How to use checksums
6858b54a3260c48ef323a430bc21fca7e63acc4ff972e1dfaed91548f84538da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for omnipython-applibs 0.1.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for omnipython_applibs-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page