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)
| File | Size | Uploaded | |
|---|---|---|---|
| minbinary-0.1.0.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|