Skip to main content

beatlyze-analyzer

Audio feature extraction library: BPM, musical key, energy, danceability, valence, LUFS loudness, mood tags, genre suggestions, and structural sections.

Installation

Light tier (librosa-only, cross-platform):

pip install "beatlyze-analyzer[light]"

Full tier (Essentia for higher-quality extraction; Linux x86_64 / macOS arm64):

pip install "beatlyze-analyzer[full]"

Usage

from beatlyze_analyzer import analyze

result = analyze("/path/to/track.mp3")
print(result["bpm"])          # 128.4
print(result["key_notation"]) # "Am"
print(result["mood_tags"])    # ["energetic", "dark"]

Output fields

Field Type Description
bpm float Tempo in beats per minute
bpm_confidence float 0–1 Extraction confidence
key str Root note (e.g. "A")
scale str "major" or "minor"
key_notation str Shorthand (e.g. "Am")
key_confidence float 0–1
energy float 0–1 Perceived loudness / intensity
danceability float 0–1 Beat regularity + onset density
valence float 0–1 Musical positivity
loudness_lufs float Integrated loudness (LUFS R128)
mood_tags list[str] e.g. ["energetic", "uplifting"]
genre_suggestions list[str] Top 3 genre labels
duration_seconds float Track length
time_signature int Beats per bar (2, 3, 4, or 6)
sections list[dict] Structural segments with per-section features

License

AGPLv3 — required by the Essentia dependency (AGPLv3). Source code must remain publicly available when used in a network service.

Metadata

Release files for beatlyze-analyzer 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beatlyze-analyzer 0.1.0
File Size Uploaded Provenance Actions
beatlyze_analyzer-0.1.0.tar.gz 21.8 kB Without provenance Details for beatlyze_analyzer-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for beatlyze-analyzer 0.1.0
File Interpreter ABI Platform Actions
beatlyze_analyzer-0.1.0-py3-none-any.whl Python 3 none any Details for beatlyze_analyzer-0.1.0-py3-none-any.whl

Total release size: 43.0 kB

Release files / beatlyze_analyzer-0.1.0.tar.gz

Download URL beatlyze_analyzer-0.1.0.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
edf62816a0abddcfd4b13994dc059deb3febede4a38f48bae8908ce749188cb5
BLAKE2b-256 checksum
How to use checksums
0896cc4558127e3f91fecfecdcb45ff7f3fbce52a21a94495da8729ba6311054
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / beatlyze_analyzer-0.1.0-py3-none-any.whl

Download URL beatlyze_analyzer-0.1.0-py3-none-any.whl
Size 21.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92ddbffd45bac356ab8b9c8445c2404be7b369d192c0be49642b8467a81555da
BLAKE2b-256 checksum
How to use checksums
e617a5c4dc495c1df338e0c45d98c7e4eafe9e0b985709478edc26b35a8f9919
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Security for beatlyze-analyzer 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page