Files
konduktor/backend/requirements.txt
T

42 lines
2.4 KiB
Plaintext

# Unpinned lower bounds so pip picks versions with prebuilt Python 3.14 wheels
# (older pins force a from-source pydantic-core build that needs Rust).
fastapi>=0.115
uvicorn[standard]>=0.34
pydantic>=2.11
mutagen>=1.47 # embedded audio-file tag read/write (ID3/MP4/FLAC/AIFF)
av>=18.1,<20 # PyAV: FFmpeg's decoders in the wheel — waveforms for export, AAC on every OS. Before allowing a new major, check core/pyav.py (19 broke av.open)
Pillow>=11 # cover art -> the 80/240 px JPEGs a Pioneer export carries
python-multipart>=0.0.9 # multipart form parsing for cover-art upload
# Version-history backups: a self-contained git impl (no system git needed;
# ships prebuilt py3.14 wheels, no from-source build) + a per-OS user-writable
# app-data dir. Both bundle cleanly into the frozen sidecar.
dulwich>=0.22
platformdirs>=4.0
# Auto Hotcues: structural segmentation (McFee/Ellis Laplacian). Pure-Python,
# ~150MB; numba/llvmlite ship Python 3.14 wheels (verified). No torch/native build.
librosa>=0.11
scikit-learn>=1.5
# Traktor Pro 4 (NML v20) support requires the GitHub master (v4.0.0),
# NOT the stale PyPI release (3.1.0), which cannot parse v4 files.
traktor-nml-utils @ git+https://github.com/MrPatben8/traktor-nml-utils.git
# Rekordbox (master.db is SQLCipher-encrypted SQLite + per-track ANLZ analysis
# files). Both ship prebuilt Python 3.14 wheels — no Rust/OpenSSL source build.
#
# FROM GITHUB, NOT PyPI — the same situation as traktor-nml-utils above, and for
# the same kind of reason. PyPI's latest (0.4.4) has no `devicelib_plus`, which
# is the OneLibrary (`exportLibrary.db`) reader the OneLibrary adapter is built
# on; it exists only on master. Do not "simplify" this back to a version pin.
#
# The upgrade also renames `db6` to `masterdb`. `db6` still works as a
# deprecated alias and is removed in 0.6.0, so the Rekordbox adapter keeps
# running as-is — but that rename is the thing to fix before taking 0.6.
pyrekordbox @ git+https://github.com/dylanljones/pyrekordbox.git
# The stem engine and its weights are downloaded over HTTPS by the sidecar; a
# frozen Python on macOS has no system CA bundle of its own.
certifi>=2024.7
# Remote libraries (a Konduktor server on the user's NAS): the HTTP client the
# remote adapter speaks to it with, and the OS keychain (macOS Keychain /
# Windows Credential Manager) its password is kept in — never userprefs.json.
httpx>=0.27
keyring>=25