Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

binary_tool_nono819819-0.1.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

binary_tool_nono819819-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

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

Hashes for binary_tool_nono819819-0.1.1.tar.gz
Algorithm Hash digest
SHA256 521c728120fab1946d82f4223e0f91c336c2c877590bfdb16167931ef3c443d7
MD5 f4bf04c3182af934268147cbe92368b2
BLAKE2b-256 b14831740393e112f61042c7e8138cd672ee97f6026a0681f31c8bab462aee44

See more details on using hashes here.

File details

Details for the file binary_tool_nono819819-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for binary_tool_nono819819-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a198b6a92439532b051ac083e7f2cfc16c42c3d8803e6d1188774d2094b0f477
MD5 65715b1d122f3e5b8521a200378624a5
BLAKE2b-256 82a3d1194ac8367d65854e7a88ade90bc33c60741ac23ab16b90e4bcbb3d95e2

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