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.
Metadata
Release files for base64-converter 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| base64-converter-0.1.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| base64_converter-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / base64-converter-0.1.0.tar.gz
| Download URL | base64-converter-0.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7020909300e9a4ec12ab0ab35df897f42802d8344c8462af60c4d11606b1550
|
|
BLAKE2b-256 checksum How to use checksums |
ecfca30652bf571855b711380b11ae5b2a44ce5bb8567d985330d2ff0489c576
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.6 Windows/10
|
Release files / base64_converter-0.1.0-py3-none-any.whl
| Download URL | base64_converter-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8025e0ce6eaa392a28ac97842b23b1895633b5a24788cfa301eb9563fdefb49
|
|
BLAKE2b-256 checksum How to use checksums |
be96f1fa116b4a234fb29eef8a610fd7768ef224b808df2df68b155098a6e442
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.14 CPython/3.10.6 Windows/10
|