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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file base64-converter-0.1.0.tar.gz.

File metadata

  • Download URL: base64-converter-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.6 Windows/10

File hashes

Hashes for base64-converter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d7020909300e9a4ec12ab0ab35df897f42802d8344c8462af60c4d11606b1550
MD5 c4b0ef91f1e1ffe5d5fbb1ed36f6eea1
BLAKE2b-256 ecfca30652bf571855b711380b11ae5b2a44ce5bb8567d985330d2ff0489c576

See more details on using hashes here.

File details

Details for the file base64_converter-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for base64_converter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8025e0ce6eaa392a28ac97842b23b1895633b5a24788cfa301eb9563fdefb49
MD5 66e719b2e3a1aa9f9603e06860b2fc91
BLAKE2b-256 be96f1fa116b4a234fb29eef8a610fd7768ef224b808df2df68b155098a6e442

See more details on using hashes here.

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