Skip to main content

A powerful CLI tool to convert numbers between different systems

Project description

Number-System-Converter

Status

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.

Global Installation via Pip

You can install the tool directly from PyPI:

pip install simple-number-converter

Running the programm

# Option 1: Start the interactive menu
numconv

# Option 2: Convert instantly using arguments
numconv --dectobin 42
numconv -db 42

2. Running option

# 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_number_converter-1.1.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_number_converter-1.1.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file simple_number_converter-1.1.1.tar.gz.

File metadata

  • Download URL: simple_number_converter-1.1.1.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

Hashes for simple_number_converter-1.1.1.tar.gz
Algorithm Hash digest
SHA256 4f1c9ee963ae4691e83268e751820094c25bb286729bd7d2673098ec2274c585
MD5 451bef4dffbbc76be70fe0e32e0635f4
BLAKE2b-256 3db8e3ab438ec274c76662ce21592a9721287307a8bce2449886ed917189a271

See more details on using hashes here.

File details

Details for the file simple_number_converter-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_number_converter-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cd95be876f79ea98df6f457b0020209854f66ab6d0f7684764f618bbc87be91e
MD5 c17cfa69836d8d13322fe45187c46d37
BLAKE2b-256 7ca0b12827474ab556f12d44ce325b41d234744c141ba9e38044f05233be95e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page