Registry / serialization / zalgolib

zalgolib

JSON →
library0.2.2pypypi✓ verified 79d ago

A Python library for generating Zalgo text (combining diacritical marks to create corrupted, horror-style text). Current version 0.2.2, updated Oct 2024. Release cadence is low, with no recent commits.

pip install zalgolib
INSTALL
IMPORT
SIG · ZALGOLIB
Z
zalgolib
serializationpythonv0.2.2
Install
1.5s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.2.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

diacritics
from zalgolib import diacritics
from zalgolib import Zalgo

Create a Zalgo instance and apply default intensity to a string.

from zalgolib import Zalgo z = Zalgo() text = "Hello, World!" zalgofied = z.zalgofy(text, intensity=1.0) print(zalgofied)
Debug
Known issues
gotchaThe `Zalgo` class uses a global pseudo-random number generator. If you need reproducible output, set `random.seed()` before creating the instance.
fix
Call `random.seed(42)` before `z = Zalgo()`.
affects: >=0.1.0
deprecatedThe `zalgofy()` method with positional arguments (e.g., `z.zalgofy(text, intensity)`) is the only supported signature. Do not rely on keyword-only arguments as they may change.
fix
Use `z.zalgofy(text, intensity=0.5)` or just positional.
affects: 0.2.0+
Upgrade
Version history
0.2.2latest on PyPI · released Dec 7, 2023
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
32
OpenAI (training)
1
Resources
zalgolib — pip install zalgolib · libregistry