Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

scriptconv-copyleft

The scriptconv phonemizer backends whose own code or whose dependencies are under a copyleft licence (GPL, LGPL or AGPL).

Where this fits

scriptconv is the text conversion library. Its wheel holds only Apache-2.0 code. Each backend in this package has a copyleft licence somewhere in its chain, so it ships here instead.

scriptconv keeps the registry. A backend keeps its Phonemizer value and its routing entry in scriptconv, and scriptconv imports the class from this package only when a caller asks for that backend. The scriptconv extra of each backend installs this package, so the install command does not change:

pip install scriptconv[espeak]
from scriptconv.phonemizers import Phonemizer, get_phonemizer

get_phonemizer(Phonemizer.ESPEAK).phonemize_string("olá", "pt")

This package depends on scriptconv. scriptconv never imports this package when it is imported itself.

Backends

Phonemizer value Class Module Copyleft item in the chain
espeak EspeakPhonemizer scriptconv_copyleft.phonemizers.mul espyak (GPL-3.0-or-later), the espeak-ng binary (GPL-3.0-or-later)
misaki, misaki_en, misaki_ja, misaki_zh, misaki_ko, misaki_vi MisakiPhonemizer and its five subclasses scriptconv_copyleft.phonemizers.mul phonemizer-fork (GPL-3.0-or-later), espeakng-loader (bundles libespeak-ng)
transphone TransphonePhonemizer scriptconv_copyleft.phonemizers.mul cmudict (GPL-3.0-or-later), unidecode (GPL-2.0-or-later), iso-639 (AGPL-3.0)
cotovia CotoviaPhonemizer scriptconv_copyleft.phonemizers.gl pycotovia (GPL-3.0-or-later)
ahotts AhoTTSPhonemizer scriptconv_copyleft.phonemizers.eu ahotts-g2p (GPL-3.0-or-later)
g2pfa PersianPhonemizer scriptconv_copyleft.phonemizers.fa gensim (LGPL-2.1-only), through hazm
g2pk G2PKPhonemizer scriptconv_copyleft.phonemizers.ko konlpy (GPL-3.0-or-later)
kog2p KoG2PPhonemizer scriptconv_copyleft.phonemizers.ko the vendored KoG2P code (GPL-3.0-only)
pykakasi PyKakasiPhonemizer scriptconv_copyleft.phonemizers.ja pykakasi (GPL-3.0-or-later)

scriptconv_copyleft.readings holds the Japanese kanji-to-kana respelling (tokens, to_hiragana, to_katakana), which needs pykakasi.

Each backend's own dependencies install with the extra of the same name, for example pip install scriptconv-copyleft[espeak].

Licence

The package holds code under two licences. The SPDX expression is Apache-2.0 AND GPL-3.0-only.

Files Licence Notice
scriptconv_copyleft/phonemizers/_vendored/kog2p/ GPL-3.0-only LICENSE.md and COPYING in that directory. Upstream (scarletcho/KoG2P) ships the GPL version 3 text and states no "or later" grant.
every other file Apache-2.0 LICENSE

The dependencies of each backend keep their own licences. A program that installs and uses a backend must follow the licence of that backend's dependencies.

Metadata

Release files for scriptconv-copyleft 0.1.1a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scriptconv-copyleft 0.1.1a1
File Size Uploaded Provenance Actions
scriptconv_copyleft-0.1.1a1.tar.gz 83.8 kB Without provenance Details for scriptconv_copyleft-0.1.1a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scriptconv-copyleft 0.1.1a1
File Interpreter ABI Platform Actions
scriptconv_copyleft-0.1.1a1-py3-none-any.whl Python 3 none any Details for scriptconv_copyleft-0.1.1a1-py3-none-any.whl

Total release size: 164.3 kB

Release files / scriptconv_copyleft-0.1.1a1.tar.gz

Download URL scriptconv_copyleft-0.1.1a1.tar.gz
Size 83.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dbce0a27abb9420f8692240c6b2fac9df8593b2191b63946e3135b5d0613a9cb
BLAKE2b-256 checksum
How to use checksums
0d190a5bb804db6af85d3b49a2ad20aedf530eea4060bc5747c1d3aa79cdade1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / scriptconv_copyleft-0.1.1a1-py3-none-any.whl

Download URL scriptconv_copyleft-0.1.1a1-py3-none-any.whl
Size 80.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77fd64baa05bb351bdc4c2adbed2547ae806e21331f16cacf6fa082483aac798
BLAKE2b-256 checksum
How to use checksums
204347d207155641e1f8c5a3dd24dda1ccdcc9e070dbdedea963b40daef446e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for scriptconv-copyleft 0.1.1a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page