fake-bpy-module 20240524__py3-none-any.whl → 20240529__py3-none-any.whl

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.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (167) hide show
  1. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -3
  2. bl_operators/__init__.pyi +3 -0
  3. bl_operators/connect_to_output/__init__.pyi +325 -0
  4. bl_operators/image_as_planes/__init__.pyi +463 -0
  5. bl_operators/node_editor/__init__.pyi +6 -0
  6. bl_operators/node_editor/node_functions/__init__.pyi +23 -0
  7. bl_operators/presets/__init__.pyi +12 -12
  8. bl_operators/userpref/__init__.pyi +0 -214
  9. bl_operators/wm/__init__.pyi +24 -24
  10. bl_ui/__init__.pyi +12 -12
  11. bl_ui/anim/__init__.pyi +6 -6
  12. bl_ui/generic_ui_list/__init__.pyi +2 -2
  13. bl_ui/node_add_menu/__init__.pyi +6 -6
  14. bl_ui/node_add_menu_compositor/__init__.pyi +108 -108
  15. bl_ui/node_add_menu_geometry/__init__.pyi +288 -288
  16. bl_ui/node_add_menu_shader/__init__.pyi +60 -60
  17. bl_ui/node_add_menu_texture/__init__.pyi +54 -54
  18. bl_ui/properties_collection/__init__.pyi +6 -6
  19. bl_ui/properties_data_armature/__init__.pyi +12 -12
  20. bl_ui/properties_data_camera/__init__.pyi +12 -12
  21. bl_ui/properties_data_curves/__init__.pyi +6 -6
  22. bl_ui/properties_data_gpencil/__init__.pyi +12 -12
  23. bl_ui/properties_data_grease_pencil/__init__.pyi +18 -18
  24. bl_ui/properties_data_mesh/__init__.pyi +24 -24
  25. bl_ui/properties_data_modifier/__init__.pyi +42 -42
  26. bl_ui/properties_data_pointcloud/__init__.pyi +6 -6
  27. bl_ui/properties_freestyle/__init__.pyi +6 -6
  28. bl_ui/properties_grease_pencil_common/__init__.pyi +72 -72
  29. bl_ui/properties_mask_common/__init__.pyi +36 -36
  30. bl_ui/properties_material/__init__.pyi +6 -6
  31. bl_ui/properties_material_gpencil/__init__.pyi +12 -12
  32. bl_ui/properties_object/__init__.pyi +6 -6
  33. bl_ui/properties_output/__init__.pyi +18 -18
  34. bl_ui/properties_paint_common/__init__.pyi +6 -6
  35. bl_ui/properties_particle/__init__.pyi +12 -12
  36. bl_ui/properties_physics_cloth/__init__.pyi +6 -6
  37. bl_ui/properties_physics_fluid/__init__.pyi +6 -6
  38. bl_ui/properties_render/__init__.pyi +7 -7
  39. bl_ui/properties_texture/__init__.pyi +6 -6
  40. bl_ui/properties_view_layer/__init__.pyi +6 -6
  41. bl_ui/space_clip/__init__.pyi +186 -186
  42. bl_ui/space_console/__init__.pyi +30 -30
  43. bl_ui/space_dopesheet/__init__.pyi +84 -84
  44. bl_ui/space_filebrowser/__init__.pyi +78 -78
  45. bl_ui/space_graph/__init__.pyi +96 -96
  46. bl_ui/space_image/__init__.pyi +138 -138
  47. bl_ui/space_info/__init__.pyi +30 -30
  48. bl_ui/space_nla/__init__.pyi +78 -78
  49. bl_ui/space_node/__init__.pyi +72 -72
  50. bl_ui/space_outliner/__init__.pyi +72 -72
  51. bl_ui/space_sequencer/__init__.pyi +204 -204
  52. bl_ui/space_text/__init__.pyi +72 -72
  53. bl_ui/space_time/__init__.pyi +24 -24
  54. bl_ui/space_toolsystem_toolbar/__init__.pyi +4 -0
  55. bl_ui/space_topbar/__init__.pyi +114 -114
  56. bl_ui/space_userpref/__init__.pyi +36 -36
  57. bl_ui/space_view3d/__init__.pyi +1446 -1176
  58. bl_ui/space_view3d_toolbar/__init__.pyi +30 -30
  59. bl_ui/utils/__init__.pyi +6 -6
  60. bmesh/geometry/__init__.pyi +2 -2
  61. bmesh/ops/__init__.pyi +55 -54
  62. bmesh/types/__init__.pyi +43 -33
  63. bmesh/utils/__init__.pyi +2 -2
  64. bpy/app/__init__.pyi +5 -1
  65. bpy/app/handlers/__init__.pyi +37 -37
  66. bpy/app/icons/__init__.pyi +4 -4
  67. bpy/app/timers/__init__.pyi +6 -6
  68. bpy/ops/action/__init__.pyi +21 -0
  69. bpy/ops/anim/__init__.pyi +34 -0
  70. bpy/ops/armature/__init__.pyi +31 -0
  71. bpy/ops/asset/__init__.pyi +5 -0
  72. bpy/ops/bl_pkg/__init__.pyi +32 -21
  73. bpy/ops/boid/__init__.pyi +1 -0
  74. bpy/ops/brush/__init__.pyi +6 -0
  75. bpy/ops/buttons/__init__.pyi +2 -0
  76. bpy/ops/cachefile/__init__.pyi +3 -0
  77. bpy/ops/camera/__init__.pyi +2 -0
  78. bpy/ops/clip/__init__.pyi +49 -0
  79. bpy/ops/cloth/__init__.pyi +1 -0
  80. bpy/ops/collection/__init__.pyi +7 -0
  81. bpy/ops/console/__init__.pyi +11 -0
  82. bpy/ops/constraint/__init__.pyi +15 -0
  83. bpy/ops/curve/__init__.pyi +28 -0
  84. bpy/ops/curves/__init__.pyi +14 -0
  85. bpy/ops/cycles/__init__.pyi +2 -0
  86. bpy/ops/dpaint/__init__.pyi +2 -0
  87. bpy/ops/ed/__init__.pyi +3 -0
  88. bpy/ops/export_anim/__init__.pyi +1 -0
  89. bpy/ops/export_scene/__init__.pyi +20 -3
  90. bpy/ops/file/__init__.pyi +14 -0
  91. bpy/ops/fluid/__init__.pyi +1 -0
  92. bpy/ops/font/__init__.pyi +13 -0
  93. bpy/ops/geometry/__init__.pyi +7 -0
  94. bpy/ops/gizmogroup/__init__.pyi +1 -0
  95. bpy/ops/gpencil/__init__.pyi +106 -0
  96. bpy/ops/graph/__init__.pyi +47 -0
  97. bpy/ops/grease_pencil/__init__.pyi +52 -0
  98. bpy/ops/image/__init__.pyi +308 -0
  99. bpy/ops/import_anim/__init__.pyi +1 -0
  100. bpy/ops/import_curve/__init__.pyi +1 -0
  101. bpy/ops/import_scene/__init__.pyi +2 -0
  102. bpy/ops/info/__init__.pyi +3 -0
  103. bpy/ops/lattice/__init__.pyi +5 -0
  104. bpy/ops/marker/__init__.pyi +9 -0
  105. bpy/ops/mask/__init__.pyi +22 -0
  106. bpy/ops/mball/__init__.pyi +7 -0
  107. bpy/ops/mesh/__init__.pyi +134 -0
  108. bpy/ops/nla/__init__.pyi +20 -0
  109. bpy/ops/node/__init__.pyi +65 -0
  110. bpy/ops/object/__init__.pyi +174 -0
  111. bpy/ops/outliner/__init__.pyi +25 -0
  112. bpy/ops/paint/__init__.pyi +105 -0
  113. bpy/ops/paintcurve/__init__.pyi +4 -0
  114. bpy/ops/palette/__init__.pyi +4 -0
  115. bpy/ops/particle/__init__.pyi +17 -0
  116. bpy/ops/pose/__init__.pyi +24 -0
  117. bpy/ops/poselib/__init__.pyi +4 -0
  118. bpy/ops/preferences/__init__.pyi +28 -16
  119. bpy/ops/ptcache/__init__.pyi +2 -0
  120. bpy/ops/render/__init__.pyi +9 -0
  121. bpy/ops/rigidbody/__init__.pyi +7 -0
  122. bpy/ops/scene/__init__.pyi +16 -0
  123. bpy/ops/screen/__init__.pyi +21 -0
  124. bpy/ops/script/__init__.pyi +2 -0
  125. bpy/ops/sculpt/__init__.pyi +151 -0
  126. bpy/ops/sculpt_curves/__init__.pyi +3 -0
  127. bpy/ops/sequencer/__init__.pyi +57 -0
  128. bpy/ops/sound/__init__.pyi +4 -0
  129. bpy/ops/spreadsheet/__init__.pyi +2 -0
  130. bpy/ops/surface/__init__.pyi +6 -0
  131. bpy/ops/text/__init__.pyi +18 -0
  132. bpy/ops/text_editor/__init__.pyi +1 -0
  133. bpy/ops/texture/__init__.pyi +1 -0
  134. bpy/ops/transform/__init__.pyi +25 -0
  135. bpy/ops/ui/__init__.pyi +13 -0
  136. bpy/ops/uilist/__init__.pyi +3 -0
  137. bpy/ops/uv/__init__.pyi +40 -0
  138. bpy/ops/view2d/__init__.pyi +11 -0
  139. bpy/ops/view3d/__init__.pyi +30 -0
  140. bpy/ops/wm/__init__.pyi +114 -0
  141. bpy/ops/workspace/__init__.pyi +1 -0
  142. bpy/path/__init__.pyi +6 -6
  143. bpy/props/__init__.pyi +27 -15
  144. bpy/types/__init__.pyi +662 -388
  145. bpy/utils/__init__.pyi +12 -10
  146. bpy_extras/anim_utils/__init__.pyi +7 -7
  147. bpy_extras/io_utils/__init__.pyi +4 -4
  148. bpy_extras/mesh_utils/__init__.pyi +4 -4
  149. bpy_extras/object_utils/__init__.pyi +8 -8
  150. bpy_extras/view3d_utils/__init__.pyi +2 -0
  151. bpy_types/__init__.pyi +12 -12
  152. {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/METADATA +1 -1
  153. {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/RECORD +167 -163
  154. freestyle/shaders/__init__.pyi +2 -2
  155. freestyle/types/__init__.pyi +64 -56
  156. gpu/matrix/__init__.pyi +6 -6
  157. gpu/types/__init__.pyi +14 -10
  158. gpu_extras/batch/__init__.pyi +1 -1
  159. gpu_extras/presets/__init__.pyi +1 -1
  160. imbuf/__init__.pyi +2 -2
  161. mathutils/__init__.pyi +176 -137
  162. mathutils/bvhtree/__init__.pyi +4 -4
  163. mathutils/geometry/__init__.pyi +139 -139
  164. mathutils/kdtree/__init__.pyi +14 -10
  165. mathutils/noise/__init__.pyi +26 -26
  166. {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/WHEEL +0 -0
  167. {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/top_level.txt +0 -0
@@ -23,6 +23,7 @@ def append_activate(
23
23
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
24
24
  execution_context: str | int | None = None,
25
25
  undo: bool | None = None,
26
+ *,
26
27
  idname: str | typing.Any = "",
27
28
  filepath: str | typing.Any = "",
28
29
  ):
bpy/path/__init__.pyi CHANGED
@@ -12,7 +12,7 @@ GenericType1 = typing.TypeVar("GenericType1")
12
12
  GenericType2 = typing.TypeVar("GenericType2")
13
13
 
14
14
  def abspath(
15
- path, start: str | bytes | None = None, library: bpy.types.Library | None = None
15
+ path, *, start: str | bytes | None = None, library: bpy.types.Library | None = None
16
16
  ) -> str:
17
17
  """Returns the absolute path relative to the current blend file
18
18
  using the "//" prefix.
@@ -65,7 +65,7 @@ def basename(path) -> str:
65
65
 
66
66
  ...
67
67
 
68
- def clean_name(name: str | bytes | None, replace: str | None = "_") -> str:
68
+ def clean_name(name: str | bytes | None, *, replace: str | None = "_") -> str:
69
69
  """Returns a name with characters replaced that
70
70
  may cause problems under various circumstances,
71
71
  such as writing to a file.All characters besides A-Z/a-z, 0-9 are replaced with "_"
@@ -98,7 +98,7 @@ def clean_name(name: str | bytes | None, replace: str | None = "_") -> str:
98
98
  ...
99
99
 
100
100
  def display_name(
101
- name: str | None, has_ext: bool | None = True, title_case: bool | None = True
101
+ name: str | None, *, has_ext: bool | None = True, title_case: bool | None = True
102
102
  ) -> str:
103
103
  """Creates a display string from name to be used menus and the user interface.
104
104
  Intended for use with filenames and module names.
@@ -182,7 +182,7 @@ def display_name_to_filepath(name: str | None) -> str:
182
182
  ...
183
183
 
184
184
  def ensure_ext(
185
- filepath: str | None, ext: str | None, case_sensitive: bool | None = False
185
+ filepath: str | None, ext: str | None, *, case_sensitive: bool | None = False
186
186
  ) -> str:
187
187
  """Return the path with the extension added if it is not already set.
188
188
 
@@ -242,7 +242,7 @@ def is_subdir(path: str | bytes | None, directory) -> bool:
242
242
  ...
243
243
 
244
244
  def module_names(
245
- path: str | None, recursive: bool | None = False, package: str | None = ""
245
+ path: str | None, *, recursive: bool | None = False, package: str | None = ""
246
246
  ) -> list[str]:
247
247
  """Return a list of modules which can be imported from path.
248
248
 
@@ -323,7 +323,7 @@ def reduce_dirs(dirs: list[str] | None) -> list[str]:
323
323
 
324
324
  ...
325
325
 
326
- def relpath(path: str | bytes | None, start: str | bytes | None = None) -> str:
326
+ def relpath(path: str | bytes | None, *, start: str | bytes | None = None) -> str:
327
327
  """Returns the path relative to the current blend file using the "//" prefix.
328
328
 
329
329
  :param path: An absolute path.
bpy/props/__init__.pyi CHANGED
@@ -94,6 +94,7 @@ GenericType1 = typing.TypeVar("GenericType1")
94
94
  GenericType2 = typing.TypeVar("GenericType2")
95
95
 
96
96
  def BoolProperty(
97
+ *,
97
98
  name: str | None = "",
98
99
  description: str | None = "",
99
100
  translation_context: str | None = "*",
@@ -137,15 +138,16 @@ def BoolProperty(
137
138
  ...
138
139
 
139
140
  def BoolVectorProperty(
141
+ *,
140
142
  name: str | None = "",
141
143
  description: str | None = "",
142
144
  translation_context: str | None = "*",
143
- default: typing.Sequence | None = (False, False, False),
145
+ default: collections.abc.Sequence | None = (False, False, False),
144
146
  options: set | None = {"ANIMATABLE"},
145
147
  override: set | None = None(),
146
148
  tags: set | None = None(),
147
149
  subtype: str | None = "NONE",
148
- size: int | typing.Sequence[int] | None = 3,
150
+ size: int | collections.abc.Sequence[int] | None = 3,
149
151
  update: typing.Any | None = None,
150
152
  get: typing.Any | None = None,
151
153
  set: typing.Any | None = None,
@@ -159,7 +161,7 @@ def BoolVectorProperty(
159
161
  :param translation_context: Text used as context to disambiguate translations.
160
162
  :type translation_context: str | None
161
163
  :param default: sequence of booleans the length of size.
162
- :type default: typing.Sequence | None
164
+ :type default: collections.abc.Sequence | None
163
165
  :param options: Enumerator in `rna_enum_property_flag_items`.
164
166
  :type options: set | None
165
167
  :param override: Enumerator in `rna_enum_property_override_flag_items`.
@@ -169,7 +171,7 @@ def BoolVectorProperty(
169
171
  :param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
170
172
  :type subtype: str | None
171
173
  :param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
172
- :type size: int | typing.Sequence[int] | None
174
+ :type size: int | collections.abc.Sequence[int] | None
173
175
  :param update: Function to be called when this value is modified,
174
176
  This function must take 2 values (self, context) and return None.
175
177
  Warning there are no safety checks to avoid infinite recursion.
@@ -185,6 +187,7 @@ def BoolVectorProperty(
185
187
  ...
186
188
 
187
189
  def CollectionProperty(
190
+ *,
188
191
  type=None,
189
192
  name: str | None = "",
190
193
  description: str | None = "",
@@ -213,7 +216,10 @@ def CollectionProperty(
213
216
  ...
214
217
 
215
218
  def EnumProperty(
216
- items: typing.Iterable[typing.Iterable[str]] | typing.Callable | None,
219
+ *,
220
+ items: collections.abc.Iterable[collections.abc.Iterable[str]]
221
+ | collections.abc.Callable
222
+ | None,
217
223
  name: str | None = "",
218
224
  description: str | None = "",
219
225
  translation_context: str | None = "*",
@@ -265,7 +271,7 @@ def EnumProperty(
265
271
  There is a known bug with using a callback,
266
272
  Python must keep a reference to the strings returned by the callback or Blender
267
273
  will misbehave or even crash.
268
- :type items: typing.Iterable[typing.Iterable[str]] | typing.Callable | None
274
+ :type items: collections.abc.Iterable[collections.abc.Iterable[str]] | collections.abc.Callable | None
269
275
  :param name: Name used in the user interface.
270
276
  :type name: str | None
271
277
  :param description: Text used for the tooltip and api documentation.
@@ -298,6 +304,7 @@ def EnumProperty(
298
304
  ...
299
305
 
300
306
  def FloatProperty(
307
+ *,
301
308
  name: str | None = "",
302
309
  description: str | None = "",
303
310
  translation_context: str | None = "*",
@@ -362,10 +369,11 @@ def FloatProperty(
362
369
  ...
363
370
 
364
371
  def FloatVectorProperty(
372
+ *,
365
373
  name: str | None = "",
366
374
  description: str | None = "",
367
375
  translation_context: str | None = "*",
368
- default: typing.Sequence | None = (0.0, 0.0, 0.0),
376
+ default: collections.abc.Sequence | None = (0.0, 0.0, 0.0),
369
377
  min: float | None = None,
370
378
  max: float | None = None,
371
379
  soft_min: float | None = None,
@@ -377,7 +385,7 @@ def FloatVectorProperty(
377
385
  tags: set | None = None(),
378
386
  subtype: str | None = "NONE",
379
387
  unit: str | None = "NONE",
380
- size: int | typing.Sequence[int] | None = 3,
388
+ size: int | collections.abc.Sequence[int] | None = 3,
381
389
  update: typing.Any | None = None,
382
390
  get: typing.Any | None = None,
383
391
  set: typing.Any | None = None,
@@ -391,7 +399,7 @@ def FloatVectorProperty(
391
399
  :param translation_context: Text used as context to disambiguate translations.
392
400
  :type translation_context: str | None
393
401
  :param default: sequence of floats the length of size.
394
- :type default: typing.Sequence | None
402
+ :type default: collections.abc.Sequence | None
395
403
  :param min: Hard minimum, trying to assign a value below will silently assign this minimum instead.
396
404
  :type min: float | None
397
405
  :param max: Hard maximum, trying to assign a value above will silently assign this maximum instead.
@@ -415,7 +423,7 @@ def FloatVectorProperty(
415
423
  :param unit: Enumerator in `rna_enum_property_unit_items`.
416
424
  :type unit: str | None
417
425
  :param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
418
- :type size: int | typing.Sequence[int] | None
426
+ :type size: int | collections.abc.Sequence[int] | None
419
427
  :param update: Function to be called when this value is modified,
420
428
  This function must take 2 values (self, context) and return None.
421
429
  Warning there are no safety checks to avoid infinite recursion.
@@ -431,6 +439,7 @@ def FloatVectorProperty(
431
439
  ...
432
440
 
433
441
  def IntProperty(
442
+ *,
434
443
  name: str | None = "",
435
444
  description: str | None = "",
436
445
  translation_context: str | None = "*",
@@ -489,10 +498,11 @@ def IntProperty(
489
498
  ...
490
499
 
491
500
  def IntVectorProperty(
501
+ *,
492
502
  name: str | None = "",
493
503
  description: str | None = "",
494
504
  translation_context: str | None = "*",
495
- default: typing.Sequence | None = (0, 0, 0),
505
+ default: collections.abc.Sequence | None = (0, 0, 0),
496
506
  min: int | None = None,
497
507
  max: int | None = None,
498
508
  soft_min: int | None = None,
@@ -502,7 +512,7 @@ def IntVectorProperty(
502
512
  override: set | None = None(),
503
513
  tags: set | None = None(),
504
514
  subtype: str | None = "NONE",
505
- size: int | typing.Sequence[int] | None = 3,
515
+ size: int | collections.abc.Sequence[int] | None = 3,
506
516
  update: typing.Any | None = None,
507
517
  get: typing.Any | None = None,
508
518
  set: typing.Any | None = None,
@@ -516,7 +526,7 @@ def IntVectorProperty(
516
526
  :param translation_context: Text used as context to disambiguate translations.
517
527
  :type translation_context: str | None
518
528
  :param default: sequence of ints the length of size.
519
- :type default: typing.Sequence | None
529
+ :type default: collections.abc.Sequence | None
520
530
  :param min: Hard minimum, trying to assign a value below will silently assign this minimum instead.
521
531
  :type min: int | None
522
532
  :param max: Hard maximum, trying to assign a value above will silently assign this maximum instead.
@@ -536,7 +546,7 @@ def IntVectorProperty(
536
546
  :param subtype: Enumerator in `rna_enum_property_subtype_number_array_items`.
537
547
  :type subtype: str | None
538
548
  :param size: Vector dimensions in [1, 32]. An int sequence can be used to define multi-dimension arrays.
539
- :type size: int | typing.Sequence[int] | None
549
+ :type size: int | collections.abc.Sequence[int] | None
540
550
  :param update: Function to be called when this value is modified,
541
551
  This function must take 2 values (self, context) and return None.
542
552
  Warning there are no safety checks to avoid infinite recursion.
@@ -552,6 +562,7 @@ def IntVectorProperty(
552
562
  ...
553
563
 
554
564
  def PointerProperty(
565
+ *,
555
566
  type=None,
556
567
  name: str | None = "",
557
568
  description: str | None = "",
@@ -588,7 +599,7 @@ def PointerProperty(
588
599
 
589
600
  ...
590
601
 
591
- def RemoveProperty(cls: typing.Any | None, attr: str | None):
602
+ def RemoveProperty(*, cls: typing.Any | None, attr: str | None):
592
603
  """Removes a dynamically defined property.
593
604
 
594
605
  :param cls: The class containing the property (must be a positional argument).
@@ -600,6 +611,7 @@ def RemoveProperty(cls: typing.Any | None, attr: str | None):
600
611
  ...
601
612
 
602
613
  def StringProperty(
614
+ *,
603
615
  name: str | None = "",
604
616
  description: str | None = "",
605
617
  translation_context: str | None = "*",