Skip to main content

A widget to convert decimal to binary, binary to decimal, ASCII to binary

Project description

🔢 decitobin WebStyle 🧒🔢

decitobin is a versatile Python tool that converts between number systems and text — now with a web-style user interface and enhanced features.

Whether you're converting decimal to binary, exploring ASCII encoding, or transforming hexadecimal strings, decitobin offers an interactive and beginner-friendly experience.


🌟 Features

🧠 Support for multiple conversions: Decimal → Binary Binary → Decimal ASCII → Binary Binary → ASCII Hex → Binary Binary → Hex Binary → Octal Octal → Binary Duodecimal → Decimal Decimal → Duodecimal

🖥️ Graphical interface with dropdown selection (Tkinter-based)
🚀 Instant results with detailed formatting
📋 Copy output to clipboard
📦 Easy to install and run on any platform


💻 Installation

pip install decitobin

Launching the App

Run the converter using:

python -m decitobin

Or run your own launcher script using:

import decitobin

print(decitobin.dec2bin("12"))        # Output: 1100
print(decitobin.ascii2bin("A"))       # Output: 01000001
print(decitobin.bin2hex("1011"))      # Output: B
print(decitobin.bin2oct("101110"))    # Output: 56
print(decitobin.oct2bin("56"))        # Output: 101110
print(decitobin.dec2duodec(23))       # Output:  1B

What is Duodecimal?

Duodecimal, or base-12, is a number system with 12 characters include 0-9 and A, B.

License

Licensed under the MIT License.

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

decitobin-2025.6.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

decitobin-2025.6-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file decitobin-2025.6.tar.gz.

File metadata

  • Download URL: decitobin-2025.6.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.9

File hashes

Hashes for decitobin-2025.6.tar.gz
Algorithm Hash digest
SHA256 834a2219357ba1938bffcc408cffde47ad25d9739d9fdf703214615feee46aab
MD5 dbf8f50b692309f5309023ad0e7c847a
BLAKE2b-256 df9d253b2039acf9aafe15d7e4eab75e78cec615b7eabacc5959eb3dfbc90c20

See more details on using hashes here.

File details

Details for the file decitobin-2025.6-py3-none-any.whl.

File metadata

  • Download URL: decitobin-2025.6-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.9

File hashes

Hashes for decitobin-2025.6-py3-none-any.whl
Algorithm Hash digest
SHA256 fb8c0c2cc22da718a22277bd6f09e966f1945fd3b8706e66289a3c7ca3029ba8
MD5 6704a7caa85e330c9772197f4fc05802
BLAKE2b-256 a0f44ac79adba968278037bc96811cec528da5e0c0e329f323533c63dec49a9a

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