# `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/1d/29/395c36ebe19ee505d78dad82ddc3fed5472435e70f4fb2bc8bff6aeddd92/quick_colorlog-0.0.10.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.10",
"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": "d20696819dc851be5d33c4800d19117acd5892d423f3b3667ac01d60b04b344c",
"md5": "e475e88c3796e3af19abe4760105fa3b",
"sha256": "f61330324e4f9a9c59fae805c32cd572f9c7eeabf68038422b6a2f3fcb058f26"
},
"downloads": -1,
"filename": "quick_colorlog-0.0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e475e88c3796e3af19abe4760105fa3b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 4421,
"upload_time": "2025-08-07T08:19:01",
"upload_time_iso_8601": "2025-08-07T08:19:01.861804Z",
"url": "https://files.pythonhosted.org/packages/d2/06/96819dc851be5d33c4800d19117acd5892d423f3b3667ac01d60b04b344c/quick_colorlog-0.0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "1d29395c36ebe19ee505d78dad82ddc3fed5472435e70f4fb2bc8bff6aeddd92",
"md5": "5aa3e6efd737699ef8a511cae0057dd5",
"sha256": "6a0640f1aad5d8968d7851d06436c67bdcdd5a7a0ca6d456bb59ff183b640028"
},
"downloads": -1,
"filename": "quick_colorlog-0.0.10.tar.gz",
"has_sig": false,
"md5_digest": "5aa3e6efd737699ef8a511cae0057dd5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 10705,
"upload_time": "2025-08-07T08:19:03",
"upload_time_iso_8601": "2025-08-07T08:19:03.066869Z",
"url": "https://files.pythonhosted.org/packages/1d/29/395c36ebe19ee505d78dad82ddc3fed5472435e70f4fb2bc8bff6aeddd92/quick_colorlog-0.0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-07 08:19:03",
"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"
}