Skip to main content

Converting Files and Types

Project description

Install App

pip install file3

Chars Conversion

For character conversion, simply import the features.

from file3 import Chars

To use, simply log in this way:

  • Performs the conversion from String to Binary, with the answer in string format

      Chars.to_binary("1") => Return '110001'
    
  • Performs the conversion from String to ASCII, with the answer in dict format

      Chars.to_ascii("1") => Return {'int': 49, 'str': '49'}
    
  • Performs the conversion from String to hexadecimal, with the response in dict format

      Chars.to_hexadecimal("1") => return '31'
    

Hexadecimal Conversion

For hexadecimal conversion, just import the resources.

from file3 import Hexadecimal

To use, simply log in this way:

  • Performs hexadecimal to integer conversion, with response in integer format

      Hexadecimal.to_integer("1") => return 1
    

Integer Conversion

For Integers conversion, just import the resources.

from file3 import Integers

To use, simply log in this way:

  • Performs integer to binary conversion, with the response in integer format

      Integers.to_binary(1) => return 1
    
  • Performs integer to hexadecimal conversion, with response in integer format

      Integers.to_hexadecimal(1) => return 1
    
  • Performs integer to byte conversion, with response in bytes format

      Integers.to_byte(1) => return b'\x00'
    

Binary Conversion

For Integers conversion, just import the resources.

from file3 import binarys
  • Performs string-to-binary conversion, with integer-formatted response

      binarys.to_decimal("11000011") => return 195
    

String Conversion

For Integers conversion, just import the resources.

from file3 import Strings
  • Performs string to hexadecimal conversion, with dict formatted response

      Strings.to_hexadecimal("1") => return {'1': '31'}
    
  • Performs string-to-byte conversion, with dict formatted response

      Strings.to_byte("1") => return {'1': b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'}
    
  • Performs string-to-ascii conversion, with dict formatted response

      Strings.to_ascii("1") => Return {'1': 49}
    
  • Performs string-to-binary conversion, with dict formatted response

      Strings.to_binary("1") => return {'1': '110001'}
    

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

file3-0.1.7.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

file3-0.1.7-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file file3-0.1.7.tar.gz.

File metadata

  • Download URL: file3-0.1.7.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for file3-0.1.7.tar.gz
Algorithm Hash digest
SHA256 11e41cf60df00a39844f9308ae5292b2f56472b0afe4cf0a0f19fdc5e9bc1dcc
MD5 5f7b6ce51d5e4e1d676a422451ac0dc7
BLAKE2b-256 d6821619fa44d5caff89460619d36b986c36b3ad7e9595647182df69238adc4b

See more details on using hashes here.

File details

Details for the file file3-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: file3-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for file3-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 119616f1f6d0b318fbd13fe38fbaa6ba238065109387b50495967fb46fe530e4
MD5 b827d2ece8afdd81fd3e1d63b8b7b0df
BLAKE2b-256 916f9d0d8356041257c9660a25c03dd6683eff7bb6c48818270976ee5815dce2

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