Skip to main content

PyPI version PyPI - Python Version GitHub branch checks state PyPI - Downloads GitHub

Typing stubs for wxPython

Version: wxPython 4.2.0

This package contains typing stubs for wxPython.

This package is not maintained by the wxPython maintainers. It is maintained by users of wxPython.

Any help is always appreciated.

How it works

The base for the stubs is generated from docs.wxpython.org. It crawls the documentation looking for Python classes, functions, and literals. This means that changes in the documentation are automatically reflected in the stubs when they are regenerated.

We do not manually update anything in the `wx-stubs' folder. Everything is generated by the generator.

Run run.bat/run.sh to generate the stubs.

Overrides

Because we generated things based on online information, sometimes we have to resort to guessing, or sometimes the online documentation does not contain certain information. To fix these problems, we can override the typing.

You can find the overrides in generator/overrides.py.

In this file you can override any parameter by specifying the key and the parameter you want to override. You can change the typing of any class, function, or literal. These are applied after the typing is retrieved from the online documentation.

To update the stubs run: run.bat. This will result in newly updated stubs in the wx-stubs folder.

Missing

The online documentation may be incomplete, or sometimes we just can't understand the page. In these cases, we can add typing to the stubs.

You can find this file in generator/extras.py.

Here you can add any missing typing.

To update the stubs run: run.bat. This will result in newly updated stubs in the wx-stubs folder.

Help is appreciated

We started this project because we use wxPython ourselves and code typing is really helpful for finding bugs. But there is so much in wxPython. We fixed problems in the stubs as they came up in our code. This can cause things to not work for your code.

We have decided to open source the work we have put into creating the best wxPython typing there is. We want you to help. You can create an issue if you find problems with the typing. Or create a pull request if you have fixed something.

Guidelines

  • You don't need to commit newly generated stubs to your PR. We will generate them when we release a new version of the stubs.

Release files for types-wxpython 0.9.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for types-wxpython 0.9.7
File Size Uploaded
types_wxpython-0.9.7.tar.gz 494.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for types-wxpython 0.9.7
File Interpreter ABI Platform
types_wxpython-0.9.7-py3-none-any.whl Python 3 none any Details

Total release size: 1.0 MB

Release files / types_wxpython-0.9.7.tar.gz

Download URL types_wxpython-0.9.7.tar.gz
Size 494.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d9c09ded60cbe98ee44e8cb4cf46638ce4929e75e527e390d0db19808d71f6bd
BLAKE2b-256 checksum
How to use checksums
33331a2cf4cc8c76e41a59499cc7b6eda388c65ca8e85a551dd7e594812dd156
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / types_wxpython-0.9.7-py3-none-any.whl

Download URL types_wxpython-0.9.7-py3-none-any.whl
Size 530.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2669fe4e064e8eed5fb163e8d3f7bbec65a62a5ea3ad6d43f9624d035cb3deb7
BLAKE2b-256 checksum
How to use checksums
dd189b740abeaae63cbd430aaf73dd54cbc415a30a1a77993134e68d0548dd0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.9.7 This release

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page