Skip to main content

Binary to text and Text to binary

Project description

Hello this is my first library this library converts binary code into text and vice versa

Converts a string of binary code to text

binary_to_text(binary_code)

Converts a string of text to binary code

text_to_binary(text)

Usage example

Binary code to text

binary_code = '01001000 01100101 01101100 01101100 01101111'
text = binary_to_text(binary_code)
print(f"Translation of binary code '{binary_code}' to text: '{text}'")

Text to binary code

text = 'Hello'
binary_code = text_to_binary(text)
print(f"Translation of text '{text}' to binary code: '{binary_code}'")

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

binary_to_text-0.0.4.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

binary_to_text-0.0.4-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file binary_to_text-0.0.4.tar.gz.

File metadata

  • Download URL: binary_to_text-0.0.4.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.2

File hashes

Hashes for binary_to_text-0.0.4.tar.gz
Algorithm Hash digest
SHA256 7491891c120fdb34a72f55c4be66d7327c30b07a87c3e5355b7f3fba59c7a030
MD5 8cf67c39b48d19fd6c4c214b30f4945e
BLAKE2b-256 bb337e7a79a437fbb19aeb1f2255643e32d79bf9977d7fa500e8273bdf227378

See more details on using hashes here.

File details

Details for the file binary_to_text-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: binary_to_text-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.2

File hashes

Hashes for binary_to_text-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0aee3c7ad6fe2d05ebdbffe08bb836325f55433bdcd65a50767647b856b62fec
MD5 866fa80d6b3438bc5ec0dd6e29fd8af9
BLAKE2b-256 754916a744822988bda01b524b05439b96ecf1e4fcfb7860d5d3d67c13d0dbfc

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