{"id":13815331,"url":"https://github.com/cuuupid/console-logging","last_synced_at":"2025-08-23T10:05:45.712Z","repository":{"id":62564531,"uuid":"102174900","full_name":"cuuupid/console-logging","owner":"cuuupid","description":"Better, prettier commandline logging for Python--with colors! :ghost:","archived":false,"fork":false,"pushed_at":"2021-12-11T09:31:33.000Z","size":126,"stargazers_count":112,"open_issues_count":3,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T01:27:56.117Z","etag":null,"topics":["color","colors","commandline","console","console-log","console-logger","logging","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cuuupid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-02T05:27:34.000Z","updated_at":"2025-07-10T11:05:13.000Z","dependencies_parsed_at":"2022-11-03T16:45:35.681Z","dependency_job_id":null,"html_url":"https://github.com/cuuupid/console-logging","commit_stats":null,"previous_names":["pshah123/console-logging"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cuuupid/console-logging","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuuupid%2Fconsole-logging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuuupid%2Fconsole-logging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuuupid%2Fconsole-logging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuuupid%2Fconsole-logging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuuupid","download_url":"https://codeload.github.com/cuuupid/console-logging/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuuupid%2Fconsole-logging/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746517,"owners_count":24813568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["color","colors","commandline","console","console-log","console-logger","logging","python"],"created_at":"2024-08-04T04:03:20.791Z","updated_at":"2025-08-23T10:05:45.642Z","avatar_url":"https://github.com/cuuupid.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# console-logging\r\n\r\n[ ![Codeship Status for pshah123/console-logging](https://app.codeship.com/projects/aed26890-8fca-0135-1d5e-36d54fbb9242/status?branch=master)](https://app.codeship.com/projects/250054)\r\n[![PyPI version](https://badge.fury.io/py/console-logging.svg)](https://badge.fury.io/py/console-logging)\r\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/c6656875f3234dfb9ab6bd4aa509ff57)](https://www.codacy.com/app/pshah123/console-logging?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=pshah123/console-logging\u0026amp;utm_campaign=Badge_Grade)\r\n\r\nBetter console logging for Python.\r\n\r\nFind us on PyPi: https://pypi.python.org/pypi/console-logging\r\n\r\n\r\n![Showcase](https://github.com/pshah123/console-logging/raw/master/images/example.png \"Demo of console-logging\")\r\n\r\n## Getting Started\r\n\r\n### Dependencies\r\n\r\n* Python 2.6+ or Python 3.5+\r\n* `termcolor`\r\n\r\n### Installation\r\n\r\n```\r\npip install console-logging\r\n```\r\n\r\n*If building from source:* `bash pipe` from inside this repo.\r\n\r\n### Usage\r\n\r\n#### New:\r\n\r\n``` python\r\nfrom console_logging.console import Console\r\nconsole = Console()\r\n\r\nconsole.log(\"Hello world!\")\r\n```\r\n\r\n#### Old:\r\n\r\n``` python\r\nfrom console_logging import console\r\n\r\nconsole.log(\"Hello World!\")\r\n```\r\n\r\n\r\n### Exhaustive Reference\r\n\r\n``` python\r\nconsole.log(\"This is a log.\")\r\nconsole.error(\"This is an error.\")\r\nconsole.info(\"This is some neutral info.\")\r\nconsole.success(\"This is a success message.\")\r\n\r\n# If using the new usage:\r\nconsole.setVerbosity(4) # verbosity from 1 - 5, in order:\r\n'''\r\n[1] Errors\r\n[2] Successes\r\n[3] Logs\r\n[4] Info\r\n[5] Secure\r\n'''\r\nconsole.mute() # shorthand for setVerbosity(0)\r\n\r\n```\r\n\r\n### Example\r\n\r\nFor an exhaustive example, see `tests/example.py`.\r\n\r\n### Credit\r\n\r\n* `termcolor` module for colors","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuuupid%2Fconsole-logging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuuupid%2Fconsole-logging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuuupid%2Fconsole-logging/lists"}