🎙️ Moonshine Lite
🚀 A lightweight Python wrapper for the moonshine speech-to-text models with real-time transcription capabilities
✨ Features
- ⚡ Small and fast (60MB model size)
- 🎤 Real-time transcription from microphone
- ⌨️ Simulated keyboard typing for app integration
- 📝 Support for WAV file transcription
- 🎯 Simple API (
listenandtranscribemethods)
🚀 Quick Start
Installation
pip install moonshine-lite
Basic Usage
from moonshine_lite import Moonshine
moonshine = Moonshine()
# Transcribe a WAV file
text = moonshine.transcribe("audio.wav")
print(text)
# Start live transcription (text will be typed in the current application)
# you need to press and hold the activation key (Cmd by default) to start listening
moonshine.listen()
💻 CLI
# Transcribe a WAV file
moonshine transcribe "audio.wav"
# Start live transcription (text will be typed in the current application)
# you need to press and hold the activation key (Cmd by default) to start listening
moonshine listen
# Use tiny model
moonshine --model moonshine/tiny listen
🙏 Credits
- Useful Sensors' Moonshine models
- Silero VAD for voice activity detection
📚 Documentation
No need :-D
Made with ❤️ by Yaser Martinez Palenzuela
Metadata
Release files for moonshine-lite 0.0.3
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 |
|---|---|---|---|---|
| moonshine_lite-0.0.3.tar.gz | 506.9 kB | Without provenance | Details for moonshine_lite-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| moonshine_lite-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for moonshine_lite-0.0.3-py3-none-any.whl |
Total release size: 1.0 MB
Release files / moonshine_lite-0.0.3.tar.gz
| Download URL | moonshine_lite-0.0.3.tar.gz |
|---|---|
| Size | 506.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a19e7effd2621d68e6e5cff8c5fd5846c88b0bc7543ee46558e0296be2dd0f8
|
|
BLAKE2b-256 checksum How to use checksums |
cf8c91759df03e2de8a9b129076ecca37335cb4272146aa8e52e0f46321c344c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / moonshine_lite-0.0.3-py3-none-any.whl
| Download URL | moonshine_lite-0.0.3-py3-none-any.whl |
|---|---|
| Size | 520.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91793271843ca87f8b3d21b4d381c434fe3568c6a0f8023258eed4b9cae68672
|
|
BLAKE2b-256 checksum How to use checksums |
adcf3866f2b05e705a840764efde724e55edfe06fe6fe0dbabe09003da48bb46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for moonshine-lite 0.0.3
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.