Skip to main content

Typing Stubs for PyGObject

image PyPI

Installation

pip install pygobject-stubs

Configuration

Some libraries exist in multiple versions like Gtk3/4. As both libraries are currently imported under the namespace Gtk only stubs for one can be installed.

You need to decide this at install time either by using the --config-settings option with pip

$ pip install pygobject-stubs --no-cache-dir --config-settings=config=Gtk3,Gdk3,Soup2

or by setting the PYGOBJECT_STUB_CONFIG env variable

$ PYGOBJECT_STUB_CONFIG=Gtk3,Gdk3,Soup2 pip install --no-cache-dir pygobject-stubs

If no configuration is set, the most recent version of each library is installed.

--no-cache-dir is only necessary on subsequent reinstalls, otherwise the stubs will not be rebuild and a cache of a previous installation is used.

Contributing

Guide

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyGObject-stubs-2.9.0.tar.gz (514.2 kB view details)

Uploaded Source

File details

Details for the file PyGObject-stubs-2.9.0.tar.gz.

File metadata

  • Download URL: PyGObject-stubs-2.9.0.tar.gz
  • Upload date:
  • Size: 514.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for PyGObject-stubs-2.9.0.tar.gz
Algorithm Hash digest
SHA256 1d191cfaff0e2def99830366e04627e60b6e4d6755c5529ac2f4029c2d6e8dc6
MD5 6184dcb4a6479ed29a7bbe65323ce3ed
BLAKE2b-256 ed7409337e3d2ce18fb186138739ee28c3b2d76ba4e0b1bd06fb66ef8bae2742

See more details on using hashes here.

Release history Release notifications | RSS feed

2.17.0

1 file

2.16.0

1 file

2.15.0

1 file

2.14.0

1 file

2.13.0

1 file

2.12.0

1 file

2.11.0

1 file

2.10.0

1 file

This release

2.9.0 This release

1 file

2.8.0

1 file

2.7.0

1 file

2.6.0

1 file

2.5.0

1 file

2.4.0

1 file

2.3.1

1 file

2.3.0

1 file

2.2.0

1 file

2.1.0

2 files

2.0.0

2 files

1.0.0

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page