🍺 BREW Explorer

← all formulae

pygobject3

brew install pygobject3 v3.56.3 LGPL-2.1-or-later

Python bindings for GObject-based C libraries via GObject Introspection, enabling GTK and GNOME library access from Python.

Why you might care

Bridges the gap between Python and the GNOME/GLib ecosystem without hand-written bindings for each library. Automatically generates Python APIs from GObject introspection metadata, making it a runtime dependency for any Python code using GTK, Gio, or other GObject libraries. Single source of truth: update the C library's introspection data, and Python sees the changes immediately.

Categories

Alternatives

PyGTK ctypes cffi
4.4k
30-day installs · #657
19.1k
90-day · #543
83.5k
365-day · #477

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "PyGTK",
    "ctypes",
    "cffi"
  ],
  "build_dependencies": [
    "meson",
    "ninja",
    "pkgconf",
    "python@3.13",
    "python@3.14"
  ],
  "categories": [
    "binding",
    "library",
    "language-runtime"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "cairo",
    "glib",
    "gobject-introspection",
    "py3cairo"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "GNOME Python bindings (based on GObject Introspection)",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:00+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "pygobject3",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://pygobject.gnome.org",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "Overview \u2014 PyGObject",
  "installs_30d": 4425,
  "installs_365d": 83468,
  "installs_90d": 19087,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "LGPL-2.1-or-later",
  "llm_generated_at": "2026-06-20T23:46:12+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "pygobject3",
  "oldnames": [],
  "one_liner": "Python bindings for GObject-based C libraries via GObject Introspection, enabling GTK and GNOME library access from Python.",
  "optional_dependencies": [],
  "rank_30d": 657,
  "rank_365d": 477,
  "rank_90d": 543,
  "raw_hash": "d50c73faaa6ca6e6",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/p/pygobject3.rb",
  "tap": "homebrew/core",
  "test_dependencies": [
    "python@3.13",
    "python@3.14"
  ],
  "uses_from_macos": [
    "libffi"
  ],
  "version_head": null,
  "version_stable": "3.56.3",
  "versioned_formulae": [],
  "why_use_this": "Bridges the gap between Python and the GNOME/GLib ecosystem without hand-written bindings for each library. Automatically generates Python APIs from GObject introspection metadata, making it a runtime dependency for any Python code using GTK, Gio, or other GObject libraries. Single source of truth: update the C library\u0027s introspection data, and Python sees the changes immediately."
}