blender-python-stubs 5.1.0.1__tar.gz → 5.1.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/PKG-INFO +6 -4
  2. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/README.md +4 -2
  3. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bmesh/types/__init__.pyi +29 -12
  4. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy/types/__init__.pyi +3172 -855
  5. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/freestyle/types/__init__.pyi +100 -48
  6. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu/types/__init__.pyi +1 -0
  7. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/idprop/types/__init__.pyi +1 -0
  8. blender_python_stubs-5.1.0.2/mathutils/__init__.pyi +3320 -0
  9. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/pyproject.toml +2 -2
  10. blender_python_stubs-5.1.0.1/mathutils/__init__.pyi +0 -2302
  11. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/.gitignore +0 -0
  12. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/.python-version +0 -0
  13. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/LICENSE +0 -0
  14. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/aud/__init__.pyi +0 -0
  15. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/aud/py.typed +0 -0
  16. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bl_math/__init__.pyi +0 -0
  17. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bl_math/py.typed +0 -0
  18. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/blf/__init__.pyi +0 -0
  19. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/blf/py.typed +0 -0
  20. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bmesh/__init__.pyi +0 -0
  21. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bmesh/geometry/__init__.pyi +0 -0
  22. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bmesh/ops/__init__.pyi +0 -0
  23. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bmesh/py.typed +0 -0
  24. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bmesh/utils/__init__.pyi +0 -0
  25. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy/__init__.pyi +0 -0
  26. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy/app/__init__.pyi +0 -0
  27. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy/msgbus/__init__.pyi +0 -0
  28. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy/ops/__init__.pyi +0 -0
  29. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy/path/__init__.pyi +0 -0
  30. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy/props/__init__.pyi +0 -0
  31. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy/py.typed +0 -0
  32. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy/utils/__init__.pyi +0 -0
  33. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy/utils/previews/__init__.pyi +0 -0
  34. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy/utils/toolsystem/__init__.pyi +0 -0
  35. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy_extras/__init__.pyi +0 -0
  36. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy_extras/anim_utils/__init__.pyi +0 -0
  37. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy_extras/asset_utils/__init__.pyi +0 -0
  38. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy_extras/bmesh_utils/__init__.pyi +0 -0
  39. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy_extras/id_map_utils/__init__.pyi +0 -0
  40. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy_extras/image_utils/__init__.pyi +0 -0
  41. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy_extras/io_utils/__init__.pyi +0 -0
  42. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy_extras/keyconfig_utils/__init__.pyi +0 -0
  43. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy_extras/mesh_utils/__init__.pyi +0 -0
  44. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy_extras/node_shader_utils/__init__.pyi +0 -0
  45. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy_extras/node_utils/__init__.pyi +0 -0
  46. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy_extras/object_utils/__init__.pyi +0 -0
  47. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy_extras/py.typed +0 -0
  48. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/bpy_extras/view3d_utils/__init__.pyi +0 -0
  49. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/freestyle/__init__.pyi +0 -0
  50. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/freestyle/chainingiterators/__init__.pyi +0 -0
  51. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/freestyle/functions/__init__.pyi +0 -0
  52. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/freestyle/predicates/__init__.pyi +0 -0
  53. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/freestyle/py.typed +0 -0
  54. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/freestyle/shaders/__init__.pyi +0 -0
  55. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/freestyle/utils/__init__.pyi +0 -0
  56. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu/__init__.pyi +0 -0
  57. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu/capabilities/__init__.pyi +0 -0
  58. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu/compute/__init__.pyi +0 -0
  59. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu/matrix/__init__.pyi +0 -0
  60. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu/platform/__init__.pyi +0 -0
  61. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu/py.typed +0 -0
  62. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu/select/__init__.pyi +0 -0
  63. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu/shader/__init__.pyi +0 -0
  64. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu/state/__init__.pyi +0 -0
  65. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu/texture/__init__.pyi +0 -0
  66. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu_extras/__init__.pyi +0 -0
  67. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu_extras/batch/__init__.pyi +0 -0
  68. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu_extras/presets/__init__.pyi +0 -0
  69. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/gpu_extras/py.typed +0 -0
  70. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/idprop/__init__.pyi +0 -0
  71. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/idprop/py.typed +0 -0
  72. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/imbuf/__init__.pyi +0 -0
  73. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/imbuf/py.typed +0 -0
  74. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/imbuf/types/__init__.pyi +0 -0
  75. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/mathutils/bvhtree/__init__.pyi +0 -0
  76. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/mathutils/geometry/__init__.pyi +0 -0
  77. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/mathutils/interpolate/__init__.pyi +0 -0
  78. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/mathutils/kdtree/__init__.pyi +0 -0
  79. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/mathutils/noise/__init__.pyi +0 -0
  80. {blender_python_stubs-5.1.0.1 → blender_python_stubs-5.1.0.2}/mathutils/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: blender-python-stubs
3
- Version: 5.1.0.1
3
+ Version: 5.1.0.2
4
4
  Summary: Type stubs for Blender 5.1 Python API
5
5
  Project-URL: Homepage, https://git.autourdeminuit.com/autour_de_minuit/blender-python-stubs
6
6
  Project-URL: Issues, https://git.autourdeminuit.com/autour_de_minuit/blender-python-stubs/issues
