Skip to main content

No project description provided

Project description

Base64 Converter

base64-converter is a CLI tool to quickly Base64 encode and decode strings.

Installation - TBD

pip install --user <TBD>

Usage

Usage: base64-converter [OPTIONS] COMMAND [ARGS]...

Base64 Converter

Options:
    --install-completion          Install completion for the current shell.
    --show-completion             Show completion for the current shell, to copy it or customize the installation.
    --help                        Show this message and exit.

Commands:
    d                             Base64 decode
    e                             Base64 encode

Examples

Base64 Encode

$ base64-converter e test

Output: dGVzdA==

Base64 Decode

$ base64-converter e dGVzdA==

Output: test

Tips & Tricks

I recommend shorthanding the CLI tool command. Be the lazy programmer.

# Linux/MacOS
$ alias b=base64-converter

# Windows
$ add alias base64-converter b

# Run Base64 Encode
$ b e test

Output: dGVzdA==

# Run Base64 Decode
$ b d dGVzdA==

Output: test

Contributing

To make a contribution, fork the repo, make your changes and then submit a pull request. Please try to adhere to the existing style. If you've discovered a bug or have a feature request, create an issue.

Pending Features:

  • Support iterations to allow multiple encoding/decoding in a single line.

How it Works

Base64 Converter is written in Python and built on Typer. Typer is a library for building CLI applications.

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

base64-converter-0.1.0.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

base64_converter-0.1.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

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