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

🖥️ 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

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-1.5.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

decitobin-1.5-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for decitobin-1.5.tar.gz
Algorithm Hash digest
SHA256 8a6d649c7f2b9ccc6c19f8588679a2d7a042e47793f2c72cd30c8a3c2f72a5e5
MD5 296821c12a41ced44898d83eefa2c385
BLAKE2b-256 0334bdf43f1b130ac3e6b27282252f1b945242ca7df35dcaa0ff20e67e014a37

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for decitobin-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a065ac3acb6ad8f88e8361b0ef23cbc08ea415be925c3c1c6e6318d8d83f36ad
MD5 7b40276c454e0ea46b3bceda4397e1a1
BLAKE2b-256 ae89da82b60b23429c9a2d95f520728ba6f956789148010817e5c2f585cbf63c

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