Skip to main content

Basic Binary Converter

Project description

This is a programme that converts binary to decimal, and decimal to binary. DecToBin converts decimals to binary and BinToDec does the opposite. HexToDec converts hexadecimal to decimal and DecToHex does the opposite. E.g. Input - print(DecToBin(5)) Output - 101 These functions only accept integers and string as an inputs.

Change Log

0.0.1 (23/10/2022)

-First Release

0.0.2 (24/10/2022)

-DecToHex function added

0.0.3 (24/10/2022)

-HexToDec function added -Functions now accept string inputs

0.0.4 (25/10/2022)

-Improved error messages

0.0.5 (20/11/2022)

-HexToBin function added -BinToHex function added -Codes optimised to be slightly faster

0.0.6 (13/3/2023)

-Octal functions added -Address function added

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

PyConvertBinary-0.0.6.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file PyConvertBinary-0.0.6.tar.gz.

File metadata

  • Download URL: PyConvertBinary-0.0.6.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.8

File hashes

Hashes for PyConvertBinary-0.0.6.tar.gz
Algorithm Hash digest
SHA256 158fce4244a9172ff375bd29ea9de0382fd8c0dc91aa4893e5b0c6ade417518e
MD5 cce0c00ade5502af1a88434767686645
BLAKE2b-256 f20a3c280d82530aada16b18e40f93090b69156a1b44b10df59bf6ab22e0c728

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