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.0a1

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.0a1
File Size Uploaded Provenance Actions
scriptconv_copyleft-0.1.0a1.tar.gz 83.4 kB Without provenance Details for scriptconv_copyleft-0.1.0a1.tar.gz

Built distribution (wheel)

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

Total release size: 163.6 kB

Release files / scriptconv_copyleft-0.1.0a1.tar.gz

Download URL scriptconv_copyleft-0.1.0a1.tar.gz
Size 83.4 kB
Tags Source
SHA-256 checksum
How to use checksums
424dd2c7df1e342e9bddf18908fabce9de48881529174bfaf7e2d4c287804488
BLAKE2b-256 checksum
How to use checksums
48aac1102ae652095c78ebc3f81d5d99a8347a33694d1edd8c0a58ae62979b64
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.0a1-py3-none-any.whl

Download URL scriptconv_copyleft-0.1.0a1-py3-none-any.whl
Size 80.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8748a49bf27d551078c6c2b93799119953d3348a84908a2ed9c5bd365e5ab549
BLAKE2b-256 checksum
How to use checksums
5795e3eb4d241c7cc5ca8f148d3b57744dbc7185c36b9f0766a00930b8721919
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.0a1

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