A simple tool to convert text to binary and back
Project description
Binary Tool A lightweight, zero-dependency Python library for converting text to binary and binary back to text.
🚀 Installation You can install this package via pip:
Bash pip install binary-tool-nono819819 🛠 Usage This library is designed to be simple and "Pythonic." Here is how you can use it in your projects:
Text to Binary Convert any string into an 8-bit binary representation.
Python from binary_tool import text_to_binary
text = "Hello" binary_output = text_to_binary(text)
print(binary_output) # Output: 01001000 01100101 01101100 01101100 01101111 Binary to Text Convert a space-separated string of binary back into readable text.
Python from binary_tool import binary_to_text
binary_str = "01001000 01101001" text_output = binary_to_text(binary_str)
print(text_output) # Output: Hi 📋 Features Zero Dependencies: Uses only standard Python libraries.
8-bit Formatting: Ensures all binary output is padded to 8 bits for consistency.
UTF-8 Support: Handles standard text characters gracefully.
📝 License This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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_tool_nono819819-0.1.1.tar.gz.
File metadata
- Download URL: binary_tool_nono819819-0.1.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
521c728120fab1946d82f4223e0f91c336c2c877590bfdb16167931ef3c443d7
|
|
| MD5 |
f4bf04c3182af934268147cbe92368b2
|
|
| BLAKE2b-256 |
b14831740393e112f61042c7e8138cd672ee97f6026a0681f31c8bab462aee44
|
File details
Details for the file binary_tool_nono819819-0.1.1-py3-none-any.whl.
File metadata
- Download URL: binary_tool_nono819819-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a198b6a92439532b051ac083e7f2cfc16c42c3d8803e6d1188774d2094b0f477
|
|
| MD5 |
65715b1d122f3e5b8521a200378624a5
|
|
| BLAKE2b-256 |
82a3d1194ac8367d65854e7a88ade90bc33c60741ac23ab16b90e4bcbb3d95e2
|