Skip to main content

A widget to convert decimal to binary

Project description

markdown_content = """# 🔢 decitobin CLI & WebStyle 2026.1

PyPI version Downloads License: MIT

decitobin là một công cụ Python đa năng giúp chuyển đổi giữa các hệ cơ số và văn bản—nay đã được nâng cấp với giao diện người dùng hiện đại và công cụ dòng lệnh (CLI) mạnh mẽ cho lập trình viên.

Cho dù bạn đang chuyển đổi thập phân sang nhị phân, khám phá mã hóa ASCII hay xử lý các chuỗi thập lục phân phức tạp, decitobin đều mang lại trải nghiệm tương tác và thân thiện.


✨ Tính năng nổi bật

  • 🚀 CLI Pro: Thao tác cực nhanh qua dòng lệnh, hỗ trợ lập trình viên tích hợp vào script.
  • 🎨 WebStyle GUI: Giao diện Tkinter hiện đại, dễ sử dụng cho người mới bắt đầu.
  • 🛠️ Đa dạng hệ cơ số:
    • Thập phân (Decimal) ↔ Nhị phân (Binary)
    • Thập lục phân (Hex) ↔ Nhị phân (Binary)
    • ASCII ↔ Nhị phân (Binary)
    • Thập phân (Decimal) ↔ Thập lục phân (Hex)
    • Bát phân (Octal) ↔ Nhị phân (Binary)
    • Đặc biệt: Thập phân (Decimal) ↔ Thập nhị phân (Duodecimal)
  • 📋 Tiện ích: Sao chép kết quả vào clipboard chỉ với một cú click/lệnh.

📥 Cài đặt

Sử dụng pip để cài đặt phiên bản mới nhất:

pip install decitobin

Cách dùng bản GUI

Ghi dòng lệnh sau:

import decitobin

Cách dùng bản CLI

Ghi dòng lệnh sau:

from decitobin import cli

# Để chạy trình điều khiển CLI ngay trong code
if __name__ == "__main__":
    cli.main()

CLI arguments

alt text

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

Uploaded Source

Built Distribution

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

decitobin-2026.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: decitobin-2026.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for decitobin-2026.1.tar.gz
Algorithm Hash digest
SHA256 f2720499f1bd8971fa8d212c477a0a85fad1f127ac7845d04dedc35ba5102fab
MD5 d420d61c7f778efd1d575df130c550b9
BLAKE2b-256 9dccd708e2c0e49649b2089bee37b6f67d479327c31df1f4bd53694a68bfff2b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: decitobin-2026.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for decitobin-2026.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a483b62862285e1d5ca39ec6b173a8f901affa5bdc544288ee8bdcb1dbcab24
MD5 300fd2c424af3387779956b9d9ad730b
BLAKE2b-256 d1ce18bf125adeb90a10b3751fb3b6e83feab0248ab7d431fe6bbfc2413c4c37

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