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.1
git push origin v0.1.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


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.1.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.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

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

Hashes for lumi_tantrum_pipeline-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d7a10c0a97345d5100f3cfa45a0adf194992254ecde9d026dd5594ba1b8b91dd
MD5 a94b1adca20c3533a53f96e55e777508
BLAKE2b-256 fe312c7fee820d0df1c60ba335291300e6d0a2aa24ce6a5c00b89575b404c73b

See more details on using hashes here.

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

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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lumi_tantrum_pipeline-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aae8890f47c89b7fd9976674ac1ddaf25f94389b4cd5ba911f7450bdc11d2edb
MD5 0f8f03ff3083b9e8f1d6287e0fd57387
BLAKE2b-256 45d59b497d8b8fbe8ba8f4648dda45b15d5888194151bb8c490be7672f3fc988

See more details on using hashes here.

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

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