A powerful CLI tool to convert numbers between different systems
Project description
Number-System-Converter
A lightweight CLI tool to convert numbers between different numeral systems (Decimal, Binary, etc.). It works both as an interactive menu and via direct terminal arguments.
🚀 Features
- Dual Mode: Use the interactive menu or pass arguments to convert instantly.
- Built-in Help: Clean interface documentation using standard
--help. - Modular Code: Separated logic, menu handling, and entry point for easy scaling.
- Decimal -> Binary
- Decimal -> Hexadecimal
- Binary -> Decimal
- Binary -> Hexadecimal
- Hexadecimal -> Decimal
- Hexadecimal -> Binary
🛠️ Installation & Setup
Prerequisites
Make sure you have Python 3.x installed.
Running the App
Clone the repository, open your terminal in the project folder, and run:
# Option 1: Start the interactive menu
python main.py
# Option 2: Convert instantly using arguments
python main.py --dectobin 42
python main.py -db 42
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simple_number_converter-1.1.0.tar.gz.
File metadata
- Download URL: simple_number_converter-1.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d9e7f38b7c14ea73aefed6f52b1bb228dcb057f4308ca1b04bcde872f4290e1
|
|
| MD5 |
655c1c9d2a2af63d25449d6950694894
|
|
| BLAKE2b-256 |
f3a7e32281da77160e5ed0aa89faf2264139fddec8a748f3a89f31d86ae785cb
|
File details
Details for the file simple_number_converter-1.1.0-py3-none-any.whl.
File metadata
- Download URL: simple_number_converter-1.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9b48a572c45e0ccfdee88d9e3da681a690a8bff8960479b5092cdcfa656bf42
|
|
| MD5 |
ede1132e1ecf7f60099c334f45b9f2e6
|
|
| BLAKE2b-256 |
77037255a56aebdb95f99f2b1d629d541a964446ac1aca84e2732cd3c6c37e38
|