python-voiceio 1.17.1__tar.gz → 1.17.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_voiceio-1.17.1/python_voiceio.egg-info → python_voiceio-1.17.2}/PKG-INFO +1 -1
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/pyproject.toml +1 -1
- {python_voiceio-1.17.1 → python_voiceio-1.17.2/python_voiceio.egg-info}/PKG-INFO +1 -1
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_sherpa.py +59 -3
- python_voiceio-1.17.2/voiceio/__init__.py +1 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/decoders/catalog.py +22 -3
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/decoders/fetch.py +15 -6
- python_voiceio-1.17.1/voiceio/__init__.py +0 -1
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/LICENSE +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/README.md +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/python_voiceio.egg-info/SOURCES.txt +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/python_voiceio.egg-info/dependency_links.txt +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/python_voiceio.egg-info/entry_points.txt +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/python_voiceio.egg-info/requires.txt +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/python_voiceio.egg-info/top_level.txt +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/setup.cfg +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_announce.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_app_wiring.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_audio_quality.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_audio_source.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_backend_probes.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_cancel.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_cli.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_clipboard_read.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_clipboard_typer.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_commands.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_concurrency_lockdown.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_config.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_context_terms.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_corrections.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_dead_mic.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_decoders.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_engine.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_errorlog.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_evdev_uaccess.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_fallback.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_fcitx_bridge.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_feedback_stream.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_focus.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_gpu_fallback.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_health.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_hints.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_history.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_hotkey_modes.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_ibus_engine_limits.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_ibus_engine_listener.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_ibus_pending.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_ibus_pids.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_ibus_ping.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_ibus_session.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_ibus_textlimit.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_ibus_typer.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_idle_audio.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_learn_clean.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_learn_import.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_learn_language.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_learn_metrics.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_learn_pipeline.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_learn_quiet.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_learn_resume.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_learn_review.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_learn_targets.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_llm.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_llm_api.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_mic_gain.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_modifier_guard.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_numbers.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_paste_last.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_pipeline.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_platform.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_postcorrect.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_postprocess.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_prebuffer.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_presence.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_prompt.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_quiet_audio.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_recorder_integration.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_report.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_retention.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_robustness.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_security_hardening.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_server.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_service.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_setup.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_spool.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_streaming.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_suggest.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_tokens.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_transcriber.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_tray.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_tts.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_typer_manager.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_vad.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_vocabulary.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_wordfreq.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/tests/test_worker_decode.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/__main__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/announce.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/app.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/audio_source.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/backends.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/cli/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/cli/configcmd.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/cli/corrections.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/cli/doctor.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/cli/history.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/cli/learn.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/cli/models.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/cli/servicecmd.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/cli/uninstall.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/cli/vocab.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/clipboard_read.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/commands.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/config.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/consent.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/context_terms.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/bias.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/decoders/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/decoders/base.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/decoders/faster_whisper/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/decoders/faster_whisper/worker.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/decoders/lanes.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/decoders/sherpa.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/decoders/whispercpp.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/engine.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/pipeline.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/corrections.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/data/60-voiceio-uaccess.rules +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/data/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/demo.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/display.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/errorlog.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/feedback.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/focus.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/health.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/hints.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/history.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/hotkeys/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/hotkeys/base.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/hotkeys/chain.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/hotkeys/evdev.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/hotkeys/pynput_backend.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/hotkeys/socket_backend.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/ibus/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/ibus/engine.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/ibus/install.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/ibus/pending.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/ibus/session.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/ibus/textlimit.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/idle_audio.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/learn/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/learn/augment.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/learn/clean.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/learn/evaluate.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/learn/importer.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/learn/metrics.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/learn/quiet.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/learn/review.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/learn/store.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/learn/teacher.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/learn/train.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/llm.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/llm_api.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/mic_gain.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/models/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/models/silero_vad.onnx +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/numbers.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/pidlock.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/platform.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/postcorrect.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/postprocess.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/power.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/presence.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/privacy.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/prompt.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/quiet_audio.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/recorder.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/report.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/retention.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/server/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/server/__main__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/server/app.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/server/config.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/server/runtime.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/service.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/setup/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/setup/configfile.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/setup/extras.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/setup/hotkey.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/setup/noninteractive.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/setup/speech.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/setup/steps.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/setup/system.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/setup/ui.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/sounds/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/sounds/alert.wav +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/sounds/commit.wav +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/sounds/start.wav +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/sounds/stop.wav +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/spool.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/streaming.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/suggest.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/tokens.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/tray/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/tray/_icons.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/tray/_indicator.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/tray/_pystray.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/tts/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/tts/base.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/tts/chain.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/tts/edge_engine.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/tts/espeak.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/tts/piper_engine.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/tts/player.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/tts/supertonic_engine.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/typers/__init__.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/typers/base.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/typers/chain.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/typers/clipboard.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/typers/collecting.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/typers/fcitx_bridge.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/typers/ibus.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/typers/manager.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/typers/modifier_guard.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/typers/paste.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/typers/pynput_type.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/typers/wtype.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/typers/xdotool.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/typers/ydotool.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/ui.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/vad.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/vocab_stats.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/vocabulary.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/watchdog.py +0 -0
- {python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/wordfreq.py +0 -0
|
@@ -226,7 +226,32 @@ def test_runtime_and_whisper_detection():
|
|
|
226
226
|
assert not catalog.is_whisper(catalog.PARAKEET)
|
|
227
227
|
m = catalog.info(catalog.PARAKEET)
|
|
228
228
|
assert m.url.startswith("https://github.com/k2-fsa/sherpa-onnx/releases/")
|
|
229
|
-
assert len(
|
|
229
|
+
assert m.sha256s and all(len(h) == 64 for h in m.sha256s) and "huggingface" not in m.url
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
def test_every_downloaded_model_pins_valid_sha256s():
|
|
233
|
+
for m in catalog.CATALOG:
|
|
234
|
+
if m.url:
|
|
235
|
+
assert m.sha256s, m.name
|
|
236
|
+
assert all(len(h) == 64 and int(h, 16) >= 0 for h in m.sha256s), m.name
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
def test_parakeet_pins_both_the_reuploaded_and_the_old_archive():
|
|
240
|
+
# Hugo0/voiceio#9: sherpa-onnx re-uploaded both archives on 2026-11-07.
|
|
241
|
+
v3 = catalog.info(catalog.PARAKEET_V3).sha256s
|
|
242
|
+
assert "1495e91b59d7fc53ddca91f3431758ec99f8fa253fdb0e1e851be0f72b14b0f9" in v3
|
|
243
|
+
assert "5793d0fd397c5778d2cf2126994d58e9d56b1be7c04d13c7a15bb1b4eafb16bf" in v3
|
|
244
|
+
v2 = catalog.info(catalog.PARAKEET).sha256s
|
|
245
|
+
assert "6fc4426b54aa549a0019b8a75b8dea59164e71790a37ac56a045ad57f915f714" in v2
|
|
246
|
+
assert "157c157bc51155e03e37d2466522a3a737dd9c72bb25f36eb18912964161e1ad" in v2
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
def test_pins_accepts_a_string_or_a_tuple():
|
|
250
|
+
assert catalog.pins("") == ()
|
|
251
|
+
assert catalog.pins("AB") == ("ab",)
|
|
252
|
+
assert catalog.pins(("a", "b")) == ("a", "b")
|
|
253
|
+
assert catalog.ModelInfo("x", "sherpa-onnx", "1", "x", BiasMode.UNBOUNDED,
|
|
254
|
+
sha256="cd").sha256s == ("cd",)
|
|
230
255
|
|
|
231
256
|
|
|
232
257
|
def test_catalog_model_is_fetched_on_first_use(fake, monkeypatch, tmp_path):
|
|
@@ -271,10 +296,11 @@ def _serve(monkeypatch, body: bytes):
|
|
|
271
296
|
monkeypatch.setattr("urllib.request.urlopen", lambda req, timeout=0: Resp(body))
|
|
272
297
|
|
|
273
298
|
|
|
274
|
-
def _entry(monkeypatch, body: bytes):
|
|
299
|
+
def _entry(monkeypatch, body: bytes, sha256=None):
|
|
275
300
|
m = catalog.ModelInfo("pk-test", "sherpa-onnx", "1", "x", BiasMode.UNBOUNDED,
|
|
276
301
|
url="https://github.com/x.tar.bz2",
|
|
277
|
-
sha256=hashlib.sha256(body).hexdigest(),
|
|
302
|
+
sha256=hashlib.sha256(body).hexdigest() if sha256 is None else sha256,
|
|
303
|
+
size_mb=1)
|
|
278
304
|
monkeypatch.setattr(fetch, "info", lambda name: m if name == "pk-test" else None)
|
|
279
305
|
|
|
280
306
|
|
|
@@ -377,3 +403,33 @@ def test_wizard_offers_parakeet_first_only_where_it_can_bias(monkeypatch):
|
|
|
377
403
|
assert choices[0][0] == catalog.PARAKEET and speech.default_choice(choices) == 0
|
|
378
404
|
assert not any("recommended" in c[2] for c in choices[1:])
|
|
379
405
|
assert speech.model_choices("es") is speech.MODELS
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
def test_download_accepts_any_pinned_sha256(monkeypatch, tmp_path):
|
|
409
|
+
monkeypatch.setattr(config, "MODELS_DIR", tmp_path)
|
|
410
|
+
body = _tarball()
|
|
411
|
+
_entry(monkeypatch, body, sha256=("0" * 64, hashlib.sha256(body).hexdigest()))
|
|
412
|
+
_serve(monkeypatch, body)
|
|
413
|
+
assert fetch.download("pk-test") == tmp_path / "pk-test"
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
def test_checksum_mismatch_names_every_pin_and_the_issue_tracker(monkeypatch, tmp_path):
|
|
417
|
+
monkeypatch.setattr(config, "MODELS_DIR", tmp_path)
|
|
418
|
+
body = _tarball()
|
|
419
|
+
_entry(monkeypatch, body, sha256=("a" * 64, "b" * 64))
|
|
420
|
+
_serve(monkeypatch, body)
|
|
421
|
+
with pytest.raises(OSError) as e:
|
|
422
|
+
fetch.download("pk-test")
|
|
423
|
+
msg = str(e.value)
|
|
424
|
+
assert "checksum mismatch" in msg and "download again" in msg
|
|
425
|
+
assert "aaaaaaaaaaaa… or bbbbbbbbbbbb…" in msg
|
|
426
|
+
assert "re-uploaded" in msg and "https://github.com/Hugo0/voiceio/issues" in msg
|
|
427
|
+
assert sorted(p.name for p in tmp_path.iterdir()) == [] # nothing left behind
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
def test_download_without_a_pin_refuses_before_fetching(monkeypatch, tmp_path):
|
|
431
|
+
monkeypatch.setattr(config, "MODELS_DIR", tmp_path)
|
|
432
|
+
_entry(monkeypatch, b"", sha256=())
|
|
433
|
+
monkeypatch.setattr("urllib.request.urlopen", lambda *a, **k: pytest.fail("fetched"))
|
|
434
|
+
with pytest.raises(OSError, match="no pinned sha256"):
|
|
435
|
+
fetch.download("pk-test")
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.17.2"
|
|
@@ -35,10 +35,25 @@ class ModelInfo:
|
|
|
35
35
|
experimental: bool = False
|
|
36
36
|
# Models voiceio downloads itself (sherpa-onnx): a release tarball, its
|
|
37
37
|
# sha256, and its size. faster-whisper models come from the HF cache.
|
|
38
|
+
# `sha256` may be a tuple of known-good digests: upstream sometimes
|
|
39
|
+
# re-uploads an archive, and old caches and mirrors still hold the old one.
|
|
40
|
+
# Every digest is pinned by hand; never trust a live one from GitHub.
|
|
38
41
|
url: str = ""
|
|
39
|
-
sha256: str = ""
|
|
42
|
+
sha256: str | tuple[str, ...] = ""
|
|
40
43
|
size_mb: int = 0
|
|
41
44
|
|
|
45
|
+
@property
|
|
46
|
+
def sha256s(self) -> tuple[str, ...]:
|
|
47
|
+
"""Every known-good sha256 of the archive (empty when there is none)."""
|
|
48
|
+
return pins(self.sha256)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def pins(sha256: str | tuple[str, ...]) -> tuple[str, ...]:
|
|
52
|
+
"""A pin (one digest or a tuple of them) as a tuple, lower-cased."""
|
|
53
|
+
if isinstance(sha256, str):
|
|
54
|
+
sha256 = (sha256,) if sha256 else ()
|
|
55
|
+
return tuple(h.lower() for h in sha256)
|
|
56
|
+
|
|
42
57
|
|
|
43
58
|
_SHERPA_RELEASES = "https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models"
|
|
44
59
|
|
|
@@ -51,14 +66,18 @@ CATALOG: tuple[ModelInfo, ...] = (
|
|
|
51
66
|
notes="default when sherpa-onnx has the NeMo TDT beam-search fix: text ~0.7s after you stop "
|
|
52
67
|
"talking vs ~4.4s with Whisper, every proper noun of your vocabulary as a hotword",
|
|
53
68
|
url=f"{_SHERPA_RELEASES}/sherpa-onnx-nemo-parakeet-tdt-0.6b-v2-int8.tar.bz2",
|
|
54
|
-
|
|
69
|
+
# Re-uploaded upstream 2026-11-07 (Hugo0/voiceio#9); the old one stays valid.
|
|
70
|
+
sha256=("6fc4426b54aa549a0019b8a75b8dea59164e71790a37ac56a045ad57f915f714",
|
|
71
|
+
"157c157bc51155e03e37d2466522a3a737dd9c72bb25f36eb18912964161e1ad"),
|
|
55
72
|
size_mb=482),
|
|
56
73
|
ModelInfo(PARAKEET_V3, "sherpa-onnx", "600M", "CC-BY-4.0", BiasMode.UNBOUNDED,
|
|
57
74
|
languages=",".join(sorted(PARAKEET_V3_LANGUAGES)),
|
|
58
75
|
notes="the default for the other 24 European languages it covers; v2 stays the "
|
|
59
76
|
"English default (trained on English only, lower English WER)",
|
|
60
77
|
url=f"{_SHERPA_RELEASES}/sherpa-onnx-nemo-parakeet-tdt-0.6b-v3-int8.tar.bz2",
|
|
61
|
-
|
|
78
|
+
# Re-uploaded upstream 2026-11-07 (Hugo0/voiceio#9); the old one stays valid.
|
|
79
|
+
sha256=("1495e91b59d7fc53ddca91f3431758ec99f8fa253fdb0e1e851be0f72b14b0f9",
|
|
80
|
+
"5793d0fd397c5778d2cf2126994d58e9d56b1be7c04d13c7a15bb1b4eafb16bf"),
|
|
62
81
|
size_mb=487),
|
|
63
82
|
ModelInfo("small", "faster-whisper", "244M", "MIT", BiasMode.HOTWORDS | BiasMode.PROMPT,
|
|
64
83
|
notes="~5x realtime on a laptop CPU; hotwords cap ~35 terms; "
|
|
@@ -16,7 +16,7 @@ import urllib.request
|
|
|
16
16
|
from collections.abc import Callable
|
|
17
17
|
from pathlib import Path
|
|
18
18
|
|
|
19
|
-
from voiceio.core.decoders.catalog import ModelInfo, info
|
|
19
|
+
from voiceio.core.decoders.catalog import ModelInfo, info, pins
|
|
20
20
|
|
|
21
21
|
log = logging.getLogger(__name__)
|
|
22
22
|
|
|
@@ -72,15 +72,22 @@ def download(name: str, *, progress: Callable[[int, int], None] | None = None) -
|
|
|
72
72
|
what="encoder/decoder/joiner/tokens.txt", progress=progress)
|
|
73
73
|
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
ISSUES = "https://github.com/Hugo0/voiceio/issues"
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def download_archive(name: str, url: str, sha256: str | tuple[str, ...], size_mb: int,
|
|
76
79
|
complete: Callable[[Path], bool], *, what: str,
|
|
77
80
|
progress: Callable[[int, int], None] | None = None) -> Path:
|
|
78
81
|
"""Fetch, verify and unpack a sherpa-onnx release tarball as
|
|
79
|
-
`models_dir()/name`. `
|
|
80
|
-
|
|
82
|
+
`models_dir()/name`. `sha256` is one known-good digest or a tuple of
|
|
83
|
+
them; the archive must match one. `complete` says whether a directory
|
|
84
|
+
holds the whole model (`what` names its files for the error)."""
|
|
81
85
|
dest = model_path(name)
|
|
82
86
|
if complete(dest):
|
|
83
87
|
return dest
|
|
88
|
+
known = pins(sha256)
|
|
89
|
+
if not known:
|
|
90
|
+
raise OSError(f"{name}: no pinned sha256 — not downloading")
|
|
84
91
|
root = models_dir()
|
|
85
92
|
root.mkdir(parents=True, exist_ok=True)
|
|
86
93
|
part = root / f".{name}.{os.getpid()}.part"
|
|
@@ -98,9 +105,11 @@ def download_archive(name: str, url: str, sha256: str, size_mb: int,
|
|
|
98
105
|
done += len(block)
|
|
99
106
|
if progress is not None:
|
|
100
107
|
progress(done, total)
|
|
101
|
-
if digest.hexdigest()
|
|
108
|
+
if digest.hexdigest() not in known:
|
|
109
|
+
want = " or ".join(f"{h[:12]}…" for h in known)
|
|
102
110
|
raise OSError(f"{name}: checksum mismatch (got {digest.hexdigest()[:12]}…, "
|
|
103
|
-
f"want {
|
|
111
|
+
f"want {want}) — download again; if it keeps failing, upstream "
|
|
112
|
+
f"may have re-uploaded the archive: report it at {ISSUES}")
|
|
104
113
|
_unpack(part, staging)
|
|
105
114
|
if not complete(staging):
|
|
106
115
|
raise OSError(f"{name}: the archive has no {what}")
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.17.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_voiceio-1.17.1 → python_voiceio-1.17.2}/python_voiceio.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/decoders/faster_whisper/__init__.py
RENAMED
|
File without changes
|
{python_voiceio-1.17.1 → python_voiceio-1.17.2}/voiceio/core/decoders/faster_whisper/worker.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|