convpy


Nameconvpy JSON
Version 0.9.1 PyPI version JSON
download
home_pageNone
SummaryCLI base number type converter
upload_time2024-06-05 15:45:09
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseGPL-3.0
keywords cli convertor binary octal decimal hexidecimal
VCS
bugtrack_url
requirements click colorama
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Convpy

convpy is a simple command line interface to convert from one base type number to another. It covers
base 2, 8, 10, and 16. convpy will also take in a file containing numbers of one base type and write
the conversions to another file. Orchestrated with the Click Module.


## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install convpy.

```bash
pip install convpy
```

```bash
pipx install convpy
```

## Usage

To convert one number from the terminal supply the number, its base type, (b - binary, o - octal, d - decimal, x- hexidecimal),
and the base you wish to convert to (-b, -o, -d, -x)

```bash
convpy conv 111 b -d

7
```

convpy supports full paths as well as existance validation on the input file, this command spawns a background process for the
conversion such as not to lock out the terminal incase of large files.

```bash
convpy from-file ./hex_nums.txt ./binary_nums.txt x -b
```

## License

[GPLv3](https://choosealicense.com/licenses/gpl-3.0/)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "convpy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "cli, convertor, binary, octal, decimal, hexidecimal",
    "author": null,
    "author_email": "Simon Crampton <simongc100@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/b7/3f/e3247fb1222678792c2858db3d348ba315c194377b2244c9f8b6d919e534/convpy-0.9.1.tar.gz",
    "platform": null,
    "description": "# Convpy\r\n\r\nconvpy is a simple command line interface to convert from one base type number to another. It covers\r\nbase 2, 8, 10, and 16. convpy will also take in a file containing numbers of one base type and write\r\nthe conversions to another file. Orchestrated with the Click Module.\r\n\r\n\r\n## Installation\r\n\r\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install convpy.\r\n\r\n```bash\r\npip install convpy\r\n```\r\n\r\n```bash\r\npipx install convpy\r\n```\r\n\r\n## Usage\r\n\r\nTo convert one number from the terminal supply the number, its base type, (b - binary, o - octal, d - decimal, x- hexidecimal),\r\nand the base you wish to convert to (-b, -o, -d, -x)\r\n\r\n```bash\r\nconvpy conv 111 b -d\r\n\r\n7\r\n```\r\n\r\nconvpy supports full paths as well as existance validation on the input file, this command spawns a background process for the\r\nconversion such as not to lock out the terminal incase of large files.\r\n\r\n```bash\r\nconvpy from-file ./hex_nums.txt ./binary_nums.txt x -b\r\n```\r\n\r\n## License\r\n\r\n[GPLv3](https://choosealicense.com/licenses/gpl-3.0/)\r\n",
    "bugtrack_url": null,
    "license": "GPL-3.0",
    "summary": "CLI base number type converter",
    "version": "0.9.1",
    "project_urls": {
        "Repository": "https://github.com/DragonSGC/pyconv"
    },
    "split_keywords": [
        "cli",
        " convertor",
        " binary",
        " octal",
        " decimal",
        " hexidecimal"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c342f31635267a71149ba3a12085fc82d2afab93848f8393cbf371304c8a2ff5",
                "md5": "cb24e6f19d63f80df39ba2c7ac8621e7",
                "sha256": "5d0f3e61a1690d65df1c60ffd1b5150d69f01987d8871afd42bf109cb8c54663"
            },
            "downloads": -1,
            "filename": "convpy-0.9.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cb24e6f19d63f80df39ba2c7ac8621e7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 17982,
            "upload_time": "2024-06-05T15:45:08",
            "upload_time_iso_8601": "2024-06-05T15:45:08.188355Z",
            "url": "https://files.pythonhosted.org/packages/c3/42/f31635267a71149ba3a12085fc82d2afab93848f8393cbf371304c8a2ff5/convpy-0.9.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b73fe3247fb1222678792c2858db3d348ba315c194377b2244c9f8b6d919e534",
                "md5": "dba11093d0dfb5be22c178a700aa443b",
                "sha256": "ba648a74232b37a669d8b0c2dbe5908762aef76f00033378390966b9cb22061c"
            },
            "downloads": -1,
            "filename": "convpy-0.9.1.tar.gz",
            "has_sig": false,
            "md5_digest": "dba11093d0dfb5be22c178a700aa443b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 19924,
            "upload_time": "2024-06-05T15:45:09",
            "upload_time_iso_8601": "2024-06-05T15:45:09.576628Z",
            "url": "https://files.pythonhosted.org/packages/b7/3f/e3247fb1222678792c2858db3d348ba315c194377b2244c9f8b6d919e534/convpy-0.9.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-05 15:45:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DragonSGC",
    "github_project": "pyconv",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "click",
            "specs": [
                [
                    "==",
                    "8.1.7"
                ]
            ]
        },
        {
            "name": "colorama",
            "specs": [
                [
                    "==",
                    "0.4.6"
                ]
            ]
        }
    ],
    "tox": true,
    "lcname": "convpy"
}
        
Elapsed time: 3.74281s