revar 0.3

Creator: bradpython12

Last updated:

0 purchases

revar 0.3 Image
revar 0.3 Images

Languages

Categories

Add to Cart

Description:

revar 0.3

revar



Replace specific values ​​with custom variables
Installation
pip3 install revar

Examples
Input
import revar
text = "Hello, $username$\nNice to meet $who$"
output = revar.replace(text, {"$username$": "decave27", "$who$": "you"})
print(output)

Output
Hello, decave27
Nice to meet you

import revar

r = revar.Revar(prefix="$")
output = r.replace("Hello, $username\nNice to meet $who", username="decave27", who="you")
print(output)

Output
Hello, decave27
Nice to meet you

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.