{"id":26641766,"url":"https://github.com/mdbetancourt/tebless","last_synced_at":"2025-10-28T10:09:42.863Z","repository":{"id":49863773,"uuid":"103463481","full_name":"mdbetancourt/Tebless","owner":"mdbetancourt","description":"This library is a collection of elements that supported from blessed","archived":false,"fork":false,"pushed_at":"2022-12-26T20:29:14.000Z","size":89,"stargazers_count":7,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-19T04:11:06.186Z","etag":null,"topics":["blessed","cli-interface","curses","library","pip","python","widgets"],"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/mdbetancourt.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.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":"2017-09-13T23:53:36.000Z","updated_at":"2022-04-27T11:05:29.000Z","dependencies_parsed_at":"2023-01-31T01:15:16.874Z","dependency_job_id":null,"html_url":"https://github.com/mdbetancourt/Tebless","commit_stats":null,"previous_names":["akhail/tebless"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/mdbetancourt/Tebless","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbetancourt%2FTebless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbetancourt%2FTebless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbetancourt%2FTebless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbetancourt%2FTebless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdbetancourt","download_url":"https://codeload.github.com/mdbetancourt/Tebless/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdbetancourt%2FTebless/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281419146,"owners_count":26497946,"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-28T02:00:06.022Z","response_time":60,"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":["blessed","cli-interface","curses","library","pip","python","widgets"],"created_at":"2025-03-24T18:35:07.635Z","updated_at":"2025-10-28T10:09:42.837Z","avatar_url":"https://github.com/mdbetancourt.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=======\nTebless\n=======\n\n\n.. image:: https://img.shields.io/pypi/v/tebless.svg\n     :target: https://pypi.python.org/pypi/tebless\n\n.. image:: https://img.shields.io/travis/akhail/tebless.svg\n     :target: https://travis-ci.org/akhail/tebless\n\n.. image:: https://readthedocs.org/projects/tebless/badge/?version=latest\n     :target: http://tebless.readthedocs.io/en/latest/?badge=latest\n     :alt: Documentation Status\n\n.. image:: https://pyup.io/repos/github/Akhail/Tebless/shield.svg\n     :target: https://pyup.io/repos/github/Akhail/Tebless/\n     :alt: Updates\n\n\nThis library is a collection of widgets that supported from blessed allows to create interfaces in a simple way based on events.\n\n\n* Free software: MIT license\n* Documentation: https://tebless.readthedocs.io.\n\n\nTable of contents\n-----------------\n\n-  `Tebless`_\n\n   -  `Table of contents`_\n   -  `How to install`_\n   -  `Example of usage`_\n\nHow to install\n--------------\n\n.. code:: bash\n\n    pip install tebless\n\nExample of usage\n----------------\n\nThis will render a label containing the text ‘Hello world!’, centered\nhorizontally and vertically.\n\n.. code:: python\n\n    from tebless.widgets import Label, Window, Input\n\n    @Window.decorator(main=True, min_y=10)\n    def view(window):\n        WIDTH, HEIGHT = window.size\n        def callback(evt):\n            evt.store.label.value = evt.value\n\n        window += Label(\n            cordy=HEIGHT / 2 - 1,\n            text='Hello world!',\n            width=WIDTH,\n            align='center',\n            ref='label'\n        )\n        window += Input(\n            width=WIDTH,\n            cordx=WIDTH / 3,\n            on_enter=callback\n        )\n\nso easy is placed a text in the console that changes with the input and\nlimit min height window you can also avoid access to the store\n\n.. code:: python\n\n    from tebless.widgets import Label, Window, Input\n\n    @Window.decorator(min_y=10)\n    def view(window):\n        WIDTH, HEIGHT = window.size\n\n        label = Label(\n            cordy=HEIGHT / 2 - 1,\n            text='Hello world!',\n            width=WIDTH,\n            align='center'\n        )\n\n        def callback(evt):\n            label.value = evt.value\n\n        window += label\n        window += Input(\n            width=WIDTH,\n            cordx=WIDTH / 3,\n            on_enter=callback\n        )\n    if __name__ == \"__main__\":\n        view()\n\nCredits\n---------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n.. _Tebless: #tebless\n.. _Table of contents: #table-of-contents\n.. _How to install: #how-to-install\n.. _Example of usage: #example-of-usage","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdbetancourt%2Ftebless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdbetancourt%2Ftebless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdbetancourt%2Ftebless/lists"}