Skip to main content

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 12.2.0'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.

from Live.Application import Application
from Live.Song import Song
from Live.Track import Track

Manual setup (without pip)

Download the zip from the GitHub release and add the extracted Live/ directory to your type checker's search path:

// pyrightconfig.json
{
  "extraPaths": ["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 12.2.0. See LiveAPI for details.

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

ableton_live_stubs-12.2.0.tar.gz (55.3 kB view details)

Uploaded Source

Built Distribution

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

ableton_live_stubs-12.2.0-py3-none-any.whl (95.8 kB view details)

Uploaded Python 3

File details

Details for the file ableton_live_stubs-12.2.0.tar.gz.

File metadata

  • Download URL: ableton_live_stubs-12.2.0.tar.gz
  • Upload date:
  • Size: 55.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ableton_live_stubs-12.2.0.tar.gz
Algorithm Hash digest
SHA256 f0d894373374c292c17ad293ee5838d50b8a52ba62202f1bc6d1c1f98a0227b2
MD5 706c2e6843b2d5a39c6ed768062c4b48
BLAKE2b-256 0c77cfbf2041bac47d91998a3a4bed34a77a145775977d3d0350791d0abd40a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for ableton_live_stubs-12.2.0.tar.gz:

Publisher: release.yml on PhotonicVelocity/LiveAPI

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ableton_live_stubs-12.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ableton_live_stubs-12.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51dc989bf50cea9857c9a29546b0df4dc24b6a689a4b5b2421350d8e2137b1a6
MD5 577268f7db146b502874f8bdcdd47ce5
BLAKE2b-256 de011d3cbbccf331cb403226b79af6e7a89029dbc866482d6e00ac7b64c6e561

See more details on using hashes here.

Provenance

The following attestation bundles were made for ableton_live_stubs-12.2.0-py3-none-any.whl:

Publisher: release.yml on PhotonicVelocity/LiveAPI

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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