smart-text-randomizer
Smart Text Randomizer
Smart Text Randomizer
pip install smart-text-randomizer
Smart Text Randomizer
By using this software, you agree to the full disclaimer terms.
Summary: Software provided "AS IS" without warranty. You assume all risks.
Full legal disclaimer: See DISCLAIMER.md
pip install smart-text-randomizer
"Text randomization" or "variable text". It is used to create different variations of the same message.
You are using special syntax. Example: '{Salute|Hello|Good morning} {comrade|buddy|dear friend}!'
This syntax allows you to create variable messages by using curly braces and vertical bars to indicate alternatives.
Basic elements of syntax:
Example of use:
'{Salute|Hello|Good morning} {comrade|buddy|dear friend}!'Text Generation: Use RandomStringMaster() to generate a random message.
Notes:
Example of text randomization:
from smart_text_randomizer import TextRandomizer
text_randomizer = TextRandomizer()
text = '{Salute|Hello|Good morning} {comrade|buddy|dear friend}!'
randomized_text = TextRandomizer.randomize(text)
print(randomized_text) # Good morning buddy!
Copyright (©) 2026, Alexander Suvorov