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.0.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.0.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.0.0.post2.tar.gz (50.4 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.0.0.post2-py3-none-any.whl (85.2 kB view details)

Uploaded Python 3

File details

Details for the file ableton_live_stubs-12.0.0.post2.tar.gz.

File metadata

File hashes

Hashes for ableton_live_stubs-12.0.0.post2.tar.gz
Algorithm Hash digest
SHA256 7af66c5ce42e5f76fa356db745a554fa94656d360bc30861ed6faec08d081444
MD5 e1cbabc0bf2767b4f0b13f6450552adf
BLAKE2b-256 2e7305e25df0e7d901b41694734ae63c32ab2a48bef77af75de762f527f7bffa

See more details on using hashes here.

Provenance

The following attestation bundles were made for ableton_live_stubs-12.0.0.post2.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.0.0.post2-py3-none-any.whl.

File metadata

File hashes

Hashes for ableton_live_stubs-12.0.0.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 a7d2b044e92ffa381c21e095f0b2e9a84c80bb750e298c391e02a09f2522db2f
MD5 98f2c63a9ee5a73acc066b6c1449e72f
BLAKE2b-256 c1adffcd537f01211d8ad58bb25e32bcf71656f998ac3e803df12d7fe0838538

See more details on using hashes here.

Provenance

The following attestation bundles were made for ableton_live_stubs-12.0.0.post2-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