A package to convert type format (binary, float, double, decimal, hexadecimal, octal, utf8, utf16) to another
Project description
# PyConverter
This package allows you to convert type format (binary, decimal, hexadecimal, float, double, utf8, utf16) to an another
You can install this package : ` python3 -m pip install -U PyConverter `
### List of functions: * bintodouble(binary) ==> convert binary to double
- bintofloat(binary) ==> convert binary to float
- bintohex(binary) ==> convert binary to hexadecimal
- bintoint(binary) ==> convert binary to integer
- bintooct(binary) ==> convert binary to octal
- bintoutf8(binary) ==> convert binary to text (utf8 format)
- bintoutf16(binary) ==> convert binary to text (utf16 format)
- doubletobin(db: float) ==> convert double to binary
- doubletohex(db: float) ==> convert double to hexadecimal
- doubletooct(db: float) ==> convert double to octal
- floattobin(fl: float) ==> convert float to binary
- floattohex(fl: float) ==> convert float to hexadecimal
- floattooct(fl: float) ==> convert float to octal
- hextobin(hexa: str) ==> convert hexadecimal to binary
- hextodouble(hexa: str) ==> convert hexadecimal to double
- hextofloat(hexa: str) ==> convert hexadecimal to float
- hextoint(hexa: str) ==> convert hexadecimal to integer
- hextooct(hexa: str) ==> convert hexadecimal to octal
- hextoutf8(hexa: str) ==> convert hexadecimal to text (utf8 format)
- hextoutf16(hexa: str) ==> convert hexadecimal to text (utf16 format)
- inttobin(dec: int) ==> convert integer to binary
- inttohex(dec: int) ==> convert integer to hexadecimal
- is_bin(binary) ==> check if string is in binary format (example : “101011110” return True)
- is_hex(hexa: str) ==> check if string is in hexadecimal format (example : “0x5fe92” or “5FE92” return True)
- utf8tobin(text: str) ==> convert text (utf8 format) to binary
- utf8tohex(text: str) ==> convert text (utf8 format) to hexadecimal
- utf8tohex(text: str) ==> convert text (utf8 format) to octal
- utf16tobin(text: str) ==> convert text (utf16 format) to binary
- utf16tohex(text: str) ==> convert text (utf16 format) to hexadecimal
- utf16tooct(text: str) ==> convert text (utf16 format) to octal
### Links
[Gitlab Project](https://gitlab.com/soyouzpanda/pyconverter) [Issues](https://gitlab.com/soyouzpanda/pyconverter/issues)
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size pyconverter-0.0.2-py3-none-any.whl (7.8 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size pyconverter-0.0.2.tar.gz (4.2 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for pyconverter-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9106d79d35aa271fadebb7465e384f76442dc12617ce3cc878c8551543a7bc6 |
|
MD5 | ffaf6942f28e6213f44217aec6797818 |
|
BLAKE2-256 | a08261c3e75903eadfe45f134f77cab9ec4c89993069437b7f8604d91589d382 |