Files
konduktor/backend/requirements.txt

48 lines
2.8 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
# Imported directly (not only through librosa): loudness K-weighting and
# true-peak oversampling (core/loudness.py), grid detection, structure.
scipy>=1.11
# 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.
#
# Both GitHub dependencies are PINNED TO A COMMIT. Unpinned, a fresh install
# (CI's release build) takes whatever master is that day while a dev venv keeps
# what it had: pyrekordbox renamed `devicelib_plus` to `onelibrary` upstream,
# every local test passed, and the released app could not export or read a
# OneLibrary stick. Move a pin deliberately, with ./run_tests.sh.
traktor-nml-utils @ git+https://github.com/MrPatben8/traktor-nml-utils.git@d7f472aaf5be53e53921de351e948233e9c1d1e8
# 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 `onelibrary` module
# (`exportLibrary.db`, which the OneLibrary adapter is built on; it was called
# `devicelib_plus` before the rename) and no `masterdb` (formerly `db6`, now
# removed). Do not "simplify" this back to a version pin.
pyrekordbox @ git+https://github.com/dylanljones/pyrekordbox.git@43137cb91f8297c768d2a8bdce5b27b2225f0a2d
# 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