Unreadable is an encode and a decoder.
Installation
pip install unreadable
Usage
unreadable.encode(string,key='generate')
string: the string you want to encode
key (Optional): the encode key (Can be made with generate_key, more on that later).
encoded_string = encode('An encoded string!')
Will output something like ZXI5X@>*5*IP]0nX,-+AacsB_"|z}M7-YDxOCK&r^\fd50] 8n>UvH:P*=,hWk<6u;4@gNX?$GJVE(L%j[!R2)T.{Zm9Qe/pb1loiw#3FSyqt'I without key.
unreadable.decode(string,key='generate')
string: the encoded string you want to decode
key (Optional): the key you used to encode the string (Not needed if you left key blank).
decoded_string = decode('ZXI5X@>*5*IP]0nX,-+AacsB_"|z}M7-YDxOCK&r^\fd50] 8n>UvH:P*=,hWk<6u;4@gNX?$GJVE(L%\[!R2)T.{Zm9Qe/pb1loiw#3FSyqt'+"'"+'I')
Will output An encoded string!
unreadable.generate_key(chars=r'1234567890-=!@#$%^&*()_qwertyuiop[]asdfghjkl;'+"'"+r'zxcvbnm,./|QWERTYUIOP{}ASDFGHJKL:"ZXCVBNM<>? ')
chars: The characters the encoder will encode (Otherwise it will just be the same charater. Example: ÷ encoded will be ÷ unless it's in the chars).
key = generate_key()
encoded_string = encode('Encoded using a custom key!',key)
decoded_string = decode(encoded_string,key)
print(decoded_string)
Will output Encoded using a custom key!
Release files for unreadable 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| unreadable-0.0.1.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unreadable-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.9 kB
Release files / unreadable-0.0.1.tar.gz
| Download URL | unreadable-0.0.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb70ec3ebbc1c1736b9867315a0cffaf9da5eded5400c8d1ee3feb77dffaf9c4
|
|
BLAKE2b-256 checksum How to use checksums |
4ca17fccad73d76e392b33d68a71bb1df16053caa720f3b003d84d2831e7d91a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.0
|
Release files / unreadable-0.0.1-py3-none-any.whl
| Download URL | unreadable-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9082907abe53f7fdd3170e0d93f2bc6646a8e7241d071c30a5f2e09339bbce22
|
|
BLAKE2b-256 checksum How to use checksums |
40c4f5b89bbd326613ee755cb6fa74a38b75371fb29f18bfe7a1adf9da81ffa0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.0
|