Bpystubgen

Latest version: v0.2.7

Safety actively analyzes 625140 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.2.7

* Fixed incorrect generation of `kwargs` arguments (1).
* Add support for Blender 3.1.

0.2.6

* Add support for Blender 3.0 and UPBGE 0.3.
* Update to Python 3.10

0.2.5

A hot fix for the recent regression with failing to generate some types, including `KX_GameObject`.

Also, this version also supports parsing the _"One of... (multiple lines of type)"_ pattern.

0.2.4

* Fixed the problem of functions with `*args` or `**kwargs` missing arguments.
* Support for `bgl` module's function variant expressions (e.g. _"B{func1, func2}"_).
* Added support for _"iterable of T"_ type expression.
* Added support for _"pair of T"_ type expression.
* Now it recognises most of matrix related expressions (e.g. _"4x4 matrix [[float]]"_).

0.2.3

* Fix the problem of stubs for top-level leaf modules (e.g. `bgl`) not getting generated.
* Improve type hinting for `mathutils.Vector`/`Quaternion`/`Matrix`/`Euler`.
* Support simple tuple type expressions.
* Generate function variants for `bgl` module (i.e. `B{fun_v1, fun_v2, ...}`).
* Miscellaneous bug fixes and improvements.

0.2.2

* Add CI workflow to publish `blender-stubs` module to PyPI.
* Fixed a problem with stub generationg of `bpy.types` and `bpy.ops` in Blender 2.8x.
* Fixed a minor issue with local name resolution of modules (e.g. unnecessary `import bge` statement in `bge.types.pyi`).

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.