Skip to main content

🎙️ Moonshine Lite

Release Build status License

🚀 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 (listen and transcribe methods)

🚀 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

📚 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)

Source distribution for moonshine-lite 0.0.3
File Size Uploaded
moonshine_lite-0.0.3.tar.gz 506.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for moonshine-lite 0.0.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.3 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