Skip to main content

No project description provided

Project description

README.md File Encoding and Decoding App

A Python app for encoding and decoding various formats, including Base64, URL, and more.

Features

  • Supports multiple encoding and decoding formats:
    • Base16
    • Base32
    • Base64
    • URL
    • Ascii85
    • Base85
    • ZeroMQ
  • Options for customizing encoding and decoding behavior
  • Support for reading input from files or strings
  • Output can be written to files or printed to console

Installation

pip install edcode

Usage

python app.py [options]

options:
  -h, --help            show this help message and exit

Input:
  -t, --text TEXT       Enter source (plain text)
  -f, --file FILE       File name

Encoding:
  --b16e                Base 16 encode.
  --b32e                Base 32 encode.
  --b32hxe              Base 32 hex encode.
  --b64e                Base 64 encode.
  --usb64e              URL-Safe base 64 encode
  --a85e                Ascii 85 encode.
  --b85e                Base 85 encode.
  --z85e                ZeroMQ encode.
  --urle                URL encode.

Decoding:
  --b16d                Base 16 decode.
  --b32d                Base 32 decode.
  --b32hxd              Base 32 hex decode.
  --b64d                Base 64 decode.
  --usb64d              URL-Safe base 64 decode.
  --a85d                Ascii 85 decode.
  --b85d                Base 85 decode.
  --z85d                ZeroMQ decode.
  --urld                URL decode.

Options:
  -cf, --cfold          Accept lowercase alphabet as input.
  -m01, --map01 MAP01   Map 0 and 1 to O and I.
  -ac, --altchars ALTCHARS
                        Alternative characters for base 64
                        (e.g., :-_).
  -fs, --fspaces        Use special short sequence "y"
                        instead of 4 consecutive spaces.
  -wc, --wcol WCOL      Wrap output at specified column.
  -pd, --pad            Pad input to multiple of 4 before
                        encoding.
  -ad, --adobe          Use adobe framing ( <~ and ~> ) for
                        Ascii 85 encoding.
  -ic, --ichars ICHARS  Ignore specified characters.
  -sf, --safe SAFE      Characters that should not be
                        quoted.
  -enc, --encoding ENCODING
                        Specify the encoding (default:
                        utf-8)
  -err, --errors {strict,ignore,replace,xmlcharrefreplace,backslashreplace}
                        Specify the error handling scheme
                        (default: strict)

Validation and Output:
  -vd, --vdate          Validate decoding.
  -o, --output OUTPUT   Output file name.


Examples
python app.py -t "Hello, World!" --b64e

Output:
SGVsbG8sIFdvcmxkIQ==

python app.py -t "SGVsbG8sIFdvcmxkIQ==" --b64d

Output:
Hello, World!

Developer Mathan

This README.md file provides an overview of the app's features, usage, and options.

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

edcode-1.1.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

edcode-1.1.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file edcode-1.1.1.tar.gz.

File metadata

  • Download URL: edcode-1.1.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for edcode-1.1.1.tar.gz
Algorithm Hash digest
SHA256 5702894f97e1cd8fe15589804c944e3fae171b36a2db9f907de9be1dcb3525c9
MD5 9b38dbea37f1bbe436ae778c3fdcd0b8
BLAKE2b-256 18b0d4cc365313aba6438abe10c74a076d49d8724259d5e077be3ad64fdfcc0c

See more details on using hashes here.

File details

Details for the file edcode-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: edcode-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for edcode-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 315136fa5c43753deceb026e45182589ef3222eeb71f163dd6a136537d6b5086
MD5 4ea8cdd633fe3f528ca33ebc0ff2ce3e
BLAKE2b-256 637f8a91f4204f78eff9f083e384351df1c6ed5779228577d36a2887e268ee0e

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