blender-python-stubs 5.2.1.0__tar.gz → 5.2.1.1__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.2.1.0 → blender_python_stubs-5.2.1.1}/PKG-INFO +1 -1
  2. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy/types/__init__.pyi +50 -142
  3. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/pyproject.toml +1 -1
  4. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/.gitignore +0 -0
  5. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/.python-version +0 -0
  6. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/LICENSE +0 -0
  7. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/README.md +0 -0
  8. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/aud/__init__.pyi +0 -0
  9. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/aud/py.typed +0 -0
  10. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bl_math/__init__.pyi +0 -0
  11. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bl_math/py.typed +0 -0
  12. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/blf/__init__.pyi +0 -0
  13. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/blf/py.typed +0 -0
  14. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/blf/types/__init__.pyi +0 -0
  15. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bmesh/__init__.pyi +0 -0
  16. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bmesh/geometry/__init__.pyi +0 -0
  17. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bmesh/ops/__init__.pyi +0 -0
  18. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bmesh/py.typed +0 -0
  19. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bmesh/types/__init__.pyi +0 -0
  20. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bmesh/utils/__init__.pyi +0 -0
  21. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy/__init__.pyi +0 -0
  22. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy/app/__init__.pyi +0 -0
  23. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy/msgbus/__init__.pyi +0 -0
  24. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy/ops/__init__.pyi +0 -0
  25. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy/path/__init__.pyi +0 -0
  26. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy/props/__init__.pyi +0 -0
  27. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy/py.typed +0 -0
  28. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy/utils/__init__.pyi +0 -0
  29. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy/utils/previews/__init__.pyi +0 -0
  30. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy/utils/toolsystem/__init__.pyi +0 -0
  31. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy_extras/__init__.pyi +0 -0
  32. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy_extras/anim_utils/__init__.pyi +0 -0
  33. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy_extras/asset_utils/__init__.pyi +0 -0
  34. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy_extras/bmesh_utils/__init__.pyi +0 -0
  35. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy_extras/id_map_utils/__init__.pyi +0 -0
  36. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy_extras/image_utils/__init__.pyi +0 -0
  37. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy_extras/io_utils/__init__.pyi +0 -0
  38. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy_extras/keyconfig_utils/__init__.pyi +0 -0
  39. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy_extras/mesh_utils/__init__.pyi +0 -0
  40. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy_extras/node_shader_utils/__init__.pyi +0 -0
  41. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy_extras/node_utils/__init__.pyi +0 -0
  42. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy_extras/object_utils/__init__.pyi +0 -0
  43. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy_extras/py.typed +0 -0
  44. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/bpy_extras/view3d_utils/__init__.pyi +0 -0
  45. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/freestyle/__init__.pyi +0 -0
  46. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/freestyle/chainingiterators/__init__.pyi +0 -0
  47. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/freestyle/functions/__init__.pyi +0 -0
  48. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/freestyle/predicates/__init__.pyi +0 -0
  49. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/freestyle/py.typed +0 -0
  50. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/freestyle/shaders/__init__.pyi +0 -0
  51. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/freestyle/types/__init__.pyi +0 -0
  52. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/freestyle/utils/__init__.pyi +0 -0
  53. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu/__init__.pyi +0 -0
  54. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu/capabilities/__init__.pyi +0 -0
  55. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu/compute/__init__.pyi +0 -0
  56. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu/matrix/__init__.pyi +0 -0
  57. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu/platform/__init__.pyi +0 -0
  58. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu/py.typed +0 -0
  59. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu/select/__init__.pyi +0 -0
  60. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu/shader/__init__.pyi +0 -0
  61. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu/state/__init__.pyi +0 -0
  62. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu/texture/__init__.pyi +0 -0
  63. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu/types/__init__.pyi +0 -0
  64. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu_extras/__init__.pyi +0 -0
  65. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu_extras/batch/__init__.pyi +0 -0
  66. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu_extras/presets/__init__.pyi +0 -0
  67. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/gpu_extras/py.typed +0 -0
  68. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/idprop/__init__.pyi +0 -0
  69. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/idprop/py.typed +0 -0
  70. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/idprop/types/__init__.pyi +0 -0
  71. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/imbuf/__init__.pyi +0 -0
  72. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/imbuf/py.typed +0 -0
  73. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/imbuf/types/__init__.pyi +0 -0
  74. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/mathutils/__init__.pyi +0 -0
  75. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/mathutils/bvhtree/__init__.pyi +0 -0
  76. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/mathutils/geometry/__init__.pyi +0 -0
  77. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/mathutils/interpolate/__init__.pyi +0 -0
  78. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/mathutils/kdtree/__init__.pyi +0 -0
  79. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/mathutils/noise/__init__.pyi +0 -0
  80. {blender_python_stubs-5.2.1.0 → blender_python_stubs-5.2.1.1}/mathutils/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: blender-python-stubs
