Skip to main content

minbinary (MinBinary)

Einfache Umwandlung zwischen Dezimal- und Binaerzahlen.

Install

pip install minbinary

Nutzung

import MinBinary as binary

print(binary.convert_to_binary(42))      # "101010"
print(binary.convert_to_decimal("1010")) # 10
print(binary.convert_to_binary(-5))      # "-101"

Features

  • Dezimal zu Binaer (convert_to_binary)
  • Binaer zu Dezimal (convert_to_decimal)
  • Unterstuetzt negative Zahlen

Keine Extra-Pakete noetig – nur Python 3.10+.

Metadata

Release files for minbinary 0.1.0

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

Source distribution (sdist)

Source distribution for minbinary 0.1.0
File Size Uploaded
minbinary-0.1.0.tar.gz 3.0 kB Details

Built distribution (wheel)

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

Total release size: 6.1 kB

Release files / minbinary-0.1.0.tar.gz

Download URL minbinary-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e05f5d36ebfbbb48499672b972375079fe3f21802e569fc51b0bb8ea8b75efb9
BLAKE2b-256 checksum
How to use checksums
e986a45c75307d63cb0150c2eda0ee8cb781d01e61c8c0b14dd6f515dfd04006
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release files / minbinary-0.1.0-py3-none-any.whl

Download URL minbinary-0.1.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4af7f7db21e0311a69c0d5e6128b08fffe4a3539088c2a35d90c75c8a1fe5346
BLAKE2b-256 checksum
How to use checksums
71689dd57627afa3e450214824fac12baf01d92c697fb9683f08ab3171fbdc11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.1.0 This release

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