Helps to avoid spam-filters by replacing some characters in text with similar characters from other languages
Project description
Shady Text Randomizer
The Shady Text Randomizer is a python package that helps to avoid spam-filters by replacing some characters in text with similar characters from other languages. As a result, the output text is not equal to the input but visually indistinguishable from it.
The Shady Text Randomizer supports latin and cyrillic symbols.
Install
$ pip install shady_tr
Usage
Class ShadyTextRandomizer has two parameters:
- [string] Source text
- [int from 0 to 100] Symbol replace chance. If chance is equals 100, then each possible symbol well be converted to similar one.
>> from shady_tr import ShadyTextRandomizer
>>
>> text_rnd = ShadyTextRandomizer("Hello! How are you?", 100)
>> text_rnd.random_latin()
'Ꮋеllо! Нοԝ аrе γᴏυ?'
>> text_rnd = ShadyTextRandomizer("Привет! Как дела?", 100)
>> text_rnd.random_cyrillic()
'Πpᴎᏼeт! Κaκ дeлa?'
Some characters in the output text have completely different UTF-8 codes.
License
This project is licensed under the MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file shady_tr-0.0.1.tar.gz.
File metadata
- Download URL: shady_tr-0.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5060e85096b6c7be938dc04e6102e52928b1e8bad29047a421e5b2cc1adbe04
|
|
| MD5 |
ab20b2f269fbac4db68e1e6e8317f17e
|
|
| BLAKE2b-256 |
43ef5417d94f38fb14c170491c61a19f45fa6e9007f55ff8a2b609cd19180941
|