{"id":21845251,"url":"https://github.com/entysec/badges","last_synced_at":"2025-04-14T13:13:10.160Z","repository":{"id":177059967,"uuid":"657085419","full_name":"EntySec/Badges","owner":"EntySec","description":"Badges is a Python3 library that is used for advanced and intuitive printing.","archived":false,"fork":false,"pushed_at":"2025-02-12T11:21:43.000Z","size":177,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T02:22:14.762Z","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/EntySec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"entysec"}},"created_at":"2023-06-22T09:33:52.000Z","updated_at":"2025-03-12T20:04:52.000Z","dependencies_parsed_at":"2024-01-08T22:28:02.205Z","dependency_job_id":"eb2ab76f-c785-4567-8439-9bfb297302be","html_url":"https://github.com/EntySec/Badges","commit_stats":null,"previous_names":["entysec/badges"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EntySec%2FBadges","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EntySec%2FBadges/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EntySec%2FBadges/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EntySec%2FBadges/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EntySec","download_url":"https://codeload.github.com/EntySec/Badges/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248886328,"owners_count":21177644,"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-27T23:08:46.454Z","updated_at":"2025-04-14T13:13:10.150Z","avatar_url":"https://github.com/EntySec.png","language":"Python","funding_links":["https://github.com/sponsors/entysec"],"categories":[],"sub_categories":[],"readme":"# Badges\n\n[![Developer](https://img.shields.io/badge/developer-EntySec-blue.svg)](https://entysec.com)\n[![Language](https://img.shields.io/badge/language-Python-blue.svg)](https://github.com/EntySec/Badges)\n[![Forks](https://img.shields.io/github/forks/EntySec/Badges?style=flat\u0026color=green)](https://github.com/EntySec/Badges/forks)\n[![Stars](https://img.shields.io/github/stars/EntySec/Badges?style=flat\u0026color=yellow)](https://github.com/EntySec/Badges/stargazers)\n[![CodeFactor](https://www.codefactor.io/repository/github/EntySec/Badges/badge)](https://www.codefactor.io/repository/github/EntySec/Badges)\n\nBadges is a Python3 library that is used for advanced and intuitive printing.\n\n## Features\n\n* Support for different colors using [ColorScript](https://github.com/EntySec/ColorScript) commands.\n* Map plotting that enables you to point on a specific place on an ASCII map.\n* Logging support, if logging is enabled, you can log all the messages to the file.\n\n## Installation\n\n```\npip3 install git+https://github.com/EntySec/Badges\n```\n\n## Examples\n\n### Status messages\n\n```python3\nfrom badges import Badges\n\nbadges = Badges()\nreply = badges.input_question(\"Do it [y/N]: \")\n\nif reply.lower() in ['y', 'yes']:\n    badges.print_process(\"Doing it...\")\nelse:\n    badges.print_warning(\"Not doing it.\")\n```\n\n\u003cdetails\u003e\n    \u003csummary\u003eResult\u003c/summary\u003e\u003cbr\u003e\n    \u003cpre\u003e\n[?] Do it [y/N]: y\n[*] Doing it...\u003c/pre\u003e\n\u003c/details\u003e\n\n### Map plotting\n\n```python3\nfrom badges import Map\n\nplot = Map()\nplot.deploy(55.751244, 37.618423)\n\nprint(plot.get_map())\n```\n\n\u003cdetails\u003e\n    \u003csummary\u003eResult\u003c/summary\u003e\u003cbr\u003e\n    \u003cpre\u003e\n                       . _..::__:  ,-\"-\"._       |7       ,     _,.__\n       _.___ _ _\u003c_\u003e`!(._`.`-.    /        _._     `_ ,_/  '  '-._.---.-.__\n     .{     \" \" `-==,',._\\{  \\  / {)     / _ \"\u003e_,-' `                .--?_\n      \\_.:--.       `._ )`^-. \"'      , [_/(                       __,/-'\n     '\"'     \\         \"    _L       oD_,--' *              )     /. (|\n              |           ,'         _)_.\\\\._\u003c\u003e 6              _,' /  '\n              `.         /          [_/_'` `\"(                \u003c'}  )\n               \\\\    .-. )          /   `-'\"..' `:._          _)  '\n        `        \\  (  `(          /         `:\\  \u003e \\  ,-^.  /' '\n                  `._,   \"\"        |           \\`'   \\|   ?_)  {\\\n                     `=.---.       `._._       ,'     \"`  |' ,- '.\n                       |    `-._        |     /          `:`\u003c_|h--._\n                       (        \u003e       .     | ,          `=.__.`-'\\\n                        `.     /        |     |{|              ,-.,\\     .\n                         |   ,'          \\   / `'            ,\"     \\\n                         |  /             |_'                |  __  /\n                         | |                                 '-'  `-'   \\.\n                         |/                                        \"    /\n                         \\.                                            '\u003c/pre\u003e\n\u003c/details\u003e\n\n### Tables\n\n```python3\nfrom badges import Tables\n\ntables = Tables()\ntables.print_table('Table 1', ('ID', 'Name'), ('111', 'Ivan Nikolskiy'))\n```\n\n\u003cdetails\u003e\n    \u003csummary\u003eResult\u003c/summary\u003e\u003cbr\u003e\n    \u003cpre\u003e\nTable 1:\u003cbr\u003e\n    ID     Name\n    111    Ivan Nikolskiy\u003c/pre\u003e\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentysec%2Fbadges","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fentysec%2Fbadges","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentysec%2Fbadges/lists"}