3
- Version: 5.2.1.0
3
+ Version: 5.2.1.1
4
4
  Summary: Type stubs for Blender 5.2 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
@@ -1,7 +1,7 @@
1
1
  """Blender RNA type definitions."""
2
2
 
3
3
  from collections.abc import Iterator, Callable, MutableSequence, Iterable
4
- from typing import Generic, TypedDict, TypeVar, Literal, Self
4
+ from typing import Generic, TypedDict, TypeAlias, TypeVar, Literal, Self
5
5
  from typing import override
6
6
  import builtins
7
7
  import collections.abc
@@ -9,6 +9,48 @@ import mathutils
9
9
 
10
10
  _T = TypeVar("_T")
11
11
 
12
+ SpaceType: TypeAlias = Literal[
13
+ "EMPTY",
14
+ "VIEW_3D",
15
+ "IMAGE_EDITOR",
16
+ "NODE_EDITOR",
17
+ "SEQUENCE_EDITOR",
18
+ "CLIP_EDITOR",
19
+ "DOPESHEET_EDITOR",
20
+ "GRAPH_EDITOR",
21
+ "NLA_EDITOR",
22
+ "TEXT_EDITOR",
23
+ "CONSOLE",
24
+ "INFO",
25
+ "TOPBAR",
26
+ "STATUSBAR",
27
+ "OUTLINER",
28
+ "PROPERTIES",
29
+ "FILE_BROWSER",
30
+ "SPREADSHEET",
31
+ "PREFERENCES",
32
+ ]
33
+
34
+ RegionType: TypeAlias = Literal[
35
+ "WINDOW",
36
+ "HEADER",
37
+ "CHANNELS",
38
+ "TEMPORARY",
39
+ "UI",
40
+ "TOOLS",
41
+ "TOOL_PROPS",
42
+ "ASSET_SHELF",
43
+ "ASSET_SHELF_HEADER",
44
+ "PREVIEW",
45
+ "HUD",
46
+ "NAVIGATION_BAR",
47
+ "EXECUTE",
48
+ "FOOTER",
49
+ "TOOL_HEADER",
50
+ "XR",
51
+ "SCRUBBING",
52
+ ]
53
+
12
54
  class bpy_struct:
13
55
  @property
14
56
  def id_data(self) -> ID:
@@ -2366,27 +2408,7 @@ class AssetShelf(bpy_struct):
2366
2408
  bl_idname: str
2367
2409
  """If this is set, the asset gets a custom ID, otherwise it takes the name of the class used to define the asset (for example, if the class name is "OBJECT_AST_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_AST_hello")"""
2368
2410
 
2369
- bl_space_type: Literal[
2370
- "EMPTY",
2371
- "VIEW_3D",
2372
- "IMAGE_EDITOR",
2373
- "NODE_EDITOR",
2374
- "SEQUENCE_EDITOR",
2375
- "CLIP_EDITOR",
2376
- "DOPESHEET_EDITOR",
2377
- "GRAPH_EDITOR",
2378
- "NLA_EDITOR",
2379
- "TEXT_EDITOR",
2380
- "CONSOLE",
2381
- "INFO",
2382
- "TOPBAR",
2383
- "STATUSBAR",
2384
- "OUTLINER",
2385
- "PROPERTIES",
2386
- "FILE_BROWSER",
2387
- "SPREADSHEET",
2388
- "PREFERENCES",
2389
- ]
2411
+ bl_space_type: SpaceType
2390
2412
  """The space where the asset shelf will show up in. Ignored for popup asset shelves which can be displayed in any space."""
2391
2413
 
2392
2414
  bl_options: set[str]
@@ -27617,48 +27639,10 @@ class GizmoGroup(bpy_struct):
27617
27639
 
27618
27640
  bl_label: str
27619
27641
 
27620
- bl_space_type: Literal[
27621
- "EMPTY",
27622
- "VIEW_3D",
27623
- "IMAGE_EDITOR",
27624
- "NODE_EDITOR",
27625
- "SEQUENCE_EDITOR",
27626
- "CLIP_EDITOR",
27627
- "DOPESHEET_EDITOR",
27628
- "GRAPH_EDITOR",
27629
- "NLA_EDITOR",
27630
- "TEXT_EDITOR",
27631
- "CONSOLE",
27632
- "INFO",
27633
- "TOPBAR",
27634
- "STATUSBAR",
27635
- "OUTLINER",
27636
- "PROPERTIES",
27637
- "FILE_BROWSER",
27638
- "SPREADSHEET",
27639
- "PREFERENCES",
27640
- ]
27642
+ bl_space_type: SpaceType
27641
27643
  """The space where the panel is going to be used in"""
27642
27644
 
