{"id":38973762,"url":"https://github.com/arnobaer/qutie","last_synced_at":"2026-01-17T16:43:32.956Z","repository":{"id":54360213,"uuid":"214468708","full_name":"arnobaer/qutie","owner":"arnobaer","description":"Yet another pythonic UI library for rapid prototyping using PyQt5","archived":false,"fork":false,"pushed_at":"2022-11-23T11:53:31.000Z","size":188,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-18T22:01:32.593Z","etag":null,"topics":["pyqt5","pythonic","ui"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/qutie/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arnobaer.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}},"created_at":"2019-10-11T15:19:15.000Z","updated_at":"2022-11-23T11:53:36.000Z","dependencies_parsed_at":"2023-01-22T00:42:06.503Z","dependency_job_id":null,"html_url":"https://github.com/arnobaer/qutie","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/arnobaer/qutie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnobaer%2Fqutie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnobaer%2Fqutie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnobaer%2Fqutie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnobaer%2Fqutie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arnobaer","download_url":"https://codeload.github.com/arnobaer/qutie/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnobaer%2Fqutie/sbom","scorecard":{"id":207941,"data":{"date":"2025-08-11","repo":{"name":"github.com/arnobaer/qutie","commit":"47c36425f160f40dd584287d6af3d808dcaf1c7c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/13 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-package.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"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/python-package.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/arnobaer/qutie/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/arnobaer/qutie/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/arnobaer/qutie/python-package.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:38","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:39","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:40","Info:   0 out of   3 GitHub-owned GitHubAction 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T00:10:02.705Z","repository_id":54360213,"created_at":"2025-08-17T00:10:02.705Z","updated_at":"2025-08-17T00:10:02.705Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511868,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["pyqt5","pythonic","ui"],"created_at":"2026-01-17T16:43:32.345Z","updated_at":"2026-01-17T16:43:32.925Z","avatar_url":"https://github.com/arnobaer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qutie\n\nYet another pythonic UI library for rapid prototyping using PyQt5.\n\n## Quick start\n\n```python\nimport qutie as ui\n\napp = ui.Application()\nwindow = ui.Widget(\n    title=\"Example\",\n    icon='orange',\n    width=320,\n    height=240,\n    layout=ui.Column(\n        ui.Label(\"Hello world!\"),\n        ui.Row(\n            ui.Button(\"Go!\", clicked=lambda: ui.show_info(text=\"Hello world!\")),\n            ui.Button(\"Quit\", clicked=app.quit)\n        )\n    )\n)\nwindow.show()\napp.run()\n```\n\n## Documentation\n\nQutie (pronounced as _cutie_) provides a simple and easy to use pythonic\ninterface to PyQt5.\n\n### Install\n\n```bash\npip install qutie\n```\n\n### Application\n\nA single `Application` object must be created before other widgets. To make use\nof the event system the application event loop must be executed.\n\n```python\nimport qutie as ui\n\n# Create an application object.\napp = ui.Application(name='app', version='1.0')\n\n# Create a window.\nwindow = ui.MainWindow()\nwindow.resize(800, 600)\nwindow.show()\n\n# Run the event loop.\napp.run()\n```\n\n### Widgets\n\nAny widget can be a top level window or part of another widget using the\n`layout` property. All properties can be assigned using the constructor.\n\n```python\nwindow = ui.Widget(title=\"Example\", width=320, height=240)\n```\n\nTo make a top level window visible use property `visible` or call method\n`show()`.\n\n```python\nwindow.show()\nwindow.visible = True # equivalent to show\n```\n\n### Layouts\n\nThe simplified layout system provides a horizontal `Row` and a vertical `Column`\nbox. Items can be added while constructing the layout or using list like methods\n`append` and `insert`. The consumed space of every child widget can be adjusted\nusing the `stretch` attribute.\n\n```python\nwindow.layout = ui.Row(\n    ui.Column(\n        ...\n    ),\n    ui.Column(\n        ui.Row(...),\n        ui.Row(...),\n        ui.Row(...),\n        stretch=(1, 0, 0)\n    ),\n    stretch=(2, 3)\n)\n```\n\n### Inputs\n\n```python\n# Single line text input\ntext = ui.Text(value=\"spam\")\n# Numeric input\nnumber = ui.Number(value=4, minimum=0, maximum=10, step=1.0, decimals=1)\n# A multi line text area\ntextarea = ui.TextArea(value=\"Lorem ipsum et dolor.\")\n```\n\n### Events\n\nEvents provide a simplified interface to Qt's signal and slot system. Events can\nbe emitted from any class inheriting from `Object` by calling method `emit()`.\n\n```python\n# Use any callable class attribute as event callback.\nwindow.issue_call = lambda: print(\"Call to action!\")\n# Emit an event executing attribute `issue_call` (if callable).\nwindow.emit('issue_call')\n```\n\nEvents can also propagate positional and keyword arguments.\n\n```python\n# Use any callable class attribute as event callback.\nwindow.update_progress = lambda a, b: print(f\"Progress: {a} of {b}\")\n# Emit an event executing attribute `update_progress` (if callable).\nwindow.emit('update_progress', 42, 100)\n```\n\nMany widgets provide predefined events.\n\n```python\n# Assigning callback functions\nui.Number(value=4, changed=on_change, editing_finished=on_edited)\n```\n\n### Timers\n\nCall repeating or delayed events using timers.\n\n```python\ntimer = ui.Timer(interval=1.0, timeout=lambda: print(\"Done!\"))\ntimer.start()\n```\n\nFunction `single_shot` exposes a convenient single shot timer.\n\n```python\nui.single_shot(interval=1.0, timeout=lambda: print(\"Done!\"))\n```\n\nNote that timer events are only processed when running the application event\nloop.\n\n### Settings\n\nPersistent settings can be stored/restored using a `Settings` object as context\nmanager. It provides application wide settings as a JSON dictionary.\n\n```python\nwith ui.Settings() as settings:\n    value = settings.get('key', 'default')\n    settings['key'] = value\n```\n\nUse attribute `filename` to inspect the persistent JSON data.\n\n```python\n\u003e\u003e\u003e ui.Settings().filename\n'/home/user/.config/app.qutie'\n```\n\n### Menus\n\nMenu bars and menus behave like python lists.\n\n```python\nwindow = ui.MainWindow()\nfile_menu = window.menubar.append(\"\u0026File\")\nquit_action = file_menu.append(\"\u0026Quit\")\nquit_action.triggered = window.close\n```\n\n```python\nfoo_menu = window.menubar.insert(window.menubar.index(file_menu), \"\u0026Foo\")\n```\n\n```python\nfile_menu = window.menubar.remove(file_menu)\n```\n\n# Toolbars\n\nToolbars also behave like python lists, the main window toolbars property\nbehaves like a set.\n\n```python\nwindow = ui.MainWindow()\ntoolbar = window.toolbars.add(\"toolbar\")\ntoolbar.append(quit_action)\ntoolbar.insert(quit_action)\n```\n\n```python\nwindow.toolbars.remove(toolbar)\n```\n\n### Workers\n\nThe `Worker` class provides a convenient way to work with background threads.\nUse attribute `target` to assign the function to be executed in the background.\n\n```python\ndef calculate(worker):\n    for i in range(100):\n        ...\n\nworker = ui.Worker(target=calculate)\nworker.start()\n```\n\n**Important:** use only the event system to propagate information from inside\nthe worker. Do not access widgets from within the worker function.\n\n```python\ndef calculate(worker):\n    for i in range(100):\n        # Emit custom events.\n        worker.emit('progress', i, 100)\n        worker.emit('message', \"All ok...\")\n\nworker = ui.Worker(target=calculate)\n# Assign custom event callbacks.\nworker.progress = lambda step, max: print(f\"progress: {step}/{max}\")\nworker.message = lambda msg: print(f\"message: {msg}\")\nworker.start()\n```\n\nTo control worker lifetime use method `stop()` and attribute `stopping`.\n\n```python\ndef calculate(worker):\n    while not worker.stopping:\n        ...\n\nworker = ui.Worker(target=calculate)\nworker.start()\n...\nworker.stop()\n```\n\nTo wait for a worker to actually stop use method `join()`.\n\n```python\nworker.stop()\nworker.join()\n```\n\n#### Example\n\nA simple dialog with progress bar running a calculation in the background.\n\n```python\nimport random\nimport time\n\nimport qutie as ui\n\nclass Dialog(ui.Dialog):\n\n    def __init__(self, **kwargs):\n        super().__init__(**kwargs)\n        # Create worker\n        self.worker = ui.Worker(target=self.calculate)\n        self.worker.finished = self.close\n        self.worker.update_progress = self.update_progress\n        # Create layout\n        self.progress_bar = ui.ProgressBar()\n        self.layout = self.progress_bar\n\n    def run(self):\n        # Start, stop and join worker\n        self.worker.start()\n        super().run()\n        self.worker.stop()\n        self.worker.join()\n\n    def update_progress(self, value, maximum):\n        self.progress_bar.maximum = maximum\n        self.progress_bar.value = value\n\n    def calculate(self, worker):\n        n = 32\n        for i in range(n):\n            if worker.stopping:\n                break\n            # Emit custom event\n            worker.emit('update_progress', i, n)\n            time.sleep(random.random())\n\napp = ui.Application()\n\ndialog = Dialog(title=\"Worker\")\ndialog.run()\n```\n\n### Something missing?\n\nAny underlying PyQt5 instance can be accessed directly using property ```qt```.\nThis also enables to mix in custom PyQt5 classes and instances.\n\n```python\nwidget.qt.setWindowTitle(\"Spam!\")\nwidget.qt.customContextMenuRequested.connect(lambda pos: None)\nwidget.qt.layout().addWidget(QtWidgets.QPusbButton())\n```\n\n## License\n\nQutie is licensed under the [GNU General Public License Version 3](https://github.com/hephy-dd/comet-pqc/tree/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnobaer%2Fqutie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnobaer%2Fqutie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnobaer%2Fqutie/lists"}