Latecript
Latecript is a Python application that transcribes and translates audio from your input devices in real-time using the Speechmatics API. The application provides a Textual-based TUI for an interactive experience.
(Developped quick and dirty with the help of Copilot)
Features
- Real-Time Transcription: Capture audio and transcribe speech in real-time.
- Translation: Translate transcribed text into different languages.
- TUI Interface: Interactive Textual UI for settings and displaying logs.
- Configurable Settings: Read credentials and configuration from a local JSON file.
Requirements
- Python 3.12 or above
- UV (for dependency management)
Getting your audio output as a usable input.
MacOs
You can use BlackHole for audio loopback. It can be installed via brew:
brew install blackhole-2ch
While using the app, chose "BlackHole 2ch" as your sound output. In order to still listen to what your mac sound output you can define a multi-output device (with you favourite output device + BlackHole 2ch) in the Audio MIDI setup.
Speechmatics API key
You can generate your speechmatics API key from your user account in speechmatics.
Usage
To run Latecript, execute:
uv run latecript
You can provide an alternative settings file via the command line:
uv run latecript --settings_file /path/to/your/settings.json
The settings file is a json file with the following structure:
{
"speechmatics_api_key": "Your Speechmatics API Key",
"output_device": "Blackhole 2ch",
"transcription_language": "fr",
"translation_language": "en"
}
License
This project is licensed under the MIT License. See LICENSE for details.
Contributing
Contributions are welcome! Please open issues and submit pull requests for improvements and bug fixes.
This app is not meant to be maintained and was developped in a quick and dirty way.
Acknowledgements
- Speechmatics for the API and SDK.
- Textual for the TUI framework.
- BlackHole for audio loopback driver for mac.
Metadata
Release files for latecript 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| latecript-0.1.5.tar.gz | 162.2 kB | With provenance | Details for latecript-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| latecript-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for latecript-0.1.5-py3-none-any.whl |
Total release size: 170.6 kB
Release files / latecript-0.1.5.tar.gz
| Download URL | latecript-0.1.5.tar.gz |
|---|---|
| Size | 162.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5c41193f2ed8e3f63a89a63119be6639a706f0fb71bc77fe21d33e3ce9694fb
|
|
BLAKE2b-256 checksum How to use checksums |
7d1c21a401f910b731d80db8ff1853528fb6a6c64f0d20242eb23f4123109e9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.
Transparency logRelease files / latecript-0.1.5-py3-none-any.whl
| Download URL | latecript-0.1.5-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f351769975274cf45371f00ae63c2ea1f845218cff5626363dfb1de266e645c8
|
|
BLAKE2b-256 checksum How to use checksums |
11a407363f9716e8efe2db9ac6e7e1ef11523f2e91027897be74f64ae21dd11e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.
Transparency logSecurity for latecript 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for latecript-0.1.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 26, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.