Skip to main content

A widget to convert decimal to binary, ASCII to binary

Project description


decitobin 1.1.1 – Binary for Everyone

Convert decimal numbers and text to binary easily and intuitively.

Version badge
Status badge
Python badge


🧑‍💻 About the Developer

decitobin was created by Thái Lâm, an 8-year-old developer from Vietnam with a passion for programming and binary codes.

At just 8 years old, Thái Lâm:

  • Designed a full graphical interface using Tkinter
  • Built smart conversion functions from scratch
  • Released daily builds including alpha previews
  • Collaborated like a true software engineer—splitting roles and managing deployment

His enthusiasm shows that coding is for everyone, no matter the age!


🚀 Features

  • 🔢 Convert decimal numbers to binary
  • 🔤 Convert ASCII text to binary (each character encoded as 8-bit)
  • 🧠 Auto-detect input type: number or text
  • 🖥️ Intuitive GUI built with Tkinter
  • 📦 Simple and clean API for developers

📦 Installation

pip install decitobin

🧪 Example Usage

➤ Convert decimal:

from decitobin import convert

print(dec2bin("42"))  # Output: 101010

➤ Convert text:

import decitobin
print(asciitobin("A")) # Output: 01000001

➤ Versions

1.0: 2025/07/02 11:20 PM 1.1 Alpha Insider: 2025/07/03 11:45 PM 1.1 Official: 2025/07/04 11:00 AM

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.1.1.tar.gz (3.7 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.1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for decitobin-1.1.1.tar.gz
Algorithm Hash digest
SHA256 2ebafff87e060abf6eca5e8f2c379a275da8f4d1cb985d16d75d860718ae24fb
MD5 dc226aa2fcb5ca30d0d71ea9faf8d0fc
BLAKE2b-256 7f55729048aeca3760b6c542693ca5b2a539885c07448b6cb9c1ddb3fab9e661

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for decitobin-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 50e44eaf9b322c2da2948bffbe71817e968a83a8139635fef4c62c93a64c2816
MD5 2353bdb3fb2af084422962a07d8b4931
BLAKE2b-256 1ba9b5fdf8c9c24e256ae07d7676beb56d4dacbc86f740ae2addc4c15d87baf8

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