Skip to main content

jarvis-speech-stt

Reusable speech-to-text and translation helpers extracted from the Jarvis project.

Install

python -m pip install jarvis-speech-stt

For local development, install the built wheel from dist/ instead. The distribution name is jarvis-speech-stt; the Python import name is jarvis_speech_stt.

Usage

from jarvis_speech_stt import speech_to_text_python

text = speech_to_text_python()
print(text)

The function adjusts for ambient noise, listens through the default microphone, uses SpeechRecognition's Google recognizer, translates the result to English, and returns the translated string or None when recognition fails.

Requirements and limitations

  • Python 3.10 or newer
  • A working microphone and PyAudio-compatible audio input
  • Network access for Google speech recognition and mtranslate
  • Browser/Selenium automation is not part of this reusable package

Microphone permissions and native audio drivers are system-dependent. The package catches expected microphone, timeout, recognition, and service errors, but it cannot grant operating-system permissions.

Metadata

Release files for jarvis-speech-stt 0.1.0

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

Source distribution (sdist)

Source distribution for jarvis-speech-stt 0.1.0
File Size Uploaded Provenance Actions
jarvis_speech_stt-0.1.0.tar.gz 2.7 kB Without provenance Details for jarvis_speech_stt-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jarvis-speech-stt 0.1.0
File Interpreter ABI Platform Actions
jarvis_speech_stt-0.1.0-py3-none-any.whl Python 3 none any Details for jarvis_speech_stt-0.1.0-py3-none-any.whl

Total release size: 5.8 kB

Release files / jarvis_speech_stt-0.1.0.tar.gz

Download URL jarvis_speech_stt-0.1.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c2261a31a0f6899f84a2e2d0f25d1761180ed00e9378b7bec40dbb2c218c14c2
BLAKE2b-256 checksum
How to use checksums
58cc52384d1d54eee6d002bfaed0b4df9712c46eb29b43349545a5aa3ffaf777
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / jarvis_speech_stt-0.1.0-py3-none-any.whl

Download URL jarvis_speech_stt-0.1.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97047961dc356f21cefabf684e63f8da42d2a8860bc87024638f450f6bbf4cdc
BLAKE2b-256 checksum
How to use checksums
03de06abb3ce2b85ac6b77477f4aa0f1dce6836895648d739b82a7ffd33ccf4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for jarvis-speech-stt 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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