PEP 561 type stubs for Ableton Live's Python API (for MIDI Remote Script developers)
Project description
ableton-live-stubs
PEP 561 type stubs for Ableton Live 11.3.10's Python API (Live.* modules).
These stubs are for developers building MIDI Remote Scripts (Control Surfaces) that run inside
Ableton Live's embedded Python runtime. They provide type information for the Live module that Live
exposes to scripts at runtime but is not available for static analysis outside of Live.
Installation
pip install ableton-live-stubs
Usage
Once installed, type checkers (pyright, mypy) automatically discover the Live module stubs.
No configuration needed.
Import types under TYPE_CHECKING to avoid runtime import errors (the Live module only exists inside
Ableton Live's Python runtime):
from __future__ import annotations
from typing import TYPE_CHECKING
if TYPE_CHECKING:
import Live
from Live.Song import Song
def on_tempo_changed(song: Song) -> None:
app: Live.Application.Application = Live.Application.get_application()
print(f"Live {app.get_major_version()}: tempo is now {song.tempo}")
Manual setup (without pip)
Download the zip from the
GitHub release
and add the extracted directory (the parent of Live/) to your type checker's stub path:
// pyrightconfig.json
{
"stubPath": "path/to/Live-stubs"
}
Version matching
Each release of ableton-live-stubs corresponds to a specific Ableton Live version. Install the
version that matches your target Live version — the API surface changes between releases.
Documentation
For detailed API documentation — including property restrictions (e.g. which track/clip types support a given property), valid input ranges, and observable properties — see the LiveAPI reference.
Source
Generated from runtime introspection of Ableton Live 11.3.10. See LiveAPI for details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ableton_live_stubs-11.3.10.post1.tar.gz.
File metadata
- Download URL: ableton_live_stubs-11.3.10.post1.tar.gz
- Upload date:
- Size: 46.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a8d2839a24403dd49d256244c75fa5ce92decfcb05dd8b915a805c2884a9ba4
|
|
| MD5 |
6bcddd305ef25eced7a95bd1c5af9d6b
|
|
| BLAKE2b-256 |
f61e8d114e0469e3330de1d220840cfe992bf320580a7bcdac494dafdd4c93f3
|
Provenance
The following attestation bundles were made for ableton_live_stubs-11.3.10.post1.tar.gz:
Publisher:
release.yml on PhotonicVelocity/LiveAPI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ableton_live_stubs-11.3.10.post1.tar.gz -
Subject digest:
4a8d2839a24403dd49d256244c75fa5ce92decfcb05dd8b915a805c2884a9ba4 - Sigstore transparency entry: 1116906709
- Sigstore integration time:
-
Permalink:
PhotonicVelocity/LiveAPI@fb3edf076c44045fa61ab9ac1628b3eb972f1173 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/PhotonicVelocity
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@fb3edf076c44045fa61ab9ac1628b3eb972f1173 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ableton_live_stubs-11.3.10.post1-py3-none-any.whl.
File metadata
- Download URL: ableton_live_stubs-11.3.10.post1-py3-none-any.whl
- Upload date:
- Size: 68.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6156bea6b01f02c06f695d1a1ffcfbbea57975f4b7f83c1f340b0eb3720cc66
|
|
| MD5 |
e7f3f585d70e40113507dfee3e724b04
|
|
| BLAKE2b-256 |
a9a604cf3a384902b05a3849a7862c56a9960926dcbe9a1615fe6e82d5a323e6
|
Provenance
The following attestation bundles were made for ableton_live_stubs-11.3.10.post1-py3-none-any.whl:
Publisher:
release.yml on PhotonicVelocity/LiveAPI
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ableton_live_stubs-11.3.10.post1-py3-none-any.whl -
Subject digest:
a6156bea6b01f02c06f695d1a1ffcfbbea57975f4b7f83c1f340b0eb3720cc66 - Sigstore transparency entry: 1116906717
- Sigstore integration time:
-
Permalink:
PhotonicVelocity/LiveAPI@fb3edf076c44045fa61ab9ac1628b3eb972f1173 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/PhotonicVelocity
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@fb3edf076c44045fa61ab9ac1628b3eb972f1173 -
Trigger Event:
push
-
Statement type: