Typing stubs for PyGObject
Project description
Typing Stubs for PyGObject
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
Project details
Release history Release notifications | RSS feed
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.5.0.tar.gz
(397.6 kB
view details)
File details
Details for the file PyGObject-stubs-2.5.0.tar.gz.
File metadata
- Download URL: PyGObject-stubs-2.5.0.tar.gz
- Upload date:
- Size: 397.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8fe4e4adeb28e15436b3e9c8be648d1e5c43261a195166702729ab4cf3b8943
|
|
| MD5 |
9704e7bfc7da946039c979da336aec8a
|
|
| BLAKE2b-256 |
5cf5a343bbbf4bbb8407421f98b2b2463aa9405a5ed6e6347c35361e4d13998e
|