music-assistant-models
Music Assistant Base Models
What it is and what it does
Music Assistant Models is a Python package that defines the shared data structures used by Music Assistant, a music streaming platform. It serves as a bridge between client and server components, ensuring consistent data representation across the system. The package relies on orjson for fast JSON serialization, mashumaro for efficient data marshalling, and unidecode for text normalization—all lightweight, focused dependencies that keep installation friction minimal.
This is a foundational library rather than a user-facing application. If you are building a Music Assistant client, integrating with a Music Assistant server, or developing plugins for the ecosystem, you will need these models to work with the platform's data types. The package is actively maintained (released 1 day ago) and supports current Python versions (3.11, 3.12, 3.13), making it a stable choice for integration work.
Use it for:
- Building a custom Music Assistant client that needs to deserialize and work with server responses.
- Developing Music Assistant plugins or extensions that exchange data with the core platform.
- Creating integrations between Music Assistant and other music services using shared model definitions.
- Testing Music Assistant server or client code that depends on consistent model schemas.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides shared data models for Music Assistant, a music streaming platform with client and server components, using efficient serialization via orjson and mashumaro.
Yes, if you are working within the Music Assistant ecosystem. The package is actively maintained, has low install friction, carries a permissive license, and has no known vulnerabilities. Install it only if you are building Music Assistant clients, plugins, or integrations; it is not a standalone tool for general music streaming use.
Install
music-assistant-models on PyPI
pip
pip install music-assistant-modelsuv
uv add music-assistant-modelspoetry
poetry add music-assistant-modelsInstalling music-assistant-models
Before you install
Active maintenance with a release 1 day old. Low install friction—pure Python wheel with only three lightweight runtime dependencies (orjson, mashumaro, unidecode). Requires Python 3.11 or later.
License in practice
Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install music-assistant-models
from music_assistant_models import SomeModel # Import a model class
model_instance = SomeModel() # Instantiate and use
Requires Python 3.11 or later; earlier versions are not supported.
Verify before relying
- What specific model classes and data structures are exported and what they represent in the Music Assistant ecosystem.
- Whether this package is intended for end-user applications or primarily for Music Assistant internal/plugin development.
- Performance characteristics or serialization benchmarks compared to alternative approaches.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — orjson, mashumaro, unidecode |
| Maintenance | actively maintained — 1 days since the last release |
| First released | |
| Downloads | 255,950/month — #8,469 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: music_assistant_models-1.1.188-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
music-assistant-clientPython async client library for connecting to…
permissive · top 15,000 on PyPI
music-assistant-frontendProvides a Vue-based progressive web app (PWA)…
permissive · top 15,000 on PyPI
symusicsymusic parses and transforms MIDI and ABC…
permissive · top 15,000 on PyPI
ytmusicapiytmusicapi lets you programmatically interact…
permissive · top 15,000 on PyPI
snacSNAC compresses audio into discrete…
unclear · top 15,000 on PyPI
music21music21 is a Python toolkit for analyzing,…
permissive · top 15,000 on PyPI
librosalibrosa provides audio and music signal…
permissive · top 5,000 on PyPI
mlx-audioMLX-Audio provides text-to-speech,…
permissive · top 15,000 on PyPI
amundsen-commonAmundsen Common provides shared utilities and…
unclear · top 15,000 on PyPI
laion-clapExtracts learned audio and text embeddings…
permissive · top 15,000 on PyPI