Skip to main content

Typing stubs for PyGObject

Project description

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

Project details


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.10.0.tar.gz (548.8 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for PyGObject-stubs-2.10.0.tar.gz
Algorithm Hash digest
SHA256 c1842f9bbb91873520376087008c829b060dad1b0ee5aa5b905f0d13ee79fe20
MD5 abed257de5b645f3cbcfeda58ac70f0b
BLAKE2b-256 68d240868f7c2894b0910e6d49976c09042783e0ebf8e1ce7ddab21fc9518f97

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page