espeakng-loader
A Python package that provides shared library loader for eSpeak NG
What it is and what it does
espeakng-loader is a thin wrapper that locates and loads the espeak-ng shared library, making it available to other Python packages that depend on it for text-to-speech synthesis. It provides three functions: get_library_path() to retrieve the library location, load_library() to load it directly into memory, and make_library_available() to expose it globally for downstream packages.
The package ships precompiled wheels for common platforms (Linux x86-64 and arm64, Windows x86-64 and arm64, macOS x86-64 and arm), eliminating the need to compile espeak-ng yourself. It is primarily used as a dependency resolver for packages like phonemizer that wrap espeak-ng's functionality. The package has no runtime dependencies of its own.
Use it for:
- Set up espeak-ng for phonemizer or other text-to-speech libraries that require it as a system dependency.
- Programmatically retrieve the espeak-ng library path to pass to a downstream speech synthesis tool.
- Ensure espeak-ng is available in containerized or CI/CD environments without manual system package installation.
- Load espeak-ng directly in a Python application that needs phoneme generation or speech synthesis.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Loads the espeak-ng shared library and makes it available to other Python packages that need text-to-speech synthesis via espeak-ng.
Yes, if you need espeak-ng for a downstream package like phonemizer and want to avoid manual system library setup. The precompiled wheels make installation straightforward across platforms. However, verify the license terms first (currently unclear) and note that the package is dormant—no active maintenance since January 2025. If you need active support or encounter platform-specific issues, this may not be the right choice.
Install
espeakng-loader on PyPI
pip
pip install espeakng-loaderuv
uv add espeakng-loaderpoetry
poetry add espeakng-loaderInstalling espeakng-loader
Before you install
Medium install friction: the package ships precompiled wheels for Linux (x86-64, arm64), Windows (x86-64, arm64), and macOS (x86-64, arm), but is dormant since its latest release on 2025-01-17. No runtime dependencies.
License in practice
License status is unclear—no SPDX identifier or raw license text is declared. Verify the actual license terms before use in proprietary or copyleft-sensitive contexts.
Quickstart
pip install espeakng-loader
from espeakng_loader import get_library_path, load_library, make_library_available
library_path = get_library_path()
# Or load_library() to load directly
# Or make_library_available() to expose it to other libraries
Requires Python >=3.6. The espeak-ng system library must be available on the target platform for the loader to function.
Verify before relying
- Whether the espeak-ng system library is bundled or must be installed separately on each platform.
- Exact license terms and any attribution requirements for espeak-ng itself.
- Whether dormant status (no commits since 2025-01-17) indicates ongoing maintenance or abandonment.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | dormant — 574 days since the last release |
| First released | |
| Downloads | 1,009,750/month — #4,516 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: espeakng_loader-0.2.4-py3-none-macosx_10_12_x86_64.whl; espeakng_loader-0.2.4-py3-none-macosx_11_0_arm64.whl; espeakng_loader-0.2.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; espeakng_loader-0.2.4-py3-none-manylinux_2_28_aarch64.whl; espeakng_loader-0.2.4-py3-none-win_amd64.whl; espeakng_loader-0.2.4-py3-none-win_arm64.whl
Tags
More Linguistic packages
Detects and normalizes text encoding from…
permissive · top 100 on PyPI
tiktokentiktoken is a fast BPE tokenizer that converts…
permissive · top 1,000 on PyPI
chardetDetects character encoding and language in byte…
permissive · top 1,000 on PyPI
text-unidecodeConverts Unicode text to ASCII by…
copyleft · top 1,000 on PyPI
larkLark is a parsing library that builds abstract…
permissive · top 1,000 on PyPI
tree-sitterPython bindings to the tree-sitter parsing…
permissive · top 1,000 on PyPI
phonemizerPhonemizer converts written text into phonetic…
copyleft · top 15,000 on PyPI
phonemizer-forkConverts text to phonetic representations…
copyleft · top 5,000 on PyPI
piper-ttsPiper TTS is a local neural text-to-speech…
copyleft · top 5,000 on PyPI
kokoroKokoro is an inference library for the…
permissive · top 15,000 on PyPI
gruut-ipaGruut IPA parses, analyzes, and converts…
permissive · top 15,000 on PyPI
gruut-lang-enProvides English language data files for…
permissive · top 15,000 on PyPI
pyobjc-framework-SpeechProvides Python bindings to macOS's native…
permissive · top 15,000 on PyPI
pyttsx3pyttsx3 converts text to speech offline using…
copyleft · top 5,000 on PyPI
gruutGruut tokenizes, cleans, and converts text to…
permissive · top 15,000 on PyPI
google-cloud-texttospeechProvides a Python client to Google Cloud…
permissive · top 1,000 on PyPI