Skip to main content

A completely original reversible encoding library using Moo tokens

Project description

AzrMoo Enc v1

A completely original reversible encoding library using Moo tokens.

Installation

pip install azrmooenc

Usage

import azrmooenc

# Encode/decode strings
encoded = azrmooenc.encode("Hello, World!")
decoded = azrmooenc.decode(encoded)

# Encode/decode bytes
encoded = azrmooenc.encode_bytes(b"binary data")
decoded = azrmooenc.decode_bytes(encoded)

# With custom key
encoded = azrmooenc.encode("Secret", key="mykey")
decoded = azrmooenc.decode(encoded, key="mykey")

# File support
azrmooenc.encode_file("photo.jpg", "photo.jpg.azr")
azrmooenc.decode_file("photo.jpg.azr", "photo.jpg")

# Generate lookup tables
enc_table, dec_table = azrmooenc.generate_table("AZR")

# Version
print(azrmooenc.version())

API

  • encode(text, key="AZR") - Encode string to AzrMoo format
  • decode(text, key="AZR") - Decode AzrMoo string back to text
  • encode_bytes(data, key="AZR") - Encode bytes to AzrMoo format
  • decode_bytes(data, key="AZR") - Decode AzrMoo bytes back to original
  • encode_file(input_path, output_path, key="AZR") - Encode a file
  • decode_file(input_path, output_path, key="AZR") - Decode a file
  • generate_table(key="AZR") - Generate encoding/decoding lookup tables
  • version() - Return version string

License

MIT

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

azrmooenc-1.0.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

azrmooenc-1.0.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file azrmooenc-1.0.0.tar.gz.

File metadata

  • Download URL: azrmooenc-1.0.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for azrmooenc-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2f38ef057bee275633b01dd920256b700a3d64fec51ad4df0b6982938fb46d8d
MD5 1df5967dd4745a8120d3d843e808bff6
BLAKE2b-256 890f39ff879ccd65c853f12e4b1a150b3074df71dc5fe706f31cedbd5d41bf73

See more details on using hashes here.

File details

Details for the file azrmooenc-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: azrmooenc-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for azrmooenc-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b016bef69482e9eba1cd2efa31017078a3c6e1e3eba17a904c82f7694e982c8
MD5 b568bb54d68db495b3deeccee3c6681c
BLAKE2b-256 bea73d48ee7e6e3ebc2ca9b26135e73c86a34c5e00f43b24db88c26ed119ffbb

See more details on using hashes here.

Supported by

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