neckenml
Swedish folk music audio analysis and dance style classification.
This is the full package that includes both core classification and audio analysis.
AGPL-3.0 licensed
Installation
pip install neckenml
Quick Start
from neckenml import AudioAnalyzer, StyleClassifier
# Analyze an audio file
with AudioAnalyzer() as analyzer:
result = analyzer.analyze_file("path/to/track.mp3")
print(f"Style: {result['ml_suggested_style']}")
print(f"BPM: {result['tempo_bpm']}")
# Classify with the full classifier
classifier = StyleClassifier()
classifications = classifier.classify(track, result)
Package Structure
This metapackage installs:
| Package | License | Description |
|---|---|---|
neckenml-core |
MIT | Database models, classifier, training |
neckenml-analyzer |
AGPL | Audio analysis with Essentia |
MIT Alternative
If you only need classification (without audio analysis), install the MIT-licensed core:
pip install neckenml-core
from neckenml.core import StyleClassifier, Track, TrainingService
License
AGPL-3.0 License - see LICENSE for details.
Metadata
Release files for neckenml 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| neckenml-0.3.1.tar.gz | 14.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| neckenml-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.6 kB
Release files / neckenml-0.3.1.tar.gz
| Download URL | neckenml-0.3.1.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb61adc3da3fb29274ebe3a0aa305382662ef7c23f902ac3b62a500dc14f297c
|
|
BLAKE2b-256 checksum How to use checksums |
583533e3b8a4f7124fef8dcf667bbf584e8046119eee81fb3a32ce276e287985
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 10, 2026.
Transparency logRelease files / neckenml-0.3.1-py3-none-any.whl
| Download URL | neckenml-0.3.1-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e36dcf932dbfd26a1025714e4e4b286ba9f006134cc2cae73c0921badc3a19fd
|
|
BLAKE2b-256 checksum How to use checksums |
a2e589313a8ee424f27e8af8fe1dcb0e8abbd94803bfdfd174702a46df841847
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 10, 2026.
Transparency log