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 kamabayEncoder 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 kamabayEncoder 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 kamabayEncoder import KAMABAY_ENCODE_DECODE
showdict = KAMABAY_ENCODE_DECODE(
data="None",
save=False).showDict("KAMABAY");
print(showdict)
#return dictionary
output displays the json dictionary!
@copyright 21052021
repository github | licence apache 2.0 | mail lexyong66@gmail.com
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kamabayEncoder-0.1.0.tar.gz
(7.7 kB
view details)
File details
Details for the file kamabayEncoder-0.1.0.tar.gz.
File metadata
- Download URL: kamabayEncoder-0.1.0.tar.gz
- Upload date:
- Size: 7.7 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 |
3ba52ee34712fefa4c57ecbcdfa1d1a5b21d4c305f7149d8c0b8f36a079458cf
|
|
| MD5 |
e095418fc921c4d788ac3301a75a7436
|
|
| BLAKE2b-256 |
79dd87c343c3617a665d3163821b62daa351f10003fcfbf4955a53d808ff2364
|