A simple package that converts your string/integer to binary
Project description
binaryconverter
Table of Contents
Description
Convert your String or Integer to Binary. Or convert your binary to string
Screenshots
## Built With
Getting Started
Get started by the installing the product itself. Then you can simply convert your String to Binary, or vice versa. Got an integer? No Problem.
Prerequisites
No external software/imports have been used. All is pure python.
Installation
You can import it simply by the following statement
pip -m install binaryconverter
import binaryconverter
Usage
There are three commands possible
stringToBinary(str)
example usage : print(stringToBinary('Hello World'))
expected output: 0100000101011101101111011100100110110001100100001000011001010110110001101100011011110010
Usage : utf-8
binaryToString(str)
example usage: print(binaryToString('0100000101011101101111011100100110110001100100001000011001010110110001101100011011110010)
expected output: 'Hello World'
Usage: utf-8
intToBinary(int)
example usage:print(intToBinary(69420))
expected output: 001101000011001000110000
Usage; utf-8
License
Acknowledgements
Id like to thank @skybird2333 for helping me
Contacts
#\x00 \x00b\x00i\x00n\x00a\x00r\x00y\x00c\x00o\x00n\x00v\x00e\x00r\x00t\x00
\x00
\x00
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 binaryconverter-0.0.1.tar.gz.
File metadata
- Download URL: binaryconverter-0.0.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce88b34d1beff6b2c0f7e2364a47d542f21b5ed08c5cf040928d348947140443
|
|
| MD5 |
8dc3dc9081bd7f19e5acb562995de3a4
|
|
| BLAKE2b-256 |
faa61fbf6ac282c1292c7ce465f77da1396c1ed82a1c7784a797060cccff2397
|
File details
Details for the file binaryconverter-0.0.1-py3-none-any.whl.
File metadata
- Download URL: binaryconverter-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
627a70dea729053fdbbaedd4abe5b8468f35868a53f56e97f43d07af70efce83
|
|
| MD5 |
4023cdc6ce32074ff5e2103976848bc5
|
|
| BLAKE2b-256 |
bc215ec9a149ec285e1ae55354a289be5834d4038f5c232c8cd90c061d5133ae
|