Skip to main content

ableton-live-stubs

PEP 561 type stubs for Ableton Live 12.3.6'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.

The stubs are best-effort and have known limitations: types are conservative (args without a pinned-down type stay as object), names are decorative (PEP 570 positional-only markers prevent kwarg calls), and docstrings come verbatim from Live's runtime Boost.Python __doc__ strings. See Limitations & caveats in the repo README for the full posture and the current list of known weak spots.

Source

Generated from runtime introspection of Ableton Live 12.3.6. See LiveAPI for details.

Metadata

Release files for ableton-live-stubs 12.3.6.post8

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

Source distribution (sdist)

Source distribution for ableton-live-stubs 12.3.6.post8
File Size Uploaded Provenance Actions
ableton_live_stubs-12.3.6.post8.tar.gz 54.1 kB With provenance Details for ableton_live_stubs-12.3.6.post8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ableton-live-stubs 12.3.6.post8
File Interpreter ABI Platform Actions
ableton_live_stubs-12.3.6.post8-py3-none-any.whl Python 3 none any Details for ableton_live_stubs-12.3.6.post8-py3-none-any.whl

Total release size: 134.4 kB

Release files / ableton_live_stubs-12.3.6.post8.tar.gz

Download URL ableton_live_stubs-12.3.6.post8.tar.gz
Size 54.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5a2e66f071e41ea283b6e77ff12b47b9ccf0ee364fcf2633262653576a300854
BLAKE2b-256 checksum
How to use checksums
3374622ce061a70023cad2597930218f0eaafabe0c50f503377ea777fd6edb5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 8, 2026.

Transparency log

Release files / ableton_live_stubs-12.3.6.post8-py3-none-any.whl

Download URL ableton_live_stubs-12.3.6.post8-py3-none-any.whl
Size 80.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e34edf2b89174eab32441549c1b5f9ca086b82357afe208219a56532a8991a12
BLAKE2b-256 checksum
How to use checksums
df870cabab20623e6a73af54e88f887d2a3bcb35f95bc4d7d79413aa3ab0c73a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 8, 2026.

Transparency log

Security for ableton-live-stubs 12.3.6.post8

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 ableton_live_stubs-12.3.6.post8.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 May 8, 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.

Release history Release notifications | RSS feed

This release
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