27643
- bl_region_type: Literal[
27644
- "WINDOW",
27645
- "HEADER",
27646
- "CHANNELS",
27647
- "TEMPORARY",
27648
- "UI",
27649
- "TOOLS",
27650
- "TOOL_PROPS",
27651
- "ASSET_SHELF",
27652
- "ASSET_SHELF_HEADER",
27653
- "PREVIEW",
27654
- "HUD",
27655
- "NAVIGATION_BAR",
27656
- "EXECUTE",
27657
- "FOOTER",
27658
- "TOOL_HEADER",
27659
- "XR",
27660
- "SCRUBBING",
27661
- ]
27645
+ bl_region_type: RegionType
27662
27646
  """The region where the panel is going to be used in"""
27663
27647
 
27664
27648
  bl_owner_id: str
@@ -30126,48 +30110,10 @@ class Header(bpy_struct):
30126
30110
  bl_idname: str
30127
30111
  """If this is set, the header gets a custom ID, otherwise it takes the name of the class used to define the header; for example, if the class name is "OBJECT_HT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_HT_hello" """
30128
30112
 
30129
- bl_space_type: Literal[
30130
- "EMPTY",
30131
- "VIEW_3D",
30132
- "IMAGE_EDITOR",
30133
- "NODE_EDITOR",
30134
- "SEQUENCE_EDITOR",
30135
- "CLIP_EDITOR",
30136
- "DOPESHEET_EDITOR",
30137
- "GRAPH_EDITOR",
30138
- "NLA_EDITOR",
30139
- "TEXT_EDITOR",
30140
- "CONSOLE",
30141
- "INFO",
30142
- "TOPBAR",
30143
- "STATUSBAR",
30144
- "OUTLINER",
30145
- "PROPERTIES",
30146
- "FILE_BROWSER",
30147
- "SPREADSHEET",
30148
- "PREFERENCES",
30149
- ]
30113
+ bl_space_type: SpaceType
30150
30114
  """The space where the header is going to be used in"""
30151
30115
 
30152
- bl_region_type: Literal[
30153
- "WINDOW",
30154
- "HEADER",
30155
- "CHANNELS",
30156
- "TEMPORARY",
30157
- "UI",
30158
- "TOOLS",
30159
- "TOOL_PROPS",
30160
- "ASSET_SHELF",
30161
- "ASSET_SHELF_HEADER",
30162
- "PREVIEW",
30163
- "HUD",
30164
- "NAVIGATION_BAR",
30165
- "EXECUTE",
30166
- "FOOTER",
30167
- "TOOL_HEADER",
30168
- "XR",
30169
- "SCRUBBING",
30170
- ]
30116
+ bl_region_type: RegionType
30171
30117
  """The region where the header is going to be used in (defaults to header region)"""
30172
30118
 
30173
30119
  def draw(self, context: Context | None) -> None:
@@ -46161,48 +46107,10 @@ class Panel(bpy_struct):
46161
46107
  bl_owner_id: str
46162
46108
  """The ID owning the data displayed in the panel, if any"""
46163
46109
 
46164
- bl_space_type: Literal[
46165
- "EMPTY",
46166
- "VIEW_3D",
46167
- "IMAGE_EDITOR",
46168
- "NODE_EDITOR",
46169
- "SEQUENCE_EDITOR",
46170
- "CLIP_EDITOR",
46171
- "DOPESHEET_EDITOR",
46172
- "GRAPH_EDITOR",
46173
- "NLA_EDITOR",
46174
- "TEXT_EDITOR",
46175
- "CONSOLE",
46176
- "INFO",
46177
- "TOPBAR",
46178
- "STATUSBAR",
46179
- "OUTLINER",
46180
- "PROPERTIES",
46181
- "FILE_BROWSER",
46182
- "SPREADSHEET",
46183
- "PREFERENCES",
46184
- ]
46110
+ bl_space_type: SpaceType
46185
46111
  """The space where the panel is going to be used in"""
46186
46112
 
46187
- bl_region_type: Literal[
46188
- "WINDOW",
46189
- "HEADER",
46190
- "CHANNELS",
46191
- "TEMPORARY",
46192
- "UI",
46193
- "TOOLS",
46194
- "TOOL_PROPS",
46195
- "ASSET_SHELF",
46196
- "ASSET_SHELF_HEADER",
46197
- "PREVIEW",
46198
- "HUD",
46199
- "NAVIGATION_BAR",
46200
- "EXECUTE",
46201
- "FOOTER",
46202
- "TOOL_HEADER",
46203
- "XR",
46204
- "SCRUBBING",
46205
- ]
46113
+ bl_region_type: RegionType
46206
46114
  """The region where the panel is going to be used in"""
46207
46115
 
46208
46116
  bl_context: str
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "blender-python-stubs"
7
- version = "5.2.1.0"
7
+ version = "5.2.1.1"
8
8
  description = "Type stubs for Blender 5.2 Python API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.13"