binaryconvert


Namebinaryconvert JSON
Version 2.8 PyPI version JSON
download
home_pagehttps://github.com/wfxey/binaryconvert
SummaryA super easy Python tool that converts your text into binary language.
upload_time2024-11-16 20:55:03
maintainerNone
docs_urlNone
authorwfxey
requires_pythonNone
licenseMIT
keywords binary binaries text-to-binary
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # BinaryConvert

![PyPI - Downloads](https://img.shields.io/pypi/dm/binaryconvert)

A super easy Python tool that converts your text into binary language (8-bit).

## Installation

```bash
pip install binaryconvert
```
# Example

<hr>

## ToBinary()

```python
from binaryconvert import convert

convert.ToBinary("Hi, my name is wfxey!")
```
### Output
```bash
01001000 01100001 01100001 01101100 01100001 01101100 01101100 01100001 01100001 01101111
```
<hr>

## ToText()

```python
from binaryconvert import convert

convert.ToText("01001000 01100001 01100001 01101100 01100001 01101100 01101100 01100001 01100001 01101111")
```
### Output
```bash
Hi, my name is wfxey!
```

<hr>

# CLI Usage

BinaryConvert also provides a command line interface (CLI) for easy conversion without writing a single line of Python code.

## ToBinary Command

Convert normal text to binary (8-bit) using the to_binary command.

```bash
python -m binaryconvert to_binary "Hi, my name is wfxey!"
```
### Output
```bash
01001000 01101001 00101100 00100000 01101101 01111001 00100000 01101110 01100001 01101101 01100101 00100000 01101001 01110011 00100000 01110111 01100110 01111000 01100101 01111001 00100001
```
## ToText Command

Convert binary (8-bit) to normal text using the to_text command.

```bash
python -m binaryconvert to_text "01001000 01101001 00101100 00100000 01101101 01111001 00100000 01101110 01100001 01101101 01100101 00100000 01101001 01110011 00100000 01110111 01100110 01111000 01100101 01111001 00100001"
```
### Output
```bash
Hi, my name is wfxey!
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/wfxey/binaryconvert",
    "name": "binaryconvert",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "binary, binaries, text-to-binary",
    "author": "wfxey",
    "author_email": "di.projects.help@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/6d/cb/48af59dbc8e87c241cdcf4248a5591a40ed602d5c2a4df5773b218e0e23f/binaryconvert-2.8.tar.gz",
    "platform": null,
    "description": "# BinaryConvert\n\n![PyPI - Downloads](https://img.shields.io/pypi/dm/binaryconvert)\n\nA super easy Python tool that converts your text into binary language (8-bit).\n\n## Installation\n\n```bash\npip install binaryconvert\n```\n# Example\n\n<hr>\n\n## ToBinary()\n\n```python\nfrom binaryconvert import convert\n\nconvert.ToBinary(\"Hi, my name is wfxey!\")\n```\n### Output\n```bash\n01001000 01100001 01100001 01101100 01100001 01101100 01101100 01100001 01100001 01101111\n```\n<hr>\n\n## ToText()\n\n```python\nfrom binaryconvert import convert\n\nconvert.ToText(\"01001000 01100001 01100001 01101100 01100001 01101100 01101100 01100001 01100001 01101111\")\n```\n### Output\n```bash\nHi, my name is wfxey!\n```\n\n<hr>\n\n# CLI Usage\n\nBinaryConvert also provides a command line interface (CLI) for easy conversion without writing a single line of Python code.\n\n## ToBinary Command\n\nConvert normal text to binary (8-bit) using the to_binary command.\n\n```bash\npython -m binaryconvert to_binary \"Hi, my name is wfxey!\"\n```\n### Output\n```bash\n01001000 01101001 00101100 00100000 01101101 01111001 00100000 01101110 01100001 01101101 01100101 00100000 01101001 01110011 00100000 01110111 01100110 01111000 01100101 01111001 00100001\n```\n## ToText Command\n\nConvert binary (8-bit) to normal text using the to_text command.\n\n```bash\npython -m binaryconvert to_text \"01001000 01101001 00101100 00100000 01101101 01111001 00100000 01101110 01100001 01101101 01100101 00100000 01101001 01110011 00100000 01110111 01100110 01111000 01100101 01111001 00100001\"\n```\n### Output\n```bash\nHi, my name is wfxey!\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A super easy Python tool that converts your text into binary language.",
    "version": "2.8",
    "project_urls": {
        "Download": "https://github.com/wfxey/binaryconvert/archive/refs/tags/v2.8.tar.gz",
        "Homepage": "https://github.com/wfxey/binaryconvert"
    },
    "split_keywords": [
        "binary",
        " binaries",
        " text-to-binary"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2675be27ef41f04e2b868f3ea170ef4090eae9179e7b029919656525c702a44f",
                "md5": "cc78c78a3569ef449994ab3c07e38a9d",
                "sha256": "1041b5597806891a78477ad45e4b8cf3eefe6ab822ace6980be5d469608b6704"
            },
            "downloads": -1,
            "filename": "binaryconvert-2.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cc78c78a3569ef449994ab3c07e38a9d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4533,
            "upload_time": "2024-11-16T20:55:01",
            "upload_time_iso_8601": "2024-11-16T20:55:01.943338Z",
            "url": "https://files.pythonhosted.org/packages/26/75/be27ef41f04e2b868f3ea170ef4090eae9179e7b029919656525c702a44f/binaryconvert-2.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6dcb48af59dbc8e87c241cdcf4248a5591a40ed602d5c2a4df5773b218e0e23f",
                "md5": "8249048dcd07645708a8ae78c74efa2f",
                "sha256": "523a2cd910dfff61f4229745c50b81cd9ddb28fa6a6cd3af63813fc1dd1e2062"
            },
            "downloads": -1,
            "filename": "binaryconvert-2.8.tar.gz",
            "has_sig": false,
            "md5_digest": "8249048dcd07645708a8ae78c74efa2f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3368,
            "upload_time": "2024-11-16T20:55:03",
            "upload_time_iso_8601": "2024-11-16T20:55:03.824336Z",
            "url": "https://files.pythonhosted.org/packages/6d/cb/48af59dbc8e87c241cdcf4248a5591a40ed602d5c2a4df5773b218e0e23f/binaryconvert-2.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-16 20:55:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "wfxey",
    "github_project": "binaryconvert",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "binaryconvert"
}
        
Elapsed time: 1.37490s