Skip to main content

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:

  1. Ensure the version in pyproject.toml is the version you want to release.
  2. Create and push a matching git tag:
git tag v0.1.2
git push origin v0.1.2
  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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lumi_tantrum_pipeline-0.1.2.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lumi_tantrum_pipeline-0.1.2-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file lumi_tantrum_pipeline-0.1.2.tar.gz.

File metadata

  • Download URL: lumi_tantrum_pipeline-0.1.2.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

Hashes for lumi_tantrum_pipeline-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9ee4cabaaa19332eb02f893283d4bb78652fc4b277a98cc97ba928dcd2ebeee8
MD5 f44952fd9683b66f4b65ae6808bc8e5a
BLAKE2b-256 74f6f08a9f1f9474c2682f1a416b021e53f415533b7ebf4bdd2fb3d8816dff67

See more details on using hashes here.

Provenance

The following attestation bundles were made for lumi_tantrum_pipeline-0.1.2.tar.gz:

Publisher: publish-pypi.yml on lumi-engineering/tantrum-classifier

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lumi_tantrum_pipeline-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for lumi_tantrum_pipeline-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4e338faf268f3ac56c9217a47d598d905a7b888e94965ce3a4e0440900b5f2f4
MD5 a118313edbc7a475738fd994169eb5b4
BLAKE2b-256 a6c340b5401749f52b9dd69a4c2860d9e8243a7285ced8949a8543582ee8cbe9

See more details on using hashes here.

Provenance

The following attestation bundles were made for lumi_tantrum_pipeline-0.1.2-py3-none-any.whl:

Publisher: publish-pypi.yml on lumi-engineering/tantrum-classifier

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page