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.0b0.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.0b0-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.0b0.tar.gz.

File metadata

  • Download URL: espeakng_loader-0.1.0b0.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.0b0.tar.gz
Algorithm Hash digest
SHA256 6e75c1379477f135281e3226b818ca3f6d5f202542a8a46df84894780c8c84c6
MD5 3cf544781b51a2100ea16be3c5124920
BLAKE2b-256 197310f75b99167c383856597b735a039daae419d4c3a434a780ae89d5274791

See more details on using hashes here.

File details

Details for the file espeakng_loader-0.1.0b0-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for espeakng_loader-0.1.0b0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 813283343e67a52161dd0ea118150766f92327bda95db299eb02fcb2d6e5bd94
MD5 939486da74a6f9bd3f969b75e7d26b0e
BLAKE2b-256 1983325d7b5b7f33934993c4a1824376bd718b266fd23bfc6b0a3942f84c16fa

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