PyGObject-stubs


NamePyGObject-stubs JSON
Version 2.11.0 PyPI version JSON
download
home_pageNone
SummaryTyping stubs for PyGObject
upload_time2024-04-03 19:24:36
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/00/94/097808d0e22af77e60da74ee8793e01b6233f0ac7875bc782513a5e01bf2/PyGObject-stubs-2.11.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.11.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": "0094097808d0e22af77e60da74ee8793e01b6233f0ac7875bc782513a5e01bf2",
                "md5": "bd86497f4a225eb617b5c463ae6e76df",
                "sha256": "e1c7e32658213ae711d8afc5ea083a434231b8b588d1de23f50d5705a9c8eefe"
            },
            "downloads": -1,
            "filename": "PyGObject-stubs-2.11.0.tar.gz",
            "has_sig": false,
            "md5_digest": "bd86497f4a225eb617b5c463ae6e76df",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 757190,
            "upload_time": "2024-04-03T19:24:36",
            "upload_time_iso_8601": "2024-04-03T19:24:36.812596Z",
            "url": "https://files.pythonhosted.org/packages/00/94/097808d0e22af77e60da74ee8793e01b6233f0ac7875bc782513a5e01bf2/PyGObject-stubs-2.11.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-03 19:24:36",
    "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.22096s