Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dec2bin_converter-0.2.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

dec2bin_converter-0.2.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

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

Hashes for dec2bin_converter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 045d02febbab8757d0935e34907181a0b17d86c4a700361a20a1a770c08d2006
MD5 dcbabef6e1b2df0fac2f72f4327e5019
BLAKE2b-256 9dd58c18ebcaabf93e648c4d0afccb73a4b97ba4f64a289741b93b582f39bd80

See more details on using hashes here.

File details

Details for the file dec2bin_converter-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dec2bin_converter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 400b32c1dfba29eff1b302831750b2b29adfe8755fe916ba68a6a3a9381d8fc6
MD5 6e17efc996f0b1a2f2a36aab845e630a
BLAKE2b-256 dda1cd826b8dfbaddefbaf3618ca18f6d5819032000ef8588f35eb5e7aef9f29

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