Skip to content

EncodeX is a CLI tool that helps to encode and decode to various data formats.

License

Notifications You must be signed in to change notification settings

Santhoshmani1/encodex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EncodeX CLI

EncodeX is a CLI tool that helps you encode and decode strings using various data formats.

Overview

Encodex is a simple command-line interface (CLI) tool for encoding and decoding operations. It supports various encoding formats such as Base64, ASCII, URL, Hex, and HTML.

Installation

git clone https://github.com/Santhoshmani1/encodex.git

Usage

python3 encodex.py [options] [format] [string]

Examples

Getting Help

python main.py --help
python main.py -h
 _____                     _     __  __
| ____|_ __   ___ ___   __| | ___\ \/ /
|  _| | '_ \ / __/ _ \ / _` |/ _ \\  / 
| |___| | | | (_| (_) | (_| |  __//  \ 
|_____|_| |_|\___\___/ \__,_|\___/_/\_\
                                       

usage: main.py [-h] {encode,decode,info,list} ...

EncodeX CLI - Encoding and Decoding Utility

positional arguments:
  {encode,decode,info,list}
                        Available commands
    encode              Encode data
    decode              Decode data
    info                Get info about encoding format
    list                List available encoding formats

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

Listing available encoding formats

$ python main.py list
Available encoding formats:
  - base64
  - ascii
  - url
  - hex
  - html

Getting information about an encoding format

$ python main.py info base64
 _____                     _     __  __
| ____|_ __   ___ ___   __| | ___\ \/ /
|  _| | '_ \ / __/ _ \ / _` |/ _ \\  / 
| |___| | | | (_| (_) | (_| |  __//  \ 
|_____|_| |_|\___\___/ \__,_|\___/_/\_\
                                       


The Base 64 encoding is designed to represent arbitrary sequences of
octets in a form that allows the use of both upper- and lowercase
letters but that need not be human readable.

Read more : https://datatracker.ietf.org/doc/html/rfc4648
        

Encoding into a fomat

$ python main.py encode base64 "Hello, World!"
SGVsbG8sIFdvcmxkIQ==

Decoding into a format

$ python main.py decode base64 "SGVsbG8sIFdvcmxkIQ=="
Hello, World!

License

MIT

About

EncodeX is a CLI tool that helps to encode and decode to various data formats.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages