meetecho/juturna
À propos
A python library for fast data pipeline prototyping
IA et apprentissage automatiqueProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- Historique en cours
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalJuturna – Python framework for real-time AI pipelines

|
|
|
|
Stability
Juturna follows Semantic Versioning: breaking changes come only with a new major version, and are listed in the changelog. The versions that get security fixes are in the security policy.
At a glance
Juturna is a Python framework for real-time AI pipelines on audio, video and data, built for fast prototyping that doesn't stop at the prototype: a JSON file and a few Python nodes give you a working pipeline in minutes, and the same pipeline then runs behind an HTTP service, with its heaviest nodes on other machines, without rewriting its nodes.
Highlights:
- Real-Time Streaming: continuously process audio, video and arbitrary data streams
- Modularity: create your own nodes and share them as Python packages
- Composable workloads: design pipelines to solve complex tasks in minutes
- Concurrency: every node runs on workers of its own, fed by a bounded queue: threads by default, Web Workers in the browser
- Observability: a logger and failure counters for every node, and optional telemetry of every message received and transmitted
Quick start
A minimal example: no GPU, small models, not tuned for quality or latency. For production, work with Meetecho.
Transcribe an audio file: Juturna reads it in blocks, a voice activity detector cuts it into speech segments, Whisper transcribes them and the text is printed on the terminal. Juturna needs Python 3.12 or newer.
pip install juturna "juturna-nodes[audio-file,vad-silero,transcriber-whisper]" \
--index-url https://download.pytorch.org/whl/cpu \
--extra-index-url https://pypi.org/simple
vad-silero pulls in PyTorch. On Linux, the PyTorch wheels on PyPI
pull in the CUDA libraries: the two index options install the CPU-only build,
and the whole environment takes about 1.4 GB. With uv, add
--index-strategy unsafe-best-match:
uv pip install juturna "juturna-nodes[audio-file,vad-silero,transcriber-whisper]" \
--index-url https://download.pytorch.org/whl/cpu \
--extra-index-url https://pypi.org/simple \
--index-strategy unsafe-best-match
On macOS and Windows the PyTorch wheels on PyPI carry no CUDA libraries, so
pip install juturna "juturna-nodes[audio-file,vad-silero,transcriber-whisper]" is enough.
To test it, download Armstrong Small Step from Wikimedia Commons: 24 seconds of Neil Armstrong stepping onto the Moon, recorded by NASA and in the public domain.
curl -L -o Armstrong_Small_Step.ogg \
https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg
A pipeline is a JSON file that lists nodes and the links between them. Save
this as pipeline.json, next to the audio file. To use your own, point
file_source to an audio file in English (any format PyAV can read):
{
"version": "3.0.0",
"pipeline": {
"name": "transcribe_file",
"id": "transcribe_file_01",
"folder": "./run",
"nodes": [
{ "name": "audio", "type": "AudioFile",
"configuration": { "file_source": "Armstrong_Small_Step.ogg", "block_size": 2 } },
{ "name": "vad", "type": "VadSilero",
"configuration": { "min_silence_duration_ms": 500 } },
{ "name": "whisper", "type": "TranscriberWhisper",
"configuration": { "model_name": "tiny", "only_local": false,
"device": "cpu" } },
{ "name": "console", "type": "NotifierConsole", "configuration": {} }
],
"links": [
{ "from": "audio", "to": "vad" },
{ "from": "vad", "to": "whisper" },
{ "from": "whisper", "to": "console" }
]
}
}
Check it, then run it. --auto starts the pipeline without waiting for
enter, and --timeout stops it after that many seconds: give it a little
longer than your audio file.
python -m juturna validate --config pipeline.json
python -m juturna launch --config pipeline.json --auto --timeout 60
The text comes out as lines like [whisper] <the transcribed text>.
Whisper transcribes its last few blocks of speech every time a new one
arrives, so a sentence grows line after line until a whole block without
speech starts the next one. only_local: false lets Whisper download the model on the first run,
and device: cpu runs it without a GPU.
The documentation has more examples, a tutorial that writes your first nodes, and a guide to upgrade from Juturna 2.x.
Documentation: https://meetecho.github.io/juturna/index.html
Contribute: https://github.com/meetecho/juturna/blob/main/CONTRIBUTING.md
Taking a pipeline to production? Work with Meetecho
Contributing
We are glad you want to contribute, whether with a typo fix, a new feature
or more documentation.
CONTRIBUTING.md
covers the branch and PR workflow, code style, commit messages and the checks
CI runs.
Bugs and feature requests have their issue templates, and pull requests a template of their own. Everyone taking part follows the Code of Conduct. To report a vulnerability, follow the security policy.
If you are not sure where to start, feel free to open an issue to discuss your ideas first. We’re happy to help guide you through the process!
License
Distributed under the MIT License. See LICENSE for details.
Explorer des projets similaires
Chargement…