Skip to main content

yiddish

A Python library for processing Yiddish text

Isaac L. Bleaman (bleaman@berkeley.edu) and contributors (see commit history)

What is this for?

This library includes functions to carry out common tasks when dealing with Yiddish text. For example, you might wish to replace precombined Unicode characters (such as אַ, U+FB2E) with their decomposed versions (אַ, which is U+05D0 followed by U+05B7). Or you might wish to transliterate YIVO Yiddish text (איבער to iber) or render it in the orthography used more commonly in the Hasidic community (שנײיִק to שנייאיג).

See the source file, yiddish.py, for the full list of supported functions.

How to install

pip install yiddish

How to cite

If you'd like to cite yiddish in a publication, you can include a link to the source: https://github.com/ibleaman/yiddish

Example

import yiddish

output = ''

string = 'אונדזער גאַנצע משפּחה װױנט אין די פֿאַראײניקטע שטאַטן.'

output += yiddish.replace_with_precombined(string) + '\n'
output += yiddish.respell_loshn_koydesh(string) + '\n'
output += yiddish.strip_diacritics(string) +  '\n'
output += yiddish.transliterate(string) +  '\n'
output += yiddish.transliterate(string, loshn_koydesh=True) +  '\n'
output += yiddish.hasidify(string)

output += '\n\n'

string_two = 'shloymele hot khasene gehat mit rokhls tokhter leye.'

output += yiddish.detransliterate(string_two) + '\n'
output += yiddish.detransliterate(string_two, loshn_koydesh=True)

print(output)

Output:

אונדזער גאַנצע משפּחה װױנט אין די פֿאַראײניקטע שטאַטן.
אונדזער גאַנצע מישפּאָכע װױנט אין די פֿאַראײניקטע שטאַטן.
אונדזער גאנצע משפחה וווינט אין די פאראייניקטע שטאטן.
undzer gantse mshpkhh voynt in di fareynikte shtatn.
undzer gantse mishpokhe voynt in di fareynikte shtatn.
אונזער גאנצע משפחה וואוינט אין די פאראייניגטע שטאטן.

שלױמעלע האָט כאַסענע געהאַט מיט ראָכלס טאָכטער לײע.
שלמהלע האָט חתונה געהאַט מיט רחלס טאָכטער לאה.

Metadata

Release files for yiddish 0.0.24

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

Source distribution (sdist)

Source distribution for yiddish 0.0.24
File Size Uploaded Provenance Actions
yiddish-0.0.24.tar.gz 172.1 kB Without provenance Details for yiddish-0.0.24.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yiddish 0.0.24
File Interpreter ABI Platform Actions
yiddish-0.0.24-py3-none-any.whl Python 3 none any Details for yiddish-0.0.24-py3-none-any.whl

Total release size: 345.6 kB

Release files / yiddish-0.0.24.tar.gz

Download URL yiddish-0.0.24.tar.gz
Size 172.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0917d8bd8f6b43ae1fbba29ac8e4845c06e6f95f0506aade52548495791dbf70
BLAKE2b-256 checksum
How to use checksums
beb9cc6e479c7ca67e06a58bbb814f9f220b9c8eefc27f22ffd6e4b275554c53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / yiddish-0.0.24-py3-none-any.whl

Download URL yiddish-0.0.24-py3-none-any.whl
Size 173.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9afdde1b7bbafeb7020541f57a1ba11bb26838feb0b864c248a056c4012a399
BLAKE2b-256 checksum
How to use checksums
f6ac863c3f99d1641e62b11801d4f83ecd1db50754fa050ef63f4df7a3154187
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for yiddish 0.0.24

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