Binary Converter is a very simple and easy to use tool, for converting between binary and decimal numbers. This repository offers both Python and Bash implementations, so you can choose the version that best suits your needs.
This repository contains the following two versions:
- Python Version: A feature-rich Python script with clipboard support and colorized output.
- Bash Version: A simple and lightweight Bash script with clipboard support and colored terminal output.
To use the Python version, navigate to the python/
directory and run:
pip install shellcolorize
cd python
python binary_converter.py
To use the Bash version, navigate to the bash/
directory, make the script executable, and run:
cd bash
chmod +x binary_converter.sh
./binary_converter.sh
-
Python Version: This version utilizes the
shellcolorize
library for colorful terminal output and provides a more robust, user-friendly experience. Ideal for those familiar with Python or those needing a cross-platform solution. -
Bash Version: This script is lighter and designed for quick operations directly in the terminal. It’s a great choice if you’re working in a Unix/Linux environment and prefer simplicity.
This project is licensed under the MIT License - see the LICENSE file for more information.
If you encounter any issues, have suggestions, or would like to contribute, feel free to open an issue or submit a pull request.