{"id":20899449,"url":"https://github.com/wasasquatch/cstr","last_synced_at":"2025-04-11T04:32:48.205Z","repository":{"id":198819598,"uuid":"701616062","full_name":"WASasquatch/cstr","owner":"WASasquatch","description":"Provides a method for printing colored messages to console with preset tags.","archived":false,"fork":false,"pushed_at":"2023-10-22T23:33:42.000Z","size":12,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T02:40:01.040Z","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/WASasquatch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2023-10-07T04:21:05.000Z","updated_at":"2025-01-20T09:15:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"c68a71ba-731b-4e32-b439-64ffc509d41d","html_url":"https://github.com/WASasquatch/cstr","commit_stats":null,"previous_names":["wasasquatch/cstr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WASasquatch%2Fcstr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WASasquatch%2Fcstr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WASasquatch%2Fcstr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WASasquatch%2Fcstr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WASasquatch","download_url":"https://codeload.github.com/WASasquatch/cstr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345202,"owners_count":21088231,"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-11-18T11:14:06.023Z","updated_at":"2025-04-11T04:32:48.181Z","avatar_url":"https://github.com/WASasquatch.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cstr\nProvides a method for printing colored messages to console with preset tags.\n\n# Installation\n\n`pip install https://github.com/WASasquatch/cstr.git`\n\n# Example usage\n```python\nfrom cstr import *\n\np = cstr()\n\n#! MESSAGE TEMPLATES\np.color.add_code(\"msg\", f\"{cstr.color.BLUE}MyProject: {cstr.color.END}\")\np.color.add_code(\"warning\", f\"{cstr.color.BLUE}MyProject {cstr.color.LIGHTYELLOW}Warning: {cstr.color.END}\")\np.color.add_code(\"error\", f\"{cstr.color.RED}MyProject {cstr.color.END}Error: {cstr.color.END}\")\n\n#! EXAMPLE USAGE\np(\"This is a message\").msg.print()\np(\"This is a warning\").warning.print()\np(\"This is a error\").error.print()\n\n#! JUST USE COLOR\nprint(f\"{p.color.RED}Red text{p.color.END}\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasasquatch%2Fcstr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasasquatch%2Fcstr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasasquatch%2Fcstr/lists"}