PyGObject-stubs


NamePyGObject-stubs JSON
Version 2.12.0 PyPI version JSON
download
home_pageNone
SummaryTyping stubs for PyGObject
upload_time2024-10-31 18:25:26
maintainerNone
docs_urlNone
authorChristoph Reiter
requires_python>=3.7
licenseLGPL-2.1
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Typing Stubs for PyGObject

[![PyPI](https://img.shields.io/pypi/v/pygobject-stubs)](https://pypi.org/project/PyGObject-stubs)

## 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.

### Project Integration

Usually you want the stubs to be installed as part of the development dependencies.
`pyproject.toml` does not allow to pass `config-settings` to requirements.
If you need specific versions of some libraries you can use a `requirements.txt` file instead, which
allows to pass `config-settings` per requirement as of pip >= 23.1.0.

    $ pip install . -r dev.txt

## Contributing

[Guide](./CONTRIBUTING.md)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "PyGObject-stubs",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": "Christoph Reiter",
    "author_email": "reiter.christoph@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/99/04/e7dd3a2dc52977d54b98542742da2aa8c2fc5356e45339f37b908ff5dfc5/pygobject_stubs-2.12.0.tar.gz",
    "platform": null,
    "description": "# Typing Stubs for PyGObject\n\n[![PyPI](https://img.shields.io/pypi/v/pygobject-stubs)](https://pypi.org/project/PyGObject-stubs)\n\n## Installation\n```\n$ pip install pygobject-stubs\n```\n\n### Configuration\n\nSome libraries exist in multiple versions like Gtk3/4. As both libraries are\ncurrently imported under the namespace `Gtk` only stubs for one can be installed.\n\nYou need to decide this at install time either by using the `--config-settings` option\nwith pip\n\n    $ pip install pygobject-stubs --no-cache-dir --config-settings=config=Gtk3,Gdk3,Soup2\n\nor by setting the `PYGOBJECT_STUB_CONFIG` env variable\n\n    $ PYGOBJECT_STUB_CONFIG=Gtk3,Gdk3,Soup2 pip install --no-cache-dir pygobject-stubs\n\nIf no configuration is set, the most recent version of each library is installed.\n\n`--no-cache-dir` is only necessary on subsequent reinstalls, otherwise the stubs will not\nbe rebuild and a cache of a previous installation is used.\n\n### Project Integration\n\nUsually you want the stubs to be installed as part of the development dependencies.\n`pyproject.toml` does not allow to pass `config-settings` to requirements.\nIf you need specific versions of some libraries you can use a `requirements.txt` file instead, which\nallows to pass `config-settings` per requirement as of pip >= 23.1.0.\n\n    $ pip install . -r dev.txt\n\n## Contributing\n\n[Guide](./CONTRIBUTING.md)\n",
    "bugtrack_url": null,
    "license": "LGPL-2.1",
    "summary": "Typing stubs for PyGObject",
    "version": "2.12.0",
    "project_urls": {
        "homepage": "https://github.com/pygobject/pygobject-stubs",
        "repository": "https://github.com/pygobject/pygobject-stubs"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9904e7dd3a2dc52977d54b98542742da2aa8c2fc5356e45339f37b908ff5dfc5",
                "md5": "6a65426eda49671795a329890a250687",
                "sha256": "4dad2d876c070a16f604c249bb70e8cbc36373151a6731d826a8436c6a80b99d"
            },
            "downloads": -1,
            "filename": "pygobject_stubs-2.12.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6a65426eda49671795a329890a250687",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 810326,
            "upload_time": "2024-10-31T18:25:26",
            "upload_time_iso_8601": "2024-10-31T18:25:26.263708Z",
            "url": "https://files.pythonhosted.org/packages/99/04/e7dd3a2dc52977d54b98542742da2aa8c2fc5356e45339f37b908ff5dfc5/pygobject_stubs-2.12.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-31 18:25:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pygobject",
    "github_project": "pygobject-stubs",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pygobject-stubs"
}
        
Elapsed time: 0.43165s