Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


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.2
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 hashes
Filename, size pyconverter-0.0.2.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page