{"id":18858181,"url":"https://github.com/stephen-bunn/chalky","last_synced_at":"2026-02-07T15:30:14.686Z","repository":{"id":62561653,"uuid":"320771953","full_name":"stephen-bunn/chalky","owner":"stephen-bunn","description":"Simple ANSI terminal text coloring","archived":false,"fork":false,"pushed_at":"2021-01-19T17:12:13.000Z","size":2384,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T19:46:52.765Z","etag":null,"topics":["chalk","color","terminal"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stephen-bunn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-12T07:16:13.000Z","updated_at":"2024-02-10T12:12:52.000Z","dependencies_parsed_at":"2022-11-03T15:15:48.463Z","dependency_job_id":null,"html_url":"https://github.com/stephen-bunn/chalky","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephen-bunn%2Fchalky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephen-bunn%2Fchalky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephen-bunn%2Fchalky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephen-bunn%2Fchalky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephen-bunn","download_url":"https://codeload.github.com/stephen-bunn/chalky/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239800418,"owners_count":19699121,"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","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":["chalk","color","terminal"],"created_at":"2024-11-08T04:10:47.869Z","updated_at":"2026-02-07T15:30:14.645Z","avatar_url":"https://github.com/stephen-bunn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Chalky](https://github.com/stephen-bunn/chalky/raw/master/docs/source/_static/assets/img/Chalky.png)\n\n[![Supported Versions](https://img.shields.io/pypi/pyversions/chalky.svg)](https://pypi.org/project/chalky/)\n[![Test Status](https://github.com/stephen-bunn/chalky/workflows/Test%20Package/badge.svg)](https://github.com/stephen-bunn/chalky)\n[![Documentation Status](https://readthedocs.org/projects/chalky/badge/?version=latest)](https://chalky.readthedocs.io/)\n[![Codecov](https://codecov.io/gh/stephen-bunn/chalky/branch/master/graph/badge.svg?token=G3KRpTeg5J)](https://codecov.io/gh/stephen-bunn/chalky)\n[![Code Style: Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n\n\u003e Simple ANSI terminal text coloring\n\nYet another terminal text coloring library…\n\nWhy? Because, I like certain things and I hate certain things about the currently\navailable solutions.\nThis here is my attempt to build an interface for simply applying ANSI escape sequences\nto strings that I enjoy and can update at my own free will.\nThat is it, there is nothing new or interesting that this packages adds.\nThanks 🎉\n\nFor more interesting details, please visit the\n[documentation](https://chalky.readthedocs.io/).\n\n## Style Composition\n\n```python\nfrom chalky import sty, fg\n\nmy_style = sty.bold \u0026 fg.red\nprint(my_style | \"This is red on black\")\nprint(my_style.reverse | \"This is black on red\")\n```\n\n![Basic Colors](https://github.com/stephen-bunn/chalky/raw/master/docs/source/_static/assets/img/basic.png)\n\n## Style Chaining\n\n```python\nfrom chalky import chain\n\nprint(chain.bold.green | \"I'm bold green text\")\nprint(chain.white.bg.red.italic | \"I'm italic white text on a red background\")\n```\n\n![Style Colors](https://github.com/stephen-bunn/chalky/raw/master/docs/source/_static/assets/img/chaining.png)\n\n## Truecolor\n\n```python\nfrom chalky import rgb, sty, hex\n\nprint(rgb(23, 255, 122) \u0026 sty.italic | \"Truecolor as well\")\nprint(sty.bold \u0026 hex(\"#ff02ff\") | \"More and more colors\")\n```\n\n![True Colors](https://github.com/stephen-bunn/chalky/raw/master/docs/source/_static/assets/img/truecolor.png)\n\n## Disable Colors\n\n```python\nfrom chalky import configure, fg\n\nprint(fg.red | \"I am red text\")\nconfigure(disable=True)\nprint(fg.red | \"I am NOT red text\")\n```\n\n![Configure](https://github.com/stephen-bunn/chalky/raw/master/docs/source/_static/assets/img/configure.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephen-bunn%2Fchalky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephen-bunn%2Fchalky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephen-bunn%2Fchalky/lists"}