Reusable tantrum analysis package built around YAMNet heuristics.
Project description
tantrum-classifier
Identify tantrum segments in an audio file.
The classifier is now being extracted into a reusable package surface,
lumi_tantrum_pipeline, while preserving the existing CLI workflow.
Current CLI
python classifier.py demo.wav
The CLI still supports:
--threshold--gap--segments-dir--out--plot--plot-out--no-save
Package Contract
The reusable package lives under lumi_tantrum_pipeline and exports the
router-facing contract surface through lumi_tantrum_pipeline.__init__.
Status
Initial parity and benchmark validation completed locally; broader router-side validation remains follow-up work.
Release
This package is intended to publish to PyPI via GitHub Actions Trusted Publishing.
Release flow:
- Ensure the version in
pyproject.tomlis the version you want to release. - Create and push a matching git tag:
git tag v0.1.1
git push origin v0.1.1
- GitHub Actions builds the distribution, verifies the tag matches
pyproject.toml, and publishes to PyPI.
Repository setup required before the first release:
- In PyPI, create a Trusted Publisher for
lumi-engineering/tantrum-classifier - Workflow name:
Publish PyPI Package
If you do not have access to GitHub Environments for this repository, leave the environment unset in the PyPI publisher configuration. The workflow publishes without requiring a GitHub environment.
The publish workflow lives in .github/workflows/publish-pypi.yml.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lumi_tantrum_pipeline-0.1.1.tar.gz.
File metadata
- Download URL: lumi_tantrum_pipeline-0.1.1.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7a10c0a97345d5100f3cfa45a0adf194992254ecde9d026dd5594ba1b8b91dd
|
|
| MD5 |
a94b1adca20c3533a53f96e55e777508
|
|
| BLAKE2b-256 |
fe312c7fee820d0df1c60ba335291300e6d0a2aa24ce6a5c00b89575b404c73b
|
Provenance
The following attestation bundles were made for lumi_tantrum_pipeline-0.1.1.tar.gz:
Publisher:
publish-pypi.yml on lumi-engineering/tantrum-classifier
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lumi_tantrum_pipeline-0.1.1.tar.gz -
Subject digest:
d7a10c0a97345d5100f3cfa45a0adf194992254ecde9d026dd5594ba1b8b91dd - Sigstore transparency entry: 1289062666
- Sigstore integration time:
-
Permalink:
lumi-engineering/tantrum-classifier@65197d32b2c77542fac94d0e6c8faaa06700386f -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/lumi-engineering
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@65197d32b2c77542fac94d0e6c8faaa06700386f -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file lumi_tantrum_pipeline-0.1.1-py3-none-any.whl.
File metadata
- Download URL: lumi_tantrum_pipeline-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aae8890f47c89b7fd9976674ac1ddaf25f94389b4cd5ba911f7450bdc11d2edb
|
|
| MD5 |
0f8f03ff3083b9e8f1d6287e0fd57387
|
|
| BLAKE2b-256 |
45d59b497d8b8fbe8ba8f4648dda45b15d5888194151bb8c490be7672f3fc988
|
Provenance
The following attestation bundles were made for lumi_tantrum_pipeline-0.1.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on lumi-engineering/tantrum-classifier
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lumi_tantrum_pipeline-0.1.1-py3-none-any.whl -
Subject digest:
aae8890f47c89b7fd9976674ac1ddaf25f94389b4cd5ba911f7450bdc11d2edb - Sigstore transparency entry: 1289062732
- Sigstore integration time:
-
Permalink:
lumi-engineering/tantrum-classifier@65197d32b2c77542fac94d0e6c8faaa06700386f -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/lumi-engineering
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@65197d32b2c77542fac94d0e6c8faaa06700386f -
Trigger Event:
workflow_dispatch
-
Statement type: