# `quick-colorlog`
Inspired by `coloredlogs` but without the subprocesses.
### Quickstart
```python
from quick_colorlog import init_colors
init_colors()
```
### Defaults
By default, the log level is set to `logging.INFO` and the output stream is
attached to `sys.stderr`. To change these, pass arguments to `init_colors()`
```python
from quick_colorlog import init_colors
init_colors(level=logging.DEBUG, output=sys.stdout)
```
### Example
```python
import logging
from quick_colorlog import init_colors
init_colors()
logger = logging.getLogger('testing')
logger.debug("test")
logger.info("test")
logger.warning("test")
logger.error("test")
logger.critical("test")
```
Raw data
{
"_id": null,
"home_page": null,
"name": "quick-colorlog",
"maintainer": "Scott Walsh",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "scott@invisiblethreat.ca",
"keywords": "logging, color, colorama, formatter",
"author": "Scott Walsh",
"author_email": "scott@invisiblethreat.ca",
"download_url": "https://files.pythonhosted.org/packages/9a/2a/cd8b47354e2a3d800448da2ebf9eaa5db9a197b3a62bf3f1d5f1f34d0db8/quick_colorlog-0.0.9.tar.gz",
"platform": null,
"description": "# `quick-colorlog`\n\nInspired by `coloredlogs` but without the subprocesses.\n\n### Quickstart\n\n```python\nfrom quick_colorlog import init_colors\n\ninit_colors()\n```\n\n### Defaults\n\nBy default, the log level is set to `logging.INFO` and the output stream is\nattached to `sys.stderr`. To change these, pass arguments to `init_colors()`\n\n```python\nfrom quick_colorlog import init_colors\n\ninit_colors(level=logging.DEBUG, output=sys.stdout)\n```\n\n### Example\n\n```python\nimport logging\nfrom quick_colorlog import init_colors\n\ninit_colors()\n\nlogger = logging.getLogger('testing')\nlogger.debug(\"test\")\nlogger.info(\"test\")\nlogger.warning(\"test\")\nlogger.error(\"test\")\nlogger.critical(\"test\")\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Colorized logging with Python.",
"version": "0.0.9",
"project_urls": {
"documentation": "https://github.com/invisiblethreat/quick-colorlog/blob/main/README.md",
"homepage": "https://github.com/invisiblethreat/quick-colorlog",
"repository": "https://github.com/invisiblethreat/quick-colorlog"
},
"split_keywords": [
"logging",
" color",
" colorama",
" formatter"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "1a2128da96e9a959e5655788663a0947cdffc9b3a8f54c5dd4b62de5475ef747",
"md5": "deae7a29dab43e6a6a9436b7dfb74504",
"sha256": "41f3336f1aa89923a92060178d2b6e808dc069cbf46aea6702e82412cae93f12"
},
"downloads": -1,
"filename": "quick_colorlog-0.0.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "deae7a29dab43e6a6a9436b7dfb74504",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 3138,
"upload_time": "2025-07-21T23:28:22",
"upload_time_iso_8601": "2025-07-21T23:28:22.108464Z",
"url": "https://files.pythonhosted.org/packages/1a/21/28da96e9a959e5655788663a0947cdffc9b3a8f54c5dd4b62de5475ef747/quick_colorlog-0.0.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "9a2acd8b47354e2a3d800448da2ebf9eaa5db9a197b3a62bf3f1d5f1f34d0db8",
"md5": "0f33787ccf57c4f47fe6f1b29a4910e9",
"sha256": "0f6ea119ae7cf8c9a8f0b00218b75264c277c19de2e7df08d7675bb1b725f505"
},
"downloads": -1,
"filename": "quick_colorlog-0.0.9.tar.gz",
"has_sig": false,
"md5_digest": "0f33787ccf57c4f47fe6f1b29a4910e9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 2736,
"upload_time": "2025-07-21T23:28:22",
"upload_time_iso_8601": "2025-07-21T23:28:22.883383Z",
"url": "https://files.pythonhosted.org/packages/9a/2a/cd8b47354e2a3d800448da2ebf9eaa5db9a197b3a62bf3f1d5f1f34d0db8/quick_colorlog-0.0.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-21 23:28:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "invisiblethreat",
"github_project": "quick-colorlog",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "quick-colorlog"
}