@@ -10,7 +10,7 @@ Author-email: Autour de Minuit <tech@autourdeminuit.com>
10
10
  License-Expression: MIT
11
11
  License-File: LICENSE
12
12
  Keywords: autocomplete,blender,bpy,stubs,typing
13
- Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Development Status :: 4 - Beta
14
14
  Classifier: Intended Audience :: Developers
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Topic :: Multimedia :: Graphics :: 3D Modeling
@@ -21,9 +21,11 @@ Description-Content-Type: text/markdown
21
21
 
22
22
  # blender-python-stubs
23
23
 
24
- Type stubs for Blender 5.1 Python API.
24
+ [![PyPI](https://img.shields.io/pypi/v/blender-python-stubs?logo=pypi&logoColor=white)](https://pypi.org/project/blender-python-stubs/)
25
25
 
26
- Provides autocomplete, type checking, and inline documentation for `bpy`, `mathutils`, `bmesh`, `gpu`, `freestyle`, and all other Blender Python modules.
26
+ Strict type stubs for Blender 5.1 Python API.
27
+
28
+ Provides autocomplete, type checking, and inline documentation for `bpy`, `mathutils`, `bmesh`, `gpu`, `freestyle`, and all other Blender Python modules. Generated stubs pass [basedpyright](https://docs.basedpyright.com) `all` mode with 0 errors and use zero `typing.Any`.
27
29
 
28
30
  ## Installation
29
31
 
@@ -1,8 +1,10 @@
1
1
  # blender-python-stubs
2
2
 
3
- Type stubs for Blender 5.1 Python API.
3
+ [![PyPI](https://img.shields.io/pypi/v/blender-python-stubs?logo=pypi&logoColor=white)](https://pypi.org/project/blender-python-stubs/)
4
4
 
5
- Provides autocomplete, type checking, and inline documentation for `bpy`, `mathutils`, `bmesh`, `gpu`, `freestyle`, and all other Blender Python modules.
5
+ Strict type stubs for Blender 5.1 Python API.
6
+
7
+ Provides autocomplete, type checking, and inline documentation for `bpy`, `mathutils`, `bmesh`, `gpu`, `freestyle`, and all other Blender Python modules. Generated stubs pass [basedpyright](https://docs.basedpyright.com) `all` mode with 0 errors and use zero `typing.Any`.
6
8
 
7
9
  ## Installation
8
10
 
@@ -398,10 +398,14 @@ class BMFace:
398
398
 
399
399
  :type: int"""
400
400
 
401
- normal: mathutils.Vector | Sequence[float]
402
- """The normal for this face as a 3D, wrapped vector.
401
+ @property
402
+ def normal(self) -> mathutils.Vector:
403
+ """The normal for this face as a 3D, wrapped vector.
404
+
405
+ :type: :class:`mathutils.Vector`"""
403
406
 
404
- :type: :class:`mathutils.Vector`"""
407
+ @normal.setter
408
+ def normal(self, value: mathutils.Vector | Sequence[float]) -> None: ...
405
409
 
406
410
  select: bool
407
411
  """Selected state of this element.
@@ -997,18 +1001,26 @@ class BMLoopUV:
997
1001
 
998
1002
  :type: bool"""
999
1003
 
1000
- uv: mathutils.Vector | Sequence[float]
1001
- """Loop UV (as a 2D Vector).
1004
+ @property
1005
+ def uv(self) -> mathutils.Vector:
1006
+ """Loop UV (as a 2D Vector).
1002
1007
 
1003
- :type: :class:`mathutils.Vector`"""
1008
+ :type: :class:`mathutils.Vector`"""
1009
+
1010
+ @uv.setter
1011
+ def uv(self, value: mathutils.Vector | Sequence[float]) -> None: ...
1004
1012
 
1005
1013
  class BMVert:
1006
1014
  """The BMesh vertex type"""
1007
1015
 
1008
- co: mathutils.Vector | Sequence[float]
1009
- """The coordinates for this vertex as a 3D, wrapped vector.
1016
+ @property
1017
+ def co(self) -> mathutils.Vector:
1018
+ """The coordinates for this vertex as a 3D, wrapped vector.
1010
1019
 
1011
- :type: :class:`mathutils.Vector`"""
1020
+ :type: :class:`mathutils.Vector`"""
1021
+
1022
+ @co.setter
1023
+ def co(self, value: mathutils.Vector | Sequence[float]) -> None: ...
1012
1024
 
1013
1025
  hide: bool
1014
1026
  """Hidden state of this element.
@@ -1067,10 +1079,15 @@ class BMVert:
1067
1079
  """Loops that use this vertex (read-only).
1068
1080
 
1069
1081
  :type: :class:`BMElemSeq`\\ [:class:`BMLoop`]"""
1070
- normal: mathutils.Vector | Sequence[float]
1071
- """The normal for this vertex as a 3D, wrapped vector.
1072
1082
 
1073
- :type: :class:`mathutils.Vector`"""
1083
+ @property
1084
+ def normal(self) -> mathutils.Vector:
1085
+ """The normal for this vertex as a 3D, wrapped vector.
1086
+
1087
+ :type: :class:`mathutils.Vector`"""
1088
+
1089
+ @normal.setter
1090
+ def normal(self, value: mathutils.Vector | Sequence[float]) -> None: ...
1074
1091
 
1075
1092
  select: bool
1076
1093
  """Selected state of this element.