gpColor


NamegpColor JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/gpbot-org/gpColor
SummaryA Python module to apply ANSI, RGB and HEX colors in terminal output.
upload_time2024-10-26 06:26:44
maintainerNone
docs_urlNone
authorGrandpa EJ
requires_python>=3.6
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![gp](https://camo.githubusercontent.com/1a0976983f732f3a3713173670c9843d4eb27c420b5844b13378aaadb28ce0b9/68747470733a2f2f726561646d652d747970696e672d7376672e6865726f6b756170702e636f6d2f3f6c696e65733d6770436f6c6f722b213b4d4144452b42592b4752414e4450412b454a213b5445524d494e414c2b434f4c4f522b574954482b5247422b414e442b4845582b434f44452b4645415455524521)
# gpColor

gpColor is a Python module for applying ANSI, RGB and HEX colors in terminal output.

## Installation
<b>install via pip</b>
```bash
pip install gpColor
```
```bash
git clone https://github.com/gpbot-org/gpColor
cd gpColor

python setup.py install
```
## Usage

```python
from gpColor import colorize as color

'''how to use text color'''
print(color("This is bright red text", font='bright_red'))
print(color("This is RGB text", font=(255, 0, 0)))
print(color("This is HEX text", font='#FF5733'))

'''
>_ How to use background color with text color

text       : font
background : back
'''
print(color("This is blue text with yellow background", font='blue', back='yellow'))
print(color("This is RGB text", font=(255, 0, 0), back=(255,255,255))
print(color("This is HEX text", font='#FF5733', back='#FFFFFF'))
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/gpbot-org/gpColor",
    "name": "gpColor",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Grandpa EJ",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/e3/e7/ea66648c3cbb4e5db8889c24f93e5d045db3aff4f692b89d1c1b643c46c1/gpcolor-1.0.1.tar.gz",
    "platform": null,
    "description": "![gp](https://camo.githubusercontent.com/1a0976983f732f3a3713173670c9843d4eb27c420b5844b13378aaadb28ce0b9/68747470733a2f2f726561646d652d747970696e672d7376672e6865726f6b756170702e636f6d2f3f6c696e65733d6770436f6c6f722b213b4d4144452b42592b4752414e4450412b454a213b5445524d494e414c2b434f4c4f522b574954482b5247422b414e442b4845582b434f44452b4645415455524521)\n# gpColor\n\ngpColor is a Python module for applying ANSI, RGB and HEX colors in terminal output.\n\n## Installation\n<b>install via pip</b>\n```bash\npip install gpColor\n```\n```bash\ngit clone https://github.com/gpbot-org/gpColor\ncd gpColor\n\npython setup.py install\n```\n## Usage\n\n```python\nfrom gpColor import colorize as color\n\n'''how to use text color'''\nprint(color(\"This is bright red text\", font='bright_red'))\nprint(color(\"This is RGB text\", font=(255, 0, 0)))\nprint(color(\"This is HEX text\", font='#FF5733'))\n\n'''\n>_ How to use background color with text color\n\ntext       : font\nbackground : back\n'''\nprint(color(\"This is blue text with yellow background\", font='blue', back='yellow'))\nprint(color(\"This is RGB text\", font=(255, 0, 0), back=(255,255,255))\nprint(color(\"This is HEX text\", font='#FF5733', back='#FFFFFF'))\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python module to apply ANSI, RGB and HEX colors in terminal output.",
    "version": "1.0.1",
    "project_urls": {
        "Homepage": "https://github.com/gpbot-org/gpColor"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e203d23090b71cece9caa8e6bacffed0eca1da75d1a506e4a287ab80bef1662b",
                "md5": "61a1d28f2afc941e2973c630a5d6e2b3",
                "sha256": "85335292393096a2408f126e0679c5a562cce5635958a50d3fbe96f3851af518"
            },
            "downloads": -1,
            "filename": "gpColor-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "61a1d28f2afc941e2973c630a5d6e2b3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3260,
            "upload_time": "2024-10-26T06:26:43",
            "upload_time_iso_8601": "2024-10-26T06:26:43.068546Z",
            "url": "https://files.pythonhosted.org/packages/e2/03/d23090b71cece9caa8e6bacffed0eca1da75d1a506e4a287ab80bef1662b/gpColor-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e3e7ea66648c3cbb4e5db8889c24f93e5d045db3aff4f692b89d1c1b643c46c1",
                "md5": "293469bf24a74486e019ccf8dc81d951",
                "sha256": "40240b0c1cb9f2b7e05288abdd9c8f343b11ca5bc5b3ae02207aa66b128da087"
            },
            "downloads": -1,
            "filename": "gpcolor-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "293469bf24a74486e019ccf8dc81d951",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 3131,
            "upload_time": "2024-10-26T06:26:44",
            "upload_time_iso_8601": "2024-10-26T06:26:44.299725Z",
            "url": "https://files.pythonhosted.org/packages/e3/e7/ea66648c3cbb4e5db8889c24f93e5d045db3aff4f692b89d1c1b643c46c1/gpcolor-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-26 06:26:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "gpbot-org",
    "github_project": "gpColor",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "gpcolor"
}
        
Elapsed time: 0.88325s