{"id":13501647,"url":"https://github.com/vtr0n/npyscreen","last_synced_at":"2025-03-29T09:31:06.316Z","repository":{"id":112516124,"uuid":"124217341","full_name":"vtr0n/npyscreen","owner":"vtr0n","description":"Fork from https://code.google.com/archive/p/npyscreen/","archived":false,"fork":false,"pushed_at":"2018-03-23T19:19:10.000Z","size":152,"stargazers_count":120,"open_issues_count":2,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-01T22:55:37.858Z","etag":null,"topics":["npyscreen","python","tui"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vtr0n.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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}},"created_at":"2018-03-07T10:11:50.000Z","updated_at":"2024-07-01T13:59:40.000Z","dependencies_parsed_at":"2023-05-15T13:00:34.780Z","dependency_job_id":null,"html_url":"https://github.com/vtr0n/npyscreen","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtr0n%2Fnpyscreen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtr0n%2Fnpyscreen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtr0n%2Fnpyscreen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vtr0n%2Fnpyscreen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vtr0n","download_url":"https://codeload.github.com/vtr0n/npyscreen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222481562,"owners_count":16991476,"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":["npyscreen","python","tui"],"created_at":"2024-07-31T22:01:44.905Z","updated_at":"2024-10-31T20:32:07.447Z","avatar_url":"https://github.com/vtr0n.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# NpyScreen\nFork from https://code.google.com/archive/p/npyscreen/\n\n## Changes\nAdded custom highlighting for widget and multiline  \nExample:  \n```python\nimport npyscreen\nclass MyForm(npyscreen.FormBaseNew):\n    def create(self):\n        # BoxTitle used multiline\n        obj = self.add(npyscreen.BoxTitle, name=\"test\", custom_highlighting=True, values=[\"first line\", \"second line\"])\n        \n        # get colors\n        color1 = self.theme_manager.findPair(self, 'DANGER')\n        color2 = self.theme_manager.findPair(self, 'IMPORTANT')\n        \n        # fill line\n        obj.entry_widget.highlighting_arr_color_data = [[color1,color1,color2],[color2,color1,color2,color2]]\n\nclass App(npyscreen.StandardApp):\n    def onStart(self):\n        self.addForm(\"MAIN\", MyForm)\n\nobj = App()\nobj.run()\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtr0n%2Fnpyscreen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvtr0n%2Fnpyscreen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvtr0n%2Fnpyscreen/lists"}