A package that converts between binary, hexadecimal, decimal and octal.
Project description
Binary/Hexadecimal/Decimal/Octal Conversion
This module allows you to convert binary, hexadecimal, decimal and octal (base16, base2, base10 and base8) numbers between one another.
The functions setup within this module are as follows:
Conversion from binary
binHex(number)
binDec(number)
binOct(number)
Conversion from hexadecimal
hexBin(number)
hexDec(number)
hexOct(number)
Conversion from decimal
decBin(number)
decHex(number)
decOct(number)
Conversion from octal
octBin(number)
octHex(number)
octDec(number)
How to use the functions properly
- Conversion from binary - You do not need to have at least 8 bits of information and you can have more than 8.
- Conversion from hexadecimal - You do not need to have "0x" before the hexadecimal value.
- Conversion from decimal - You can enter any integer you want.
- Conversion from octal - You do not have to have "0o" before the octal value.
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
File details
Details for the file BinHexDecOctConversions-1.2.tar.gz
.
File metadata
- Download URL: BinHexDecOctConversions-1.2.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8ec3c59e9db619ce7a29efd6ca9447dc9e242fb09d5932ab269181ac33309d0 |
|
MD5 | 40bf8340f83a8cc1da9d115b2dd5fb1e |
|
BLAKE2b-256 | ffeb1d37f0a8e240b157deba07d1acb0b1719aa8f1c8feb05732199560dd173d |
File details
Details for the file BinHexDecOctConversions-1.2-py3-none-any.whl
.
File metadata
- Download URL: BinHexDecOctConversions-1.2-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae579d35391a54731546ae794b6eabebc63952f1ffd8c22d0e11c4341e4b3677 |
|
MD5 | ae82f57d237ef1f88d55397e4e845a41 |
|
BLAKE2b-256 | d559e7c6686b1f3d169800dd25e2073de1e24ac1699d6afc3733ecb5799913bb |