leet
Command-line tool and library for leeting text.
Library uses following vocabulary:
Original | Replacement |
---|---|
A a | @ |
E e | 3 |
I i | 1 |
O o | 0 |
S s | 5 |
Installation
pip install leet
Command-line usage
leet Hello, world!
> H3ll0, w0rld!
Library usage
from leet import leet
print(leet('Hello, world!'))
Performance
Is applicable for python 3.5+. Python 3.4 and lower would be slower.
Str length | Iterations | Time |
---|---|---|
512 | 1000 | 0.0071 |
64kb | 1000 | 0.1458 |
1mb | 100 | 0.1522 |
1mb | 10 | 0.0154 |
10mb | 2 | 0.0298 |
Versioning
This software follows Semantic Versioning