Skip to main content

PyroSpeak 🗣️

PyroSpeak is a simple and flexible Python library for Text-to-Speech (TTS) and Speech-to-Text (STT), designed to work with multiple engines, both online and offline, using a clean and beginner-friendly API.

It aims to provide a single, unified interface for common speech tasks without forcing you to deal with low-level audio details.

Features

  • Multiple TTS engines (online & offline)
  • Multiple STT engines (FastSTT, Whisper)
  • Minimal and intuitive API
  • Suitable for experiments, bots, and small AI projects
  • Works well with real-time audio

Quick Example

from pyrospeak import speak, record

# Text to Speech
speak("Hello world!", engine="gtts")

# Speech to Text
text = record(engine="whisper")
print(text)

Supported Engines

Text-to-Speech (TTS)

  • gTTS (Google Text-to-Speech)
  • pyttsx3 (offline)
  • ElevenLabs (API-based)

Speech-to-Text (STT)

  • FastSTT
  • Whisper (OpenAI)

Configuration

Most functions are configurable through keyword arguments such as:

  • engine
  • language
  • model size / device
  • time limits

Refer to the source code for full parameter lists.

License

MIT License

Metadata

Release files for pyrospeak 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyrospeak 0.0.1
File Size Uploaded
pyrospeak-0.0.1.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyrospeak 0.0.1
File Interpreter ABI Platform
pyrospeak-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / pyrospeak-0.0.1.tar.gz

Download URL pyrospeak-0.0.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2e75e59ecf2097febbc7bffccedd1a059da8afb185c3ce4cc92b9aa51d021819
BLAKE2b-256 checksum
How to use checksums
c77208be03534691a937752e1f4db85ce5cffcdf71ac38b9f29adffb16a65719
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release files / pyrospeak-0.0.1-py3-none-any.whl

Download URL pyrospeak-0.0.1-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
feccc9e071d49dd29ddfdff533000b306a377f8b40f4751a54c3ba9c9ec77ce7
BLAKE2b-256 checksum
How to use checksums
51e8b3758dfe31cc0df8654be716782701cd19e7d3da4cf4d8275bd550af013c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page