Leet library
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
leet-0.1.2.tar.gz
(3.3 kB
view details)
Built Distribution
leet-0.1.2-py3-none-any.whl
(3.6 kB
view details)
File details
Details for the file leet-0.1.2.tar.gz
.
File metadata
- Download URL: leet-0.1.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a61e9ac0479ee23f5f76bd49da8983b97be398caae2554caa00ca6a5bb009b2 |
|
MD5 | 8b9b9571f92e26827b954d17ca53385f |
|
BLAKE2b-256 | a30ed42d505faacced964af596e99da818fdabc30d62b7a53f97c5e10ae5606c |
File details
Details for the file leet-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: leet-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e343677768a1a72e91513c2a98476a8ed150dac9b6876593df245bcf0b60a6b |
|
MD5 | 0684fe41677ab9df865d4366ce21d52d |
|
BLAKE2b-256 | 53820178f668111c20c311e2ac44ab675881658a81ec3de71eb48313395b0143 |