Skip to main content

decitobin

A small Python library and CLI for converting decimal, binary, hexadecimal, octal, ASCII, and duodecimal values.

Features

  • Python API with fractional decimal support
  • Common aliases such as dec, bin, hexadecimal, and base16
  • Friendly Tkinter desktop interface
  • Simple CLI entry points

Installation

pip install decitobin

Python API

from decitobin import convert_value

print(convert_value("10", "decimal", "binary"))
print(convert_value("1010", "binary", "decimal"))
print(convert_value("FF", "hexadecimal", "dec"))

Supported conversions are decimal, binary, hex, octal, ASCII, and duodecimal. Unsupported source/target pairs raise ConversionError; malformed values raise ValueError.

GUI

Run the interface with:

decitobin

CLI

decitobin-cli --from decimal --to binary 10
# 1010

Testing

Run the standard-library test suite from the project directory:

python -m unittest discover -s tests -v

Metadata

Release files for decitobin 2026.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for decitobin 2026.5
File Size Uploaded
decitobin-2026.5.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for decitobin 2026.5
File Interpreter ABI Platform
decitobin-2026.5-py3-none-any.whl Python 3 none any Details

Total release size: 12.9 kB

Release files / decitobin-2026.5.tar.gz

Download URL decitobin-2026.5.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0cd227fadd3a1c927066a7145329033cac74092679eff2f424deb8fa3d47af4e
BLAKE2b-256 checksum
How to use checksums
56ae4632845016243caef0c2c96547ca1f9d2de8252ec4089dbcd8b9cf5c8fcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Release files / decitobin-2026.5-py3-none-any.whl

Download URL decitobin-2026.5-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2427f9ad201501a500504c3a73530f0fde44d680d7d57f13196cab1a8d050a83
BLAKE2b-256 checksum
How to use checksums
9ed5a094c71f9565e0e60ebef0e04c7af02555747f07ceef9bacb87db22a7dac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Release history Release notifications | RSS feed

This release

2026.5 This release

2 release files

2026.1

2 release files

2025.6

2 release files

1.5

2 release files

1.4

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2

2 release files

1.1.1

2 release files

1.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page