{"id":31974487,"url":"https://github.com/mohamadashrafi-py/opgi","last_synced_at":"2025-10-31T09:42:38.106Z","repository":{"id":310460118,"uuid":"1039901807","full_name":"mohamadashrafi-py/OPGI","owner":"mohamadashrafi-py","description":"Open-GL python gui interfec(OPGI) is gui library written in python and open-GL","archived":false,"fork":false,"pushed_at":"2025-08-18T07:48:08.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-18T09:29:59.613Z","etag":null,"topics":["gui","gui-application","gui-library","opengl"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohamadashrafi-py.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-18T06:47:42.000Z","updated_at":"2025-08-18T09:13:29.000Z","dependencies_parsed_at":"2025-08-18T09:30:01.472Z","dependency_job_id":"701a07ba-d131-4d0a-a857-f7722909f8ae","html_url":"https://github.com/mohamadashrafi-py/OPGI","commit_stats":null,"previous_names":["mohamadashrafi-py/opgi"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mohamadashrafi-py/OPGI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohamadashrafi-py%2FOPGI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohamadashrafi-py%2FOPGI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohamadashrafi-py%2FOPGI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohamadashrafi-py%2FOPGI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohamadashrafi-py","download_url":"https://codeload.github.com/mohamadashrafi-py/OPGI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohamadashrafi-py%2FOPGI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021014,"owners_count":26086947,"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-14T02:00:06.444Z","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":["gui","gui-application","gui-library","opengl"],"created_at":"2025-10-14T20:17:17.720Z","updated_at":"2025-10-14T20:17:20.447Z","avatar_url":"https://github.com/mohamadashrafi-py.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OPGI(v.0.0.1)\nOPGI or open-GL python gui interface is a library which uses open-GL to render gui interface.\nOPGI enable you to create gui interface quickly and easily and write now in v.0.0.1 have these abilities\n\n- Create a window\n- 3 widget which are label, button and entry\n\n### Usage\n- clone the OPGI repository\n\n```\ngit clone https://github.com/mohamadashrafi-py/OPGI.git\n```\n\n- create a venv and install requirements\n\n```\npython -m venv .venv\npip install -r requirements.txt\n```\n\nuse this simple code to have a simple demo\n\n```\nfrom opgi import App, Label, Button, TextInput\n\ndef button_clicked():\n    print(f\"Button clicked! Text input value: {text_input.text}\")\n\napp = App(400, 300, \"Window\")\n\nlabel = Label(\"Enter your name:\", 50, 50)\ntext_input = app.add_widget(TextInput(50, 80, 200, 30))\nbutton = app.add_widget(Button(\"Submit\", 150, 120))\nbutton.set_on_click(button_clicked)\n\napp.add_widget(label)\napp.run()\n```\n\n### Docs\nread the docs to use the library in `docs` directory\n\n### What you are going to see for the next version in v.0.0.2\n\n- more widgets\n- better structure of library\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamadashrafi-py%2Fopgi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohamadashrafi-py%2Fopgi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamadashrafi-py%2Fopgi/lists"}