Skip to main content

A utility library for working with speech-to-text transcriptions.

Project description

stt-utils

PyPI version License: MIT

A utility library for working with word-level speech-to-text timestamps. The main goal is to simplify working with timestamps generated by openai's whisper model with "word" timestamp_granularities.

Features

  • Realign word timestamps with full text
  • Merge several transcriptions together
  • (Optional dependency) Split long audio into smaller segments by moments of silence.

Installation

pip install stt-utils

With audio tools support:

pip install "stt-utils[audio]"

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

stt_utils-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

stt_utils-0.1.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file stt_utils-0.1.0.tar.gz.

File metadata

  • Download URL: stt_utils-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for stt_utils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5133169b19ce541bf6fac490bca6796bf2848895316d99ad9e193373f3d53ae6
MD5 022a23f8c0e87af33bf4c63e898b5a02
BLAKE2b-256 f06ec9a731087a5a259121141c19afa0b429dc2229ccc1601982a928060c5835

See more details on using hashes here.

File details

Details for the file stt_utils-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: stt_utils-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for stt_utils-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cee2a217500bba1897673143f95190b2321a6481d89ae73e9777c6444ddf627c
MD5 e4c802fb3f3b6934e4dd93092211471b
BLAKE2b-256 2fa36435513655be477339392a675e7ecab3deddde12ca4718d456fd12d85bd0

See more details on using hashes here.

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