{"id":22423776,"url":"https://github.com/itzcozi/colorum","last_synced_at":"2025-03-27T05:41:50.240Z","repository":{"id":230941666,"uuid":"606263089","full_name":"itzCozi/Colorum","owner":"itzCozi","description":"A simple python package to color the text and background in the terminal.","archived":false,"fork":false,"pushed_at":"2023-02-27T15:11:37.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T07:18:31.428Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itzCozi.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-02-25T01:17:14.000Z","updated_at":"2025-02-17T09:59:29.000Z","dependencies_parsed_at":"2024-04-01T18:21:14.801Z","dependency_job_id":"6b1c2cc0-2f7f-468b-93a3-cdf805abbd0a","html_url":"https://github.com/itzCozi/Colorum","commit_stats":null,"previous_names":["itzcozi/colorum"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzCozi%2FColorum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzCozi%2FColorum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzCozi%2FColorum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzCozi%2FColorum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itzCozi","download_url":"https://codeload.github.com/itzCozi/Colorum/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245791906,"owners_count":20672669,"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":[],"created_at":"2024-12-05T18:13:03.312Z","updated_at":"2025-03-27T05:41:50.217Z","avatar_url":"https://github.com/itzCozi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Colorum\r\n\r\nColorum is a simple terminal output colorizer for Python. Colorum supports both Python 2 and Python 3 and is available on PyPI. Once installed, you can use Colorum by importing it and then color text by calling to the color you want to use from the classes. This package can color text and the background of the console; it can also style these strings after they are printed. Colorum is a standalone file; it does not require anything to run except os and sys; the file simply floats around in your site-packages directory. Colorum is also very quick; this is because it uses system commands to re-color the terminal.\r\n\r\n**Compatibility**  \r\nThis package is compatible with Python 3 and windows 10 on linux the terminal does not recognize the \"Color\" command that the windows terminal uses to switch colors. I will add linux compatibility tomorrow and include it in 0.6 release soon after, dont forget to use the `pip install colorum --upgrade` command to upgrade your existing installation of colorum. This file version is also compatible with Windows 10 although this is how every other package does it so for now I will stick to the unique way.\r\n\r\n### Examples\r\n\r\nColoring the console's text, replace the \"Red\" with any color like \"Blue\" this works for every class/function.\r\n```python\r\nfrom colorum import text\r\n\r\nprint(text.Red() + \"Stay hydrated\")\r\n```\r\n\r\nChanging the hue of console background is simple, replace the \"Red\" with any color like \"Blue\" this works for every class.\r\n```python\r\nfrom colorum import background\r\n\r\nprint(background.Red() + \"Pizza is good\")\r\n```\r\n\r\nStyling the outputted text on the console, this can be placed in front of any colorum statment.\r\n```python\r\nfrom colorum import style\r\n\r\nprint(style.Bright() + \"I like coffee\")\r\n```\r\n\r\n\r\n## Guide\r\n\r\nTo install Colorum, simply use pip (assuming Python is installed)  \r\n```python\r\npip install colorum\r\n```\r\n\r\n**Functions**\r\n```\r\ntext.Black()         background.Black()         style.Bright()\r\ntext.Blue()          background.Blue()          style.Dim()\r\ntext.Green()         background.Green()         style.ResetAll()\r\ntext.Aqua()          background.Aqua()\r\ntext.Red()           background.Red()\r\ntext.Purple()        background.Purple()\r\ntext.Yellow()        background.Yellow()\r\ntext.White()         background.White()\r\ntext.Gray()          background.Gray()\r\ntext.Lightblue()     background.Lightblue()\r\ntext.Lightgreen()    background.Lightgreen()\r\ntext.Lightaqua()     background.Lightaqua()\r\ntext.Lightred()      background.Lightred()\r\ntext.Lightpurple()   background.Lightpurple()\r\ntext.Lightyellow()   background.Lightyellow()\r\ntext.Brightwhite()   background.Brightwhite()\r\n\r\ntext.Reset()         background.Reset()\r\ntext.clear()         background.clear()\r\n```\r\n\r\n### License \u0026 Source\r\nThis project(Colorum) is licensed under the MIT license. The source code is available on [GitHub](https://github.com/itzCozi/Colorum) along with the [license](https://github.com/itzCozi/Colorum/blob/main/ignore/LICENSE) as this code is open source contributions are welcome and appreciated, if you have any issues please make a [ticket](https://github.com/itzCozi/Colorum/issues/new) or contact me.\r\n\r\n## Extra\r\n[Package on PyPi](https://pypi.org/project/Data-Extract/)  \r\n[Latest Release](https://github.com/itzCozi/Data-Extraction/releases)  \r\n[Quickstart Guide](https://github.com/itzCozi/Data-Extraction/wiki/Quickstart-Guide)\r\n\r\n### Contact Me\r\ndiscord: BadDevoleper#4200                                                                                                                                             \r\nEmail: Cooperransom08@outlook.com                                                                                                                                      \r\n[Replit](https://replit.com/@cozi08) | \r\n[Twitter](https://twitter.com/ransom_cooper)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzcozi%2Fcolorum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitzcozi%2Fcolorum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzcozi%2Fcolorum/lists"}