{"id":32520746,"url":"https://github.com/pygobject/pgi","last_synced_at":"2025-10-28T05:49:48.777Z","repository":{"id":2489077,"uuid":"3462960","full_name":"pygobject/pgi","owner":"pygobject","description":"[Unmaintained: Use PyGObject instead] GTK+ / GObject Introspection Bindings for PyPy.","archived":false,"fork":false,"pushed_at":"2024-07-14T16:01:31.000Z","size":1703,"stargazers_count":74,"open_issues_count":20,"forks_count":16,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-09-08T12:53:56.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Bosnadev/Repositories","license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pygobject.png","metadata":{"files":{"readme":"README.rst","changelog":"NEWS","contributing":null,"funding":null,"license":"COPYING","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2012-02-16T19:15:23.000Z","updated_at":"2024-07-14T16:01:35.000Z","dependencies_parsed_at":"2025-09-08T12:43:35.862Z","dependency_job_id":"e044ce22-19c9-4cc1-be1d-0979579f8fc6","html_url":"https://github.com/pygobject/pgi","commit_stats":{"total_commits":790,"total_committers":9,"mean_commits":87.77777777777777,"dds":"0.10506329113924051","last_synced_commit":"df95a40e600aed1a71144569283270cefb4ba2ac"},"previous_names":["lazka/pgi"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/pygobject/pgi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pygobject%2Fpgi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pygobject%2Fpgi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pygobject%2Fpgi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pygobject%2Fpgi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pygobject","download_url":"https://codeload.github.com/pygobject/pgi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pygobject%2Fpgi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281391762,"owners_count":26492903,"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":[],"created_at":"2025-10-28T05:49:45.713Z","updated_at":"2025-10-28T05:49:48.772Z","avatar_url":"https://github.com/pygobject.png","language":"Python","readme":"PGI - Pure Python GObject Introspection Bindings\n================================================\n\nGObject Introspection bindings written in pure Python using ctypes_\nand cffi_ (optional). API compatible with PyGObject_.\n\n**Development Status:**\n\nWARNING: Lots of things are not implemented/supported.\n\nSee the 'examples' directory for working examples.\nAnything else will probably not work.\n\n**Code:** https://github.com/lazka/pgi\n\n**License:** LGPL 2.1+\n\n**Requirements:**\n\n- CPython_ 2.7 or CPython_ 3.3+ or PyPy_ 1.9+ or PyPy3_ 2.3+\n- libgirepository_ 1.0\n- cffi_ 0.8+ (optional, but needed for tests)\n- cairocffi_ 0.4+ (optional, for cairo support)\n\n.. _ctypes: http://docs.python.org/2/library/ctypes.html\n.. _cffi: http://cffi.readthedocs.org/en/latest/\n.. _cairocffi: http://pythonhosted.org/cairocffi/\n.. _PyGObject: http://git.gnome.org/browse/pygobject/\n.. _libgirepository: http://git.gnome.org/browse/gobject-introspection/\n.. _CPython: http://www.python.org/\n.. _PyPy: http://pypy.org/\n.. _PyPy3: http://pypy.org/\n\nUsage\n-----\n\n::\n\n    from pgi.repository import Gtk, GObject\n\nor (preferred)\n\n::\n\n    import pgi\n    pgi.install_as_gi()\n    from gi.repository import Gtk, GObject\n\nSearch paths\n~~~~~~~~~~~~\n\nTypelibs will be loaded from paths in the environment variable\n`GI_TYPELIB_PATH` and `/usr/lib/girepository-1.0/`.\n\nShared libraries from paths in `LD_LIBRARY_PATH` and the default system\nsearch paths (see dlopen(3)).\n\nDocumentation\n-------------\n\nPGI docs:\n * https://pgi.readthedocs.org\n\nAutogenerated GI docs:\n * https://github.com/lazka/pgi-docgen\n * http://lazka.github.io/pgi-docs\n\nTests\n-----\n\n.. image:: https://travis-ci.org/lazka/pgi.svg?branch=master\n    :target: https://travis-ci.org/lazka/pgi\n\n- `./setup.py test` will run unit tests using PGI and PyGObject\n- `./setup.py test --pgi-only` to skip PyGObject tests\n- `./setup.py test --filter=StructTest` to run tests which include\n  `StructTest` (regexp)\n\n`./tests/libs/` includes additional libraries that will be used for testing\nif present. Call `make` in `./tests/libs/` to build them.\n\n- `./setup.py quality` will run pep8 and pyflakes tests\n\n- `./setup.py coverage` will create a test coverage report\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpygobject%2Fpgi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpygobject%2Fpgi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpygobject%2Fpgi/lists"}