🎙️ 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 | |
|---|---|---|---|
| moonshine_lite-0.0.3.tar.gz | 506.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| moonshine_lite-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
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
|