Binary to text
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
translator.binary_to_text(binary_code)
Converts a string of text to binary code
translator.text_to_binary(text)
Usage example
Binary code to text
binary_code = '01001000 01100101 01101100 01101100 01101111'
text = translator.binary_to_text(binary_code)
print(f"Translation of binary code '{binary_code}' to text: '{text}'")
Text to binary code
text = 'Hello'
binary_code = translator.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.2.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file binary_to_text-0.0.2.tar.gz.
File metadata
- Download URL: binary_to_text-0.0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6659347b4b4cebd855d15742686459ba85aa79d44a5d01e820744dbee1e4c27f
|
|
| MD5 |
db0ad74d7030b56da0c950ffd524427e
|
|
| BLAKE2b-256 |
f0ab4b2d3908dd4aea70efdce8374603b5ac11c5dadbf765621f69551c4d54c8
|
File details
Details for the file binary_to_text-0.0.2-py3-none-any.whl.
File metadata
- Download URL: binary_to_text-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f38d0e6daa27e31e9a7276bc970f72b47710dd40dbf990cc0898380b617df2c
|
|
| MD5 |
795fc68323ce337aea7d578f4f264ca2
|
|
| BLAKE2b-256 |
73a3f641b31494e6f5bfe44d7b3dc99090072554b8ec422a990c551cff021f81
|