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

Uploaded Source

File details

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

File metadata

  • Download URL: PyGObject-stubs-2.8.0.tar.gz
  • Upload date:
  • Size: 480.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.3

File hashes

Hashes for PyGObject-stubs-2.8.0.tar.gz
Algorithm Hash digest
SHA256 e576bd23190d0378dcd8ea31cea2c082f694442593b30d94672e1fcfea7dd0fe
MD5 e23c8cbcf7aca46d85eb652ba1d6ac26
BLAKE2b-256 a7b9299dcf3d746331ba53e1835e081e74bc4c013fc8a6062f061896690823c5

See more details on using hashes here.

Supported by

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