Metadata-Version: 2.4
Name: neckenml-core
Version: 0.3.0
Summary: Core components for Swedish folk music classification (MIT licensed)
Author: NeckenML Contributors
License: MIT
Project-URL: Homepage, https://github.com/svnoak/neckenml-analyzer
Project-URL: Repository, https://github.com/svnoak/neckenml-analyzer
Project-URL: Issues, https://github.com/svnoak/neckenml-analyzer/issues
Keywords: music,folk,swedish,classification,dance
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.20.0
Requires-Dist: scikit-learn>=1.0.0
Requires-Dist: joblib>=1.0.0
Requires-Dist: sqlalchemy>=2.0.0
Requires-Dist: psycopg2-binary>=2.9.0
Requires-Dist: pgvector>=0.1.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-cov>=3.0.0; extra == "dev"
Requires-Dist: black>=22.0.0; extra == "dev"
Requires-Dist: flake8>=4.0.0; extra == "dev"
Dynamic: license-file

# neckenml-core

Core components for Swedish folk music classification. **MIT licensed**

## Installation

```bash
pip install neckenml-core
```

## What's Included

- **Database Models**: `Track`, `AnalysisSource`, `TrackDanceStyle` (SQLAlchemy)
- **Classifier**: `StyleClassifier`, `ClassificationHead`, `ClassifierParams`
- **Audio Sources**: `AudioSource` (interface), `FileAudioSource`
- **Training**: `TrainingService` for model training

## Usage

```python
from neckenml.core import StyleClassifier, ClassificationHead, Track

# Use pre-computed feature vectors for classification
classifier = StyleClassifier()
results = classifier.classify(track, analysis_data)
```

## License

MIT License - see [LICENSE](LICENSE) for details.

## Full Package

For audio analysis capabilities (requires AGPL-licensed Essentia), install the full package:

```bash
pip install neckenml  # or pip install neckenml-analyzer
```
