Skip to main content

A package to convert type format (binary, float, double, decimal, hexadecimal, 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
  • 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
  • floattobin(fl: float) ==> convert float to binary
  • floattohex(fl: float) ==> convert float to hexadecimal
  • 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
  • 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) ==> return the binary of the text (utf8 format)
  • utf8tohex(text: str) ==> return the hexadecimal of the text (utf8 format)
  • utf16tobin(text: str) ==> return the binary of the text (utf16 format)
  • utf16tohex(text: str) ==> return the hexadecimal of the text (utf16 format)

### Links

[Gitlab Project]( [Issues](

Project details

Download files

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

Files for pyconverter, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size pyconverter-0.0.1.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View
Filename, size pyconverter-0.0.1-py3-none-any.whl (5.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page