This release is a pre-release and may not be stable for production use.
Friday Speech
Speech-service contracts and orchestration for text-to-speech, speech-to-text, wake-word detection, selection, chunking and playback. Provider SDKs and audio hardware are optional application choices.
Distribution: friday-framework-speech · Import: friday_speech
Python: 3.13.4+ · Status: alpha · License: MIT
Installation
python -m pip install "friday-framework-speech==0.1.0a4"
Friday distributions use the same release version; keep internal Friday dependencies aligned.
Quick start: construct a disabled service
import asyncio
from friday_speech import SpeechConfig, SpeechService
async def main() -> None:
service = SpeechService(SpeechConfig(enabled=False))
try:
await service.speak("Speech is disabled; nothing is synthesized.")
print(service.config.enabled)
finally:
await service.close()
asyncio.run(main())
Expected output includes False. This is a lifecycle/configuration smoke example, not an audio demonstration: it needs no credentials, network, microphone or speaker.
Enable a provider
python -m pip install "friday-framework-speech[elevenlabs]==0.1.0a4"
# Or install the Picovoice integration:
python -m pip install "friday-framework-speech[picovoice]==0.1.0a4"
- ElevenLabs supplies TTS; Picovoice supplies its supported TTS, STT and wake-word adapters.
- Enable speech and select/configure the provider through
SpeechConfigor the owning application's speech YAML. Supply credential values at assembly time from your secret store. - Live recording/playback needs compatible audio devices and OS permissions. File output is a separate mode.
AdapterRegistryaccepts explicit TTS/STT/wake-word implementations for tests or custom integrations.- Close owned service resources in
finally.SpeechHarnessis a local test harness, not a daemon or an automatically enabled Chat feature.
See the speech guide for the full configuration and hardware requirements. Installing an extra alone never opts your application into microphone capture or provider calls.
Development
Work from the monorepo root after the shared contributor setup. Run the focused suite:
uv run --no-sync pytest packages/friday-speech/tests_speech -q
Documentation and support
Speech configuration · Chat integration · Source · Issues · Contributing
License
MIT.
Metadata
Release files for friday-framework-speech 0.1.0a4
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 |
|---|---|---|---|---|
| friday_framework_speech-0.1.0a4.tar.gz | 15.3 kB | Without provenance | Details for friday_framework_speech-0.1.0a4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| friday_framework_speech-0.1.0a4-py3-none-any.whl | Python 3 | none | any | Details for friday_framework_speech-0.1.0a4-py3-none-any.whl |
Total release size: 34.6 kB
Release files / friday_framework_speech-0.1.0a4.tar.gz
| Download URL | friday_framework_speech-0.1.0a4.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80df55ec59000c4162a021814c3dfd709ecb29e6dbdb500a7173b7c49479a59e
|
|
BLAKE2b-256 checksum How to use checksums |
d9ec8be9b78b471e219898bebd33dfe1e4b7486eb51d9d9ba52c4ac39624ced6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"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}
|
Release files / friday_framework_speech-0.1.0a4-py3-none-any.whl
| Download URL | friday_framework_speech-0.1.0a4-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e688d49d27fc67b8620473fbc83bbe65cb554a81a363c6f42769cf3272af89e
|
|
BLAKE2b-256 checksum How to use checksums |
e721313773535642b4004a17ebb2f063d9c260c1016212e1cf96ddf9a3e46c94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"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}
|
Security for friday-framework-speech 0.1.0a4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.