decode encode data.
Project description
encode your data decode, KAMABAY encode decode based on dictionary you can change its output encode value by changing the value in its dictionary.
Encode
from kamabay import KAMABAY_ENCODE_DECODE
data = "hello world"# type data string
save = True # type boolean save file output data.kmy
kamabay = KAMABAY_ENCODE_DECODE(
data = data,
save = save);
print(kamabay.encode());
output in file data.kmy and console > $dsew[KMY]fgdgf[KMY]me&yu[KMY]me&yu[KMY]p039=[KMY]4%32[KMY]^'-hd[KMY]p039=[KMY]3sdfh[KMY]me&yu[KMY]~gd!2[KMY]
Decode
from kamabay import KAMABAY_ENCODE_DECODE
data = "data.kmy"
save = False
kamabay = KAMABAY_ENCODE_DECODE(
data = data,
save = save);
print(kamabay.decode());
output > hello world
Show dictionary
from kamabay.KAMABAY_ENCODE_DECODE import showDict
print(showDict(auth="KAMABAY"))
output displays the json dictionary!
@copyright 21052021
repository github | licence apache 2.0 | mail lexyong66@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file kamabayEncoderDecoder-0.1.0.tar.gz
.
File metadata
- Download URL: kamabayEncoderDecoder-0.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13b38d5b903866cb883f29b225e1ee7193310f9d5476efcff62dcdc734ade2c0 |
|
MD5 | 02a63fbb5f94ee4c35e9ae336cb4cd76 |
|
BLAKE2b-256 | ba57f2c1f2ceeb2c227c86061057e0e43e6ccb7a2a16eb1358d7cc15a9e7309b |