Skip to main content

A Python package that provides shared library loader for eSpeak NG

Project description

espeakng-loader

This package loads the espeak-ng shared library so it will be available for other libraries.

Platforms

  • Linux (x86-64, arm64)
  • Windows (x86-64, arm64)
  • macOS (x86-64, arm)

Install

pip install espeakng-loader

Usage

from espeakng_loader import get_library_path, load_library, make_library_available

library_path = get_library_path() # Pass it to the library
# Or use load_library() for load it directly
# Or use make_library_available() for making it available for other libraries

Usage with phonemizer

from phonemizer.backend.espeak.wrapper import EspeakWrapper
from phonemizer import phonemize
import espeakng_loader

EspeakWrapper.set_library(espeakng_loader.get_library_path())
EspeakWrapper.set_data_path(espeakng_loader.get_data_path())

phonemes = phonemize('Hello')
print('Phonemes: ', phonemes)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

espeakng_loader-0.1.3.tar.gz (41.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

espeakng_loader-0.1.3-cp313-cp313-macosx_14_0_arm64.whl (9.7 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

File details

Details for the file espeakng_loader-0.1.3.tar.gz.

File metadata

  • Download URL: espeakng_loader-0.1.3.tar.gz
  • Upload date:
  • Size: 41.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.29

File hashes

Hashes for espeakng_loader-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a3b7acba79d180f6f3072c1ae87d9bf09dc08496229ecec0ab3529478c22fc19
MD5 d0ab19e55c74852fe6bed06e27ef1b72
BLAKE2b-256 89f453ffbab03f6166f1dd3b6b7f221825d0dd2c07dc6e23f12a0238b7316cae

See more details on using hashes here.

File details

Details for the file espeakng_loader-0.1.3-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for espeakng_loader-0.1.3-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a9c135b291f4b804b4cbc74fa317e78833bb1478e213852c635ba2890420b4a5
MD5 18181235350ba6fea4dcea78e9edb4bf
BLAKE2b-256 f23c0a9993b1b75083156043806b8b98e0aaf527a1f3f1c1bc4f550154695165

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page