Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erikboesen/zalgoify
A simple Python module for processing zalgo text
https://github.com/erikboesen/zalgoify
Last synced: about 1 month ago
JSON representation
A simple Python module for processing zalgo text
- Host: GitHub
- URL: https://github.com/erikboesen/zalgoify
- Owner: ErikBoesen
- License: mit
- Created: 2019-02-03T14:51:22.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-12T15:39:45.000Z (over 5 years ago)
- Last Synced: 2024-09-30T16:41:01.306Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zalgoify
A small library to process zalgo text, as on [eeemo.net](https://eeemo.net).Some initial code based on Gregory Neal's [zalgo-text](https://github.com/gregoryneal/zalgo) package.
# Installation
To install the package from `pip`:pip install zalgoify
Then in your project you can use it like so:
```py
import zalgoify
print(zalgoify.process("Some text to zalgoify!"))
```(This would print `S͈̝ͨơ̖̬͔͐̅ͤm̱̪͇̎̈́̋e̮͇̲̅͛̕ t͖͖̰̆̒̇҉̨e̛̙͔̍͗́x̷̶͓̅t̹̙̠͗ͤ́ t̲̦̦ͤͧ͢o͇̝̥͒́̏ z̷̢̬͚̪̾̈́a̧̯̙ͥl̨̯̘ͦg̸̛̰̻̲ͯ̎ǫ̺̦ͬͩͅif̖̰̰̉y̛͍̘̏̅̍!`)
To remove zalgo diacritics from text, use:
```py
print(zalgoify.strip(text))
```