{"id":14982684,"url":"https://github.com/yorevs/hspylib","last_synced_at":"2025-10-29T16:31:07.971Z","repository":{"id":41351824,"uuid":"267610624","full_name":"yorevs/hspylib","owner":"yorevs","description":"This is a library for creating Real and Serious python applications. It uses gradle to build and manage the project. Many CLI improvements are also available for use. New input methods and ways to show options to the user.","archived":false,"fork":false,"pushed_at":"2025-10-22T02:55:50.000Z","size":20222,"stargazers_count":3,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T04:33:34.246Z","etag":null,"topics":["framework","homesetup","library","mit-license","open-source","python","python3"],"latest_commit_sha":null,"homepage":"","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/yorevs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"docs/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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=J5CDEFLF6M3H4"}},"created_at":"2020-05-28T14:23:00.000Z","updated_at":"2025-10-22T02:55:57.000Z","dependencies_parsed_at":"2024-01-18T04:42:51.128Z","dependency_job_id":"1c1cb643-5041-4553-85b3-a15b29717d79","html_url":"https://github.com/yorevs/hspylib","commit_stats":{"total_commits":1183,"total_committers":4,"mean_commits":295.75,"dds":0.2417582417582418,"last_synced_commit":"bd6e20b2ee9e4c3a51f5d3cb200549c08d657e9c"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"purl":"pkg:github/yorevs/hspylib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yorevs%2Fhspylib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yorevs%2Fhspylib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yorevs%2Fhspylib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yorevs%2Fhspylib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yorevs","download_url":"https://codeload.github.com/yorevs/hspylib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yorevs%2Fhspylib/sbom","scorecard":{"id":1239064,"data":{"date":"2025-10-13","repo":{"name":"github.com/yorevs/hspylib","commit":"62f3cb582818eebd098831cb6559e7b6e16c5733"},"scorecard":{"version":"v5.3.1-0.20251012233417-af419a5f4ac8","commit":"af419a5f4ac865788a844e5a2e726681cf4ff42b"},"score":3.3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/create-release.yml:139","Info: topLevel 'contents' permission set to 'read': .github/workflows/build-and-test.yml:5","Warn: topLevel 'contents' permission set to 'write': .github/workflows/create-release.yml:31"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#cii-best-practices"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-test.yml:86: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/build-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-test.yml:89: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/build-and-test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-and-test.yml:93: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/build-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-test.yml:97: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/build-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-and-test.yml:102: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/build-and-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/create-release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:84: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/create-release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-release.yml:88: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/create-release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:92: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/create-release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:97: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/create-release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:112: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/create-release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:127: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/create-release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-release.yml:132: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/create-release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:142: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/create-release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-release.yml:147: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/create-release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:151: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/create-release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/yorevs/hspylib/create-release.yml/master?enable=pin","Warn: containerImage not pinned by hash: docker/images/kafka-broker/Dockerfile:1: pin your Docker image by updating hlebalbau/kafka-manager:latest to hlebalbau/kafka-manager:latest@sha256:1138c4fe077e873e10c614c3e54ad111382d1cbc3aa829cc45ad5d98291ce56f","Warn: containerImage not pinned by hash: docker/images/kafka-control-center/Dockerfile:1: pin your Docker image by updating hlebalbau/kafka-manager:latest to hlebalbau/kafka-manager:latest@sha256:1138c4fe077e873e10c614c3e54ad111382d1cbc3aa829cc45ad5d98291ce56f","Warn: containerImage not pinned by hash: docker/images/kafka-manager/Dockerfile:1: pin your Docker image by updating hlebalbau/kafka-manager:latest to hlebalbau/kafka-manager:latest@sha256:1138c4fe077e873e10c614c3e54ad111382d1cbc3aa829cc45ad5d98291ce56f","Warn: containerImage not pinned by hash: docker/images/kafka-schema-registry/Dockerfile:1: pin your Docker image by updating confluentinc/cp-zookeeper:5.4.0 to confluentinc/cp-zookeeper:5.4.0@sha256:58078f4bc1e233cefe910871355faf90713dee0135630b17d58bc7501cb92504","Warn: containerImage not pinned by hash: docker/images/kafka-zookeeper/Dockerfile:1: pin your Docker image by updating confluentinc/cp-zookeeper:5.4.0 to confluentinc/cp-zookeeper:5.4.0@sha256:58078f4bc1e233cefe910871355faf90713dee0135630b17d58bc7501cb92504","Warn: pipCommand not pinned by hash: .github/workflows/build-and-test.yml:107","Warn: pipCommand not pinned by hash: .github/workflows/create-release.yml:106","Warn: pipCommand not pinned by hash: .github/workflows/create-release.yml:108","Info:   0 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   5 containerImage dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/af419a5f4ac865788a844e5a2e726681cf4ff42b/docs/checks.md#pinned-dependencies"}}]},"last_synced_at":"2025-10-22T04:34:28.832Z","repository_id":41351824,"created_at":"2025-10-22T04:34:28.832Z","updated_at":"2025-10-22T04:34:28.832Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280857797,"owners_count":26403193,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"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":["framework","homesetup","library","mit-license","open-source","python","python3"],"created_at":"2024-09-24T14:05:51.631Z","updated_at":"2025-10-29T16:31:06.361Z","avatar_url":"https://github.com/yorevs.png","language":"Python","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=J5CDEFLF6M3H4","https://www.buymeacoffee.com/yorevs","https://github.com/sponsors/yorevs"],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://iili.io/HYBJFA7.png\" width=\"64\" height=\"64\" align=\"right\" /\u003e\n\n# HomeSetup Python Library\n\u003e\n\u003e Because your Python code is not JUST a script !\n\n[![PyPi](https://badgen.net/badge/icon/python?icon=pypi\u0026label)](https://pypi.org/project/hspylib)\n[![Gitter](https://badgen.net/badge/icon/gitter?icon=gitter\u0026label)](https://gitter.im/hspylib/community)\n[![Donate](https://badgen.net/badge/paypal/donate/yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=J5CDEFLF6M3H4)\n[![License](https://badgen.net/badge/license/MIT/gray)](LICENSE.md)\n[![Release](https://badgen.net/badge/release/v1.12.4/gray)](docs/CHANGELOG.md#unreleased)\n[![build-and-test](https://github.com/yorevs/hspylib/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/yorevs/hspylib/actions/workflows/build-and-test.yml)\n\nHsPyLib is not just a Python library; it's a gateway to elevating your programming experience to new heights. Built on\nestablished principles like **SOLID**, **DRY** (Don't Repeat Yourself), **KISS** (Keep It Simple, Stupid), and **YAGNI**\n(You Ain’t Gonna Need It), HsPyLib offers a wealth of frameworks and features. It empowers you to craft sophisticated\nPython3 applications, adhering to the philosophy that code should not merely be a simple script - it should be a part\nof the 'PYCSNBASS' (Python Code Should Not Be A Simple Script) mindset.\n\n\u003e This project is a part of the [HomeSetup](https://github.com/yorevs/homesetup) project.\n\n## Key Features\n\n- Seamless installation process.\n- Application manager offering a helpful scaffold for Python applications.\n- Widgets manager for running both 'built-in' and custom Python widgets.\n- Improved TUI (Text User Interface) helpers and input methods to enhance your User Experience with terminal applications.\n- CRUD (Create, Read, Update, Delete) framework aiding with databases, repositories, and services.\n- HTTP request helpers for simplified communication.\n- Support for enabling Properties and AppConfigs using popular extensions like .properties, toml, yml, and more.\n- Code rigorously tested and consistently adhering to Pylint standards.\n- Utilizes the Gradle build system with numerous extensions.\n- Diverse set of demos to facilitate a deeper understanding of the library.\n- AI model integrations (currently supporting OpenAI).\n\n\u003e Create beautiful menu-select inputs\n\n```python\nclass SelectableItem:\n    def __init__(self, name: str, value: str):\n        self.name = name\n        self.value = value\n\n    def __str__(self):\n        return f\"Name: {self.name} Value: {self.value}\"\n\n    def __repr__(self):\n        return str(self)\n\n\nif __name__ == \"__main__\":\n    quantity = 22\n    digits = len(str(quantity))\n    it = [SelectableItem(f\"Item-{n:\u003e0{digits}}\", f\"Value-{n:\u003e0{digits}}\") for n in range(1, quantity)]\n    sel = mselect(it)\n    print(str(sel))\n```\n\n![MenuSelect](https://iili.io/HYBFh74.png \"MenuSelect\")\n\n\u003e And create beautiful menu-choose inputs\n\n```python\nclass ChooseableItem:\n    def __init__(self, name: str, value: str):\n        self.name = name\n        self.value = value\n\n    def __str__(self):\n        return f\"Name: {self.name} Value: {self.value}\"\n\n    def __repr__(self):\n        return str(self)\n\n\nif __name__ == \"__main__\":\n    quantity = 22\n    digits = len(str(quantity))\n    it = [ChooseableItem(f\"Item-{n:\u003e0{digits}}\", f\"Value-{n:\u003e0{digits}}\") for n in range(1, quantity)]\n    sel = mchoose(it, [n % 2 == 0 for n in range(1, quantity)])\n    print(str(sel))\n```\n\n![MenuChoose](https://iili.io/HYBFwp2.png \"MenuChoose\")\n\n\u003e And also, create beautiful form inputs\n\n```python\nfrom clitt.core.tui.minput.input_validator import InputValidator\nfrom clitt.core.tui.minput.minput import MenuInput, minput\n\nif __name__ == \"__main__\":\n    # fmt: off\n    form_fields = MenuInput.builder() \\\n        .field() \\\n            .label('letters') \\\n            .validator(InputValidator.letters()) \\\n            .build() \\\n        .field() \\\n            .label('word') \\\n            .validator(InputValidator.words()) \\\n            .build() \\\n        .field() \\\n            .label('number') \\\n            .validator(InputValidator.numbers()) \\\n            .min_max_length(1, 4) \\\n            .build() \\\n        .field() \\\n            .label('masked') \\\n            .itype('masked') \\\n            .value('|##::##::## @@') \\\n            .build() \\\n        .field() \\\n            .label('selectable') \\\n            .itype('select') \\\n            .value('one|two|three') \\\n            .build() \\\n        .field() \\\n            .label('checkbox') \\\n            .itype('checkbox') \\\n            .build() \\\n        .field() \\\n            .label('password') \\\n            .itype('password') \\\n            .validator(InputValidator.anything()) \\\n            .min_max_length(4, 8) \\\n            .build() \\\n        .field() \\\n            .label('read-only') \\\n            .access_type('read-only') \\\n            .value('READ-ONLY') \\\n            .build() \\\n        .build()\n    # fmt: on\n\n    result = minput(form_fields)\n    print(result.__dict__ if result else \"None\")\n```\n\n![MenuInput](https://iili.io/HYBFVrG.png \"MenuInput\")\n\n\u003e Or even, create nice dashboards:\n\n```python\nif __name__ == \"__main__\":\n    # fmt: off\n    dashboard_items = MenuDashBoard.builder() \\\n        .item() \\\n            .icon(DashboardIcons.POWER) \\\n            .tooltip('Do something') \\\n            .on_trigger(lambda: print('Something')) \\\n            .build() \\\n        .item() \\\n            .icon(DashboardIcons.MOVIE) \\\n            .tooltip('Another something') \\\n            .on_trigger(lambda: print('Another')) \\\n            .build() \\\n        .item() \\\n            .icon(DashboardIcons.NOTIFICATION) \\\n            .tooltip('Notify something') \\\n            .on_trigger(lambda: print('Notification')) \\\n            .build() \\\n        .item() \\\n            .icon(DashboardIcons.LIST) \\\n            .tooltip('List everything') \\\n            .on_trigger(lambda: print('List')) \\\n            .build() \\\n        .item() \\\n            .icon(DashboardIcons.DATABASE) \\\n            .tooltip('Database console') \\\n            .on_trigger(lambda: print('Database')) \\\n            .build() \\\n        .item() \\\n            .icon(DashboardIcons.EXIT) \\\n            .tooltip('Exit application') \\\n            .on_trigger(lambda: print('Exit')) \\\n            .build() \\\n        .build()\n    # fmt: on\n\n    result = mdashboard(dashboard_items)\n```\n\n![MenuDashboard](https://iili.io/HYBFX2f.png \"MenuDashboard\")\n\n\u003e And even more, create beautiful menus !\n\n```bash\nif __name__ == \"__main__\":\n    # fmt: off\n    main_menu = TUIMenuFactory \\\n        .create_main_menu('TUI Main Menu', tooltip='Test Terminal UI Menus') \\\n            .with_item('Sub-Menu-1') \\\n                .with_action(\"DO IT 1\", \"Let's do it\") \\\n                    .on_trigger(lambda x: print(\"ACTION 1\", x)) \\\n                .with_view(\"Just a View 1\", \"Show the view 1\") \\\n                    .on_render(\"MY BEAUTIFUL VIEW 1\") \\\n                .with_action(\"Back\", \"Back to the previous menu\") \\\n                    .on_trigger(TUIMenuUi.back) \\\n                .then() \\\n            .with_item('Sub-Menu-2') \\\n                .with_action(\"DO IT 2\", \"Let's do it too\") \\\n                    .on_trigger(lambda x: print(\"ACTION 2\", x)) \\\n                .with_view(\"Just a View 2\", \"Show the view 2\") \\\n                    .on_render(\"MY BEAUTIFUL VIEW 2\") \\\n                .with_action(\"Back\", \"Back to the previous menu\") \\\n                    .on_trigger(TUIMenuUi.back) \\\n                .then() \\\n            .then() \\\n        .build()\n    # fmt: on\n\n    TUIMenuUi(main_menu, \"TUI Main Menu\").execute()\n```\n\n![Menus](https://iili.io/JAGQJkJ.png \"Menus\")\n\n## PyPi Modules\n\n- [A CLI Terminal](https://pypi.org/project/hspylib-clitt) tools.\n- [Datasource](https://pypi.org/project/hspylib-datasource) framework.\n- [A Firebase](https://pypi.org/project/hspylib-firebase) integration tool.\n- [A PyQt](https://pypi.org/project/hspylib-hqt) application framework.\n- [Core](https://pypi.org/project/hspylib) HomeSetup library.\n- [A Kafka manager](https://pypi.org/project/hspylib-kafman) application tool.\n- [A System Settings](https://pypi.org/project/hspylib-kafman) application tool.\n- [A Vault](https://pypi.org/project/hspylib-vault) application tool.\n\n## Installation\n\n### Requirements\n\n#### Python\n\n- Python 3.10 and higher\n\n#### Operating Systems\n\n- Darwin\n  + High Sierra and higher\n- Linux\n  + Ubuntu 16 and higher\n  + CentOS 7 and higher\n  + Fedora 31 and higher\n\nYou may want to install HsPyLib on other OS's and it will probably work, but there are no guarantees that it\n**WILL ACTUALLY WORK**.\n\n#### Required software\n\nThe following software are required:\n\n- Git (To clone the github repository)\n- Gradle (To build the HsPyLib project)\n\nThere are some python dependencies, but they will be automatically downloaded when the build runs.\n\n### PyPi\n\nTo install HsPyLib from PyPi issue the command:\n\n`# python3 -m pip install hspylib`\n\nTo upgrade HsPyLib use the command:\n\n`# python3 -m pip install hspylib --upgrade`\n\nAdditional modules that can also be installed:\n\n- [CLItt](https://pypi.org/project/hspylib-clitt) : `# python3 -m pip install hspylib-clitt` to install HsPyLib CLI terminal tools.\n- [Firebase](https://pypi.org/project/hspylib-firebase) : `# python3 -m pip install hspylib-firebase` to install HsPyLib Firebase application.\n- [Vault](https://pypi.org/project/hspylib-vault) : `# python3 -m pip install hspylib-vault` to install HsPyLib Vault application.\n- [Kafman](https://pypi.org/project/hspylib-kafman) : `# python3 -m pip install hspylib-kafman` to install Kafka manager.\n- [Datasource](https://pypi.org/project/hspylib-datasource) : `# python3 -m pip install hspylib-datasource` to install datasource helpers.\n- [HQT](https://pypi.org/project/hspylib-hqt) : `# python3 -m pip install hspylib-hqt` to install HsPyLib PyQt framework.\n\n### GitHub\n\nTo clone HsPyLib into your local machine type the command:\n\n`# git clone https://github.com/yorevs/hspylib.git`\n\n## Documentation\n\nThe API documentation can be found [here](docs/api/index.html)\n\n## Support\n\n\u003e Your support and contributions are greatly appreciated in helping us improve and enhance HomeSetup. Together, we can\nmake it even better!\n\nYou can support HomeSetup by [donating](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=J5CDEFLF6M3H4)\nor contributing code. Feel free to contact me for further details. When making code contributions, please make sure to\nreview our [guidelines](docs/CONTRIBUTING.md) and adhere to our [code of conduct](docs/CODE_OF_CONDUCT.md).\n\n[![\"Buy Me A Coffee\"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/yorevs)\n\nYou can also sponsor it by using our [GitHub Sponsors](https://github.com/sponsors/yorevs) page.\n\nThis project is already supported by:\n\n\u003ca href=\"https://www.jetbrains.com/community/opensource/?utm_campaign=opensource\u0026utm_content=approved\u0026utm_medium=email\u0026utm_source=newsletter\u0026utm_term=jblogo#support\"\u003e\n  \u003cimg src=\"https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png\" width=\"120\" height=\"120\"\u003e\n\u003c/a\u003e\n\nThank you \u003c3 !!\n\n## Known Issues\n\n- [In-Progress] We are aware that there is a problems when using python@3.12 and we are already working on a fix.\n\n## Contacts\n\n- Documentation: [API](docs/api/index.html)\n- License: [MIT](LICENSE.md)\n- Issue tracker: [HSPyLib-Issues](https://github.com/yorevs/hspylib/issues)\n- Official chat: [HSPyLib](https://gitter.im/hspylib/community)\n- Contact: [yorevs](https://www.reddit.com/user/yorevs)\n- Mailto: [yorevs](mailto:yorevs@hotmail.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyorevs%2Fhspylib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyorevs%2Fhspylib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyorevs%2Fhspylib/lists"}