{"id":19862796,"url":"https://github.com/pyunits/pyunit-color","last_synced_at":"2026-06-03T20:31:39.160Z","repository":{"id":57458177,"uuid":"239680352","full_name":"pyunits/pyunit-color","owner":"pyunits","description":"window控制台打印各种颜色","archived":false,"fork":false,"pushed_at":"2020-02-11T06:00:56.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-16T04:25:19.206Z","etag":null,"topics":["color","python3"],"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/pyunits.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":"2020-02-11T05:02:32.000Z","updated_at":"2020-02-11T06:15:58.000Z","dependencies_parsed_at":"2022-09-09T23:02:25.575Z","dependency_job_id":null,"html_url":"https://github.com/pyunits/pyunit-color","commit_stats":null,"previous_names":["pyunit/pyunit-color"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pyunits/pyunit-color","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyunits%2Fpyunit-color","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyunits%2Fpyunit-color/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyunits%2Fpyunit-color/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyunits%2Fpyunit-color/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyunits","download_url":"https://codeload.github.com/pyunits/pyunit-color/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyunits%2Fpyunit-color/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33878990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"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","python3"],"created_at":"2024-11-12T15:12:42.764Z","updated_at":"2026-06-03T20:31:39.143Z","avatar_url":"https://github.com/pyunits.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **pyUnit-color** [![](https://gitee.com/tyoui/logo/raw/master/logo/photolog.png)][1]\n\n## 日志处理模块集合\n[![](https://img.shields.io/badge/Python-3.7-green.svg)](https://pypi.org/project/pyunit-color/)\n\n## 安装\n    pip install pyunit-color\n\n### 控制台打印颜色\n```python\nfrom pyunit_color import FontColor\n\ndef test():\n    print(FontColor.red('打印红色'))\n    print(FontColor.green('打印绿色'))\n    print(FontColor.blue('打印蓝色'))\n    print('不打印颜色')\n\nif __name__ == '__main__':\n    test()\n```\n\n***\n[1]: https://blog.jtyoui.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyunits%2Fpyunit-color","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyunits%2Fpyunit-color","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyunits%2Fpyunit-color/lists"}