Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shady-tr

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shady-tr

Helps to avoid spam-filters by replacing some characters in text with similar characters from other languages

  • 0.0.1
  • PyPI
  • Socket score

Maintainers
1

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:

  1. [string] Source text
  2. [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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc