alpax
alpax allows you to generate custom Ableton Live packs. It supports
adding audio previews and Live 12 tags to the pack content.
Currently, only directory-based packs can be created - generating
.alp files is not supported.
Packs can be added to Live by dragging them into the Places pane.
This is alpha software. It works for my use cases but hasn't been extensively tested, and is missing plenty of functionality. APIs are subject to change. Please submit issues and/or PRs if you run into trouble.
Installation
pip install alpax
Usage
from alpax import DirectoryPackWriter
from time import time
with DirectoryPackWriter(
"/path/to/output_dir",
name="My Pack",
unique_id="my.unique.id",
# Tell Live to re-index the pack when it gets regenerated.
revision=int(time()),
) as p:
p.set_file("Preset.adg", "/path/to/Preset.adg")
p.set_preview("Preset.adg", "/path/to/Preset.adg.ogg")
p.set_tags("Preset", [
("Sounds", "Lead"),
("Custom", "Tag", "Subtag")
])
An async variant is also available:
import asyncio
from alpax import DirectoryPackWriterAsync
from time import time
async def run():
async with DirectoryPackWriterAsync(
"/path/to/output_dir",
name="My Pack",
unique_id="my.unique.id",
revision=int(time()),
) as p:
await p.set_file("Preset.adg", "/path/to/Preset.adg")
# ...
asyncio.run(run())
Metadata
Release files for alpax 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| alpax-0.2.0.tar.gz | 11.0 kB | Without provenance | Details for alpax-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| alpax-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for alpax-0.2.0-py3-none-any.whl |
Total release size: 17.7 kB
Release files / alpax-0.2.0.tar.gz
| Download URL | alpax-0.2.0.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd43bfec400f13fec4a9f86b8054cdbcc253ab5b1e9cf3053ee5fc8bf04be464
|
|
BLAKE2b-256 checksum How to use checksums |
ecad98ef3cf95ae9c95cd34ef31ee606d71a42c2280c2d1168e72f98ab6c8632
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / alpax-0.2.0-py3-none-any.whl
| Download URL | alpax-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d1635cc4f525a72e6d37c272de04dcd29e4467ba96f474fa29bcf581f141720
|
|
BLAKE2b-256 checksum How to use checksums |
fc6cd70dc4b79c6b4d4d4b7bcb64fc97ff418790eb09ee8a6284acc506a4a9e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for alpax 0.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.