$npx skillfedfor your agent

pgi

Pure Python GObject Introspection Bindings

SkipPyPI Application FrameworksReleased Jun 201894.8K downloads / moLGPL-2.1+Source build

Decision gist · record as of 2026-08-14

sdist only — pgi-0.0.11.2.tar.gz · builds from source
v0.0.11.2 · released 2018-06-25

No, not recommended for production use. The package is pre-alpha with explicit warnings that most features are unimplemented, has not been released since 2018, and requires system-level GObject dependencies that add friction. Use only if you have a specific need for pure Python implementation or PyPy compatibility and are prepared to work within its documented limitations.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires libgirepository 1.0 installed on the system; typelibs must be accessible via GI_TYPELIB_PATH or /usr/lib/girepository-1.0/
  • Install friction is high: the package requires libgirepository 1.0 as a system dependency.
  • The latest release was 2018-06-25, but the repository remains active with recent commits, suggesting ongoing maintenance despite the release gap.

License · maintenance · safety

LGPL-2.1+ (copyleft) — Licensed under LGPL-2.1+, a copyleft license. Any software linking or distributing this package must comply with LGPL terms, including making source code available under compatible licensing.

last release 2018-06-25 (2972 days) · last repo commit 2026-07-26 · 74 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 94,784 downloads/mo, #13,304 on PyPI

Verify before relying

import pgi
pgi.install_as_gi()
from gi.repository import Gtk, GObject
  • Current compatibility with Python versions beyond 3.3 and whether PyPy 1.9+ and PyPy3 2.3+ support remains functional
  • Whether the package works reliably with modern GObject Introspection releases
  • Scope of the 'lots of things not implemented' warning and which GObject features are actually usable
Same gist for agents: .md · .json

What it is and what it does

PGI is a pure Python implementation of GObject Introspection bindings, designed as an alternative to PyGObject. It uses ctypes and optionally cffi to wrap GObject libraries without requiring compiled C extensions, supporting CPython 2.7, CPython 3.3+, PyPy 1.9+, and PyPy3 2.3+.

The package is explicitly pre-alpha and incomplete—the description warns that most features beyond the working examples are unsupported. It requires libgirepository 1.0 as a system dependency and loads type information from standard GObject paths. The latest release was 2018-06-25, though the repository remains active.

Use it for

  • Access GObject libraries from Python without installing compiled dependencies
  • Run GObject-based code on PyPy or other Python implementations where alternatives may not be available
  • Prototype GObject bindings in pure Python before committing to compiled solutions
  • Embed GObject library access in environments where system package management is restricted

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No, not recommended for production use.

The package is pre-alpha with explicit warnings that most features are unimplemented, has not been released since 2018, and requires system-level GObject dependencies that add friction. Use only if you have a specific need for pure Python implementation or PyPy compatibility and are prepared to work within its documented limitations.

Install

pgi on PyPI

Before you install

Install friction is high: the package requires libgirepository 1.0 as a system dependency. The latest release was 2018-06-25, but the repository remains active with recent commits, suggesting ongoing maintenance despite the release gap.

Requires libgirepository 1.0 installed on the system; typelibs must be accessible via GI_TYPELIB_PATH or /usr/lib/girepository-1.0/

License in practice

Licensed under LGPL-2.1+, a copyleft license. Any software linking or distributing this package must comply with LGPL terms, including making source code available under compatible licensing.

Quickstart

import pgi
pgi.install_as_gi()
from gi.repository import Gtk, GObject

Verify before relying

  • Current compatibility with Python versions beyond 3.3 and whether PyPy 1.9+ and PyPy3 2.3+ support remains functional
  • Whether the package works reliably with modern GObject Introspection releases
  • Scope of the 'lots of things not implemented' warning and which GObject features are actually usable

Package facts

LicenseLGPL-2.1+ copyleft
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceActively maintained 2,972 days since the last release
Last repo commit
First released
Downloads94,784 / month, #13,304 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: pgi-0.0.11.2.tar.gz

Tags

Capabilities
gobject introspection python bindingsgtk bindings pure pythonctypes gobject wrapperglib python bindingspypy gobject support
Topics
gobject-introspectionpure-pythonctypes-wrapper

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “gobject introspection python bindings”

  • pgiPGI provides pure Python bindings to GObject Introspection using…
  • PyGObjectPyGObject provides Python bindings for GObject-based libraries such…
  • shiboken6Shiboken6 provides Python access to metadata and introspection…

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also PyGObject · pywin32-ctypes · comtypes · typeapi · pypyodbc · pyseccomp · pymongocrypt · mpi4py