This is the decimal_binary_converter.
Project description
Decimal Binary Converter
A simple PYthon package to convert decimal numbers to binary and vice versa.
Installation
pip install dec2bin-converter
from dec2bin-converter import decimal_to_binary, binary_to_decimal
print(decimal_to_binary(10))
output: '1010'
print(binary_to_decimal(1010))
output: 10
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dec2bin_converter-0.2.0.tar.gz.
File metadata
- Download URL: dec2bin_converter-0.2.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
045d02febbab8757d0935e34907181a0b17d86c4a700361a20a1a770c08d2006
|
|
| MD5 |
dcbabef6e1b2df0fac2f72f4327e5019
|
|
| BLAKE2b-256 |
9dd58c18ebcaabf93e648c4d0afccb73a4b97ba4f64a289741b93b582f39bd80
|
File details
Details for the file dec2bin_converter-0.2.0-py3-none-any.whl.
File metadata
- Download URL: dec2bin_converter-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
400b32c1dfba29eff1b302831750b2b29adfe8755fe916ba68a6a3a9381d8fc6
|
|
| MD5 |
6e17efc996f0b1a2f2a36aab845e630a
|
|
| BLAKE2b-256 |
dda1cd826b8dfbaddefbaf3618ca18f6d5819032000ef8588f35eb5e7aef9f29
|