Skip to main content

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 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

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

kamabayEncoder-0.1.0.tar.gz (7.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page