cprint


Namecprint JSON
Version 1.2.2 PyPI version JSON
download
home_pagehttps://github.com/EVasseure/cprint
SummaryPrinting and debugging with color
upload_time2021-03-19 11:03:45
maintainer
docs_urlNone
authorErwan Vasseure
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            [![Build Status](https://travis-ci.org/EVasseure/cprint.svg?branch=master)](https://travis-ci.org/EVasseure/cprint)

## cprint

Do you find it annoying when you have to search for a certain debug, or error, line in your console? Have you ever dreamed of a simple and quick way to make your debug print truly visible? Well here is your solution!  
cprint is a minimalist python library which gives you the possibility to print in color.  

## Install

`pip install cprint`

## Usage

```python
from cprint import *

cprint(arg) 							# WHITE
cprint.ok(arg)							# BLUE
cprint.info(arg)						# GREEN
cprint.warn(arg)						# YELLOW
cprint.err(arg, interrupt=False)		# BROWN
cprint.fatal(arg, interrupt=False)		# RED
```

![Demo](/img/screen.png)

In case you have issues under Windows, try installing colorama with `pip install colorama`.
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/EVasseure/cprint",
    "name": "cprint",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Erwan Vasseure",
    "author_email": "e.vasseure@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/54/de/2961e14022de7149375301c14aae3ce64e869eb25f81a2149893c3e6fb4f/cprint-1.2.2.tar.gz",
    "platform": "",
    "description": "[![Build Status](https://travis-ci.org/EVasseure/cprint.svg?branch=master)](https://travis-ci.org/EVasseure/cprint)\n\n## cprint\n\nDo you find it annoying when you have to search for a certain debug, or error, line in your console? Have you ever dreamed of a simple and quick way to make your debug print truly visible? Well here is your solution!  \ncprint is a minimalist python library which gives you the possibility to print in color.  \n\n## Install\n\n`pip install cprint`\n\n## Usage\n\n```python\nfrom cprint import *\n\ncprint(arg) \t\t\t\t\t\t\t# WHITE\ncprint.ok(arg)\t\t\t\t\t\t\t# BLUE\ncprint.info(arg)\t\t\t\t\t\t# GREEN\ncprint.warn(arg)\t\t\t\t\t\t# YELLOW\ncprint.err(arg, interrupt=False)\t\t# BROWN\ncprint.fatal(arg, interrupt=False)\t\t# RED\n```\n\n![Demo](/img/screen.png)\n\nIn case you have issues under Windows, try installing colorama with `pip install colorama`.",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Printing and debugging with color",
    "version": "1.2.2",
    "project_urls": {
        "Homepage": "https://github.com/EVasseure/cprint"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "54de2961e14022de7149375301c14aae3ce64e869eb25f81a2149893c3e6fb4f",
                "md5": "d048c4aa753556233c9074af4d04a05a",
                "sha256": "83469274db24939b27a9b3a03d5298fec6f07408c3175dc0fc21d5ba206f51c8"
            },
            "downloads": -1,
            "filename": "cprint-1.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "d048c4aa753556233c9074af4d04a05a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2287,
            "upload_time": "2021-03-19T11:03:45",
            "upload_time_iso_8601": "2021-03-19T11:03:45.779992Z",
            "url": "https://files.pythonhosted.org/packages/54/de/2961e14022de7149375301c14aae3ce64e869eb25f81a2149893c3e6fb4f/cprint-1.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-03-19 11:03:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "EVasseure",
    "github_project": "cprint",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "cprint"
}
        
Elapsed time: 0.29366s