fake-bpy-module 20240803__py3-none-any.whl → 20240805__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 (76) hide show
  1. _bpy_internal/extensions/__init__.pyi +1 -0
  2. _bpy_internal/extensions/stale_file_manager/__init__.pyi +39 -0
  3. _bpy_internal/extensions/wheel_manager/__init__.pyi +3 -1
  4. addon_utils/__init__.pyi +2 -0
  5. aud/__init__.pyi +77 -77
  6. bmesh/ops/__init__.pyi +54 -36
  7. bmesh/types/__init__.pyi +24 -24
  8. bpy/ops/action/__init__.pyi +55 -32
  9. bpy/ops/anim/__init__.pyi +22 -22
  10. bpy/ops/armature/__init__.pyi +47 -20
  11. bpy/ops/asset/__init__.pyi +5 -2
  12. bpy/ops/boid/__init__.pyi +12 -2
  13. bpy/ops/brush/__init__.pyi +18 -12
  14. bpy/ops/buttons/__init__.pyi +10 -4
  15. bpy/ops/cachefile/__init__.pyi +12 -6
  16. bpy/ops/clip/__init__.pyi +54 -38
  17. bpy/ops/console/__init__.pyi +17 -6
  18. bpy/ops/constraint/__init__.pyi +28 -28
  19. bpy/ops/curve/__init__.pyi +72 -34
  20. bpy/ops/curves/__init__.pyi +16 -16
  21. bpy/ops/dpaint/__init__.pyi +4 -4
  22. bpy/ops/ed/__init__.pyi +5 -2
  23. bpy/ops/export_anim/__init__.pyi +3 -2
  24. bpy/ops/export_scene/__init__.pyi +55 -45
  25. bpy/ops/file/__init__.pyi +40 -16
  26. bpy/ops/font/__init__.pyi +59 -16
  27. bpy/ops/geometry/__init__.pyi +55 -20
  28. bpy/ops/gpencil/__init__.pyi +155 -122
  29. bpy/ops/graph/__init__.pyi +131 -52
  30. bpy/ops/grease_pencil/__init__.pyi +78 -58
  31. bpy/ops/image/__init__.pyi +77 -54
  32. bpy/ops/import_anim/__init__.pyi +11 -8
  33. bpy/ops/import_scene/__init__.pyi +20 -18
  34. bpy/ops/info/__init__.pyi +4 -4
  35. bpy/ops/lattice/__init__.pyi +8 -8
  36. bpy/ops/marker/__init__.pyi +6 -6
  37. bpy/ops/mask/__init__.pyi +13 -12
  38. bpy/ops/mball/__init__.pyi +6 -6
  39. bpy/ops/mesh/__init__.pyi +290 -150
  40. bpy/ops/nla/__init__.pyi +28 -20
  41. bpy/ops/node/__init__.pyi +43 -32
  42. bpy/ops/object/__init__.pyi +651 -210
  43. bpy/ops/outliner/__init__.pyi +113 -32
  44. bpy/ops/paint/__init__.pyi +65 -56
  45. bpy/ops/palette/__init__.pyi +4 -4
  46. bpy/ops/particle/__init__.pyi +14 -14
  47. bpy/ops/pose/__init__.pyi +121 -44
  48. bpy/ops/preferences/__init__.pyi +9 -6
  49. bpy/ops/render/__init__.pyi +3 -2
  50. bpy/ops/rigidbody/__init__.pyi +45 -14
  51. bpy/ops/scene/__init__.pyi +69 -22
  52. bpy/ops/screen/__init__.pyi +78 -16
  53. bpy/ops/sculpt/__init__.pyi +131 -74
  54. bpy/ops/sculpt_curves/__init__.pyi +2 -2
  55. bpy/ops/sequencer/__init__.pyi +156 -60
  56. bpy/ops/sound/__init__.pyi +40 -16
  57. bpy/ops/surface/__init__.pyi +12 -12
  58. bpy/ops/text/__init__.pyi +65 -20
  59. bpy/ops/texture/__init__.pyi +2 -2
  60. bpy/ops/transform/__init__.pyi +344 -72
  61. bpy/ops/ui/__init__.pyi +9 -6
  62. bpy/ops/uilist/__init__.pyi +2 -2
  63. bpy/ops/uv/__init__.pyi +90 -66
  64. bpy/ops/view3d/__init__.pyi +36 -30
  65. bpy/ops/wm/__init__.pyi +443 -156
  66. bpy/types/__init__.pyi +28584 -2857
  67. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240805.dist-info}/METADATA +1 -1
  68. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240805.dist-info}/RECORD +76 -75
  69. freestyle/chainingiterators/__init__.pyi +4 -4
  70. freestyle/types/__init__.pyi +76 -63
  71. idprop/types/__init__.pyi +2 -2
  72. imbuf/types/__init__.pyi +2 -2
  73. mathutils/__init__.pyi +1004 -970
  74. mathutils/bvhtree/__init__.pyi +2 -2
  75. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240805.dist-info}/WHEEL +0 -0
  76. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240805.dist-info}/top_level.txt +0 -0
bpy/ops/font/__init__.pyi CHANGED
@@ -11,7 +11,7 @@ def case_set(
11
11
  execution_context: int | str | None = None,
12
12
  undo: bool | None = None,
13
13
  *,
14
- case: str | None = "LOWER",
14
+ case: typing.Literal["LOWER", "UPPER"] | None = "LOWER",
15
15
  ):
16
16
  """Set font case
17
17
 
@@ -19,7 +19,7 @@ def case_set(
19
19
  :type execution_context: int | str | None
20
20
  :type undo: bool | None
21
21
  :param case: Case, Lower or upper case
22
- :type case: str | None
22
+ :type case: typing.Literal['LOWER','UPPER'] | None
23
23
  """
24
24
 
25
25
  ...
@@ -79,7 +79,16 @@ def delete(
79
79
  execution_context: int | str | None = None,
80
80
  undo: bool | None = None,
81
81
  *,
82
- type: str | None = "PREVIOUS_CHARACTER",
82
+ type: typing.Literal[
83
+ "NEXT_CHARACTER",
84
+ "PREVIOUS_CHARACTER",
85
+ "NEXT_WORD",
86
+ "PREVIOUS_WORD",
87
+ "SELECTION",
88
+ "NEXT_OR_SELECTION",
89
+ "PREVIOUS_OR_SELECTION",
90
+ ]
91
+ | None = "PREVIOUS_CHARACTER",
83
92
  ):
84
93
  """Delete text by cursor position
85
94
 
@@ -87,7 +96,7 @@ def delete(
87
96
  :type execution_context: int | str | None
88
97
  :type undo: bool | None
89
98
  :param type: Type, Which part of the text to delete
90
- :type type: str | None
99
+ :type type: typing.Literal['NEXT_CHARACTER','PREVIOUS_CHARACTER','NEXT_WORD','PREVIOUS_WORD','SELECTION','NEXT_OR_SELECTION','PREVIOUS_OR_SELECTION'] | None
91
100
  """
92
101
 
93
102
  ...
@@ -111,7 +120,21 @@ def move(
111
120
  execution_context: int | str | None = None,
112
121
  undo: bool | None = None,
113
122
  *,
114
- type: str | None = "LINE_BEGIN",
123
+ type: typing.Literal[
124
+ "LINE_BEGIN",
125
+ "LINE_END",
126
+ "TEXT_BEGIN",
127
+ "TEXT_END",
128
+ "PREVIOUS_CHARACTER",
129
+ "NEXT_CHARACTER",
130
+ "PREVIOUS_WORD",
131
+ "NEXT_WORD",
132
+ "PREVIOUS_LINE",
133
+ "NEXT_LINE",
134
+ "PREVIOUS_PAGE",
135
+ "NEXT_PAGE",
136
+ ]
137
+ | None = "LINE_BEGIN",
115
138
  ):
116
139
  """Move cursor to position type
117
140
 
@@ -119,7 +142,7 @@ def move(
119
142
  :type execution_context: int | str | None
120
143
  :type undo: bool | None
121
144
  :param type: Type, Where to move cursor to
122
- :type type: str | None
145
+ :type type: typing.Literal['LINE_BEGIN','LINE_END','TEXT_BEGIN','TEXT_END','PREVIOUS_CHARACTER','NEXT_CHARACTER','PREVIOUS_WORD','NEXT_WORD','PREVIOUS_LINE','NEXT_LINE','PREVIOUS_PAGE','NEXT_PAGE'] | None
123
146
  """
124
147
 
125
148
  ...
@@ -129,7 +152,21 @@ def move_select(
129
152
  execution_context: int | str | None = None,
130
153
  undo: bool | None = None,
131
154
  *,
132
- type: str | None = "LINE_BEGIN",
155
+ type: typing.Literal[
156
+ "LINE_BEGIN",
157
+ "LINE_END",
158
+ "TEXT_BEGIN",
159
+ "TEXT_END",
160
+ "PREVIOUS_CHARACTER",
161
+ "NEXT_CHARACTER",
162
+ "PREVIOUS_WORD",
163
+ "NEXT_WORD",
164
+ "PREVIOUS_LINE",
165
+ "NEXT_LINE",
166
+ "PREVIOUS_PAGE",
167
+ "NEXT_PAGE",
168
+ ]
169
+ | None = "LINE_BEGIN",
133
170
  ):
134
171
  """Move the cursor while selecting
135
172
 
@@ -137,7 +174,7 @@ def move_select(
137
174
  :type execution_context: int | str | None
138
175
  :type undo: bool | None
139
176
  :param type: Type, Where to move cursor to, to make a selection
140
- :type type: str | None
177
+ :type type: typing.Literal['LINE_BEGIN','LINE_END','TEXT_BEGIN','TEXT_END','PREVIOUS_CHARACTER','NEXT_CHARACTER','PREVIOUS_WORD','NEXT_WORD','PREVIOUS_LINE','NEXT_LINE','PREVIOUS_PAGE','NEXT_PAGE'] | None
141
178
  """
142
179
 
143
180
  ...
@@ -169,7 +206,10 @@ def open(
169
206
  filter_blenlib: bool | None = False,
170
207
  filemode: int | None = 9,
171
208
  relative_path: bool | None = True,
172
- display_type: str | None = "THUMBNAIL",
209
+ display_type: typing.Literal[
210
+ "DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
211
+ ]
212
+ | None = "THUMBNAIL",
173
213
  sort_method: str | None = "",
174
214
  ):
175
215
  """Load a new font from a file
@@ -234,7 +274,7 @@ def open(
234
274
 
235
275
  THUMBNAIL
236
276
  Thumbnails -- Display files as thumbnails.
237
- :type display_type: str | None
277
+ :type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
238
278
  :param sort_method: File sorting mode
239
279
  :type sort_method: str | None
240
280
  """
@@ -288,7 +328,7 @@ def style_set(
288
328
  execution_context: int | str | None = None,
289
329
  undo: bool | None = None,
290
330
  *,
291
- style: str | None = "BOLD",
331
+ style: typing.Literal["BOLD", "ITALIC", "UNDERLINE", "SMALL_CAPS"] | None = "BOLD",
292
332
  clear: bool | None = False,
293
333
  ):
294
334
  """Set font style
@@ -297,7 +337,7 @@ def style_set(
297
337
  :type execution_context: int | str | None
298
338
  :type undo: bool | None
299
339
  :param style: Style, Style to set selection to
300
- :type style: str | None
340
+ :type style: typing.Literal['BOLD','ITALIC','UNDERLINE','SMALL_CAPS'] | None
301
341
  :param clear: Clear, Clear style rather than setting it
302
342
  :type clear: bool | None
303
343
  """
@@ -309,7 +349,7 @@ def style_toggle(
309
349
  execution_context: int | str | None = None,
310
350
  undo: bool | None = None,
311
351
  *,
312
- style: str | None = "BOLD",
352
+ style: typing.Literal["BOLD", "ITALIC", "UNDERLINE", "SMALL_CAPS"] | None = "BOLD",
313
353
  ):
314
354
  """Toggle font style
315
355
 
@@ -317,7 +357,7 @@ def style_toggle(
317
357
  :type execution_context: int | str | None
318
358
  :type undo: bool | None
319
359
  :param style: Style, Style to set selection to
320
- :type style: str | None
360
+ :type style: typing.Literal['BOLD','ITALIC','UNDERLINE','SMALL_CAPS'] | None
321
361
  """
322
362
 
323
363
  ...
@@ -429,7 +469,10 @@ def text_paste_from_file(
429
469
  filter_folder: bool | None = True,
430
470
  filter_blenlib: bool | None = False,
431
471
  filemode: int | None = 9,
432
- display_type: str | None = "DEFAULT",
472
+ display_type: typing.Literal[
473
+ "DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
474
+ ]
475
+ | None = "DEFAULT",
433
476
  sort_method: str | None = "",
434
477
  ):
435
478
  """Paste contents from file
@@ -492,7 +535,7 @@ def text_paste_from_file(
492
535
 
493
536
  THUMBNAIL
494
537
  Thumbnails -- Display files as thumbnails.
495
- :type display_type: str | None
538
+ :type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
496
539
  :param sort_method: File sorting mode
497
540
  :type sort_method: str | None
498
541
  """
@@ -12,8 +12,25 @@ def attribute_add(
12
12
  undo: bool | None = None,
13
13
  *,
14
14
  name: str = "",
15
- domain: str | None = "POINT",
16
- data_type: str | None = "FLOAT",
15
+ domain: typing.Literal[
16
+ "POINT", "EDGE", "FACE", "CORNER", "CURVE", "INSTANCE", "LAYER"
17
+ ]
18
+ | None = "POINT",
19
+ data_type: typing.Literal[
20
+ "FLOAT",
21
+ "INT",
22
+ "FLOAT_VECTOR",
23
+ "FLOAT_COLOR",
24
+ "BYTE_COLOR",
25
+ "STRING",
26
+ "BOOLEAN",
27
+ "FLOAT2",
28
+ "INT8",
29
+ "INT32_2D",
30
+ "QUATERNION",
31
+ "FLOAT4X4",
32
+ ]
33
+ | None = "FLOAT",
17
34
  ):
18
35
  """Add attribute to geometry
19
36
 
@@ -23,9 +40,9 @@ def attribute_add(
23
40
  :param name: Name, Name of new attribute
24
41
  :type name: str
25
42
  :param domain: Domain, Type of element that attribute is stored on
26
- :type domain: str | None
43
+ :type domain: typing.Literal['POINT', 'EDGE', 'FACE', 'CORNER', 'CURVE', 'INSTANCE', 'LAYER'] | None
27
44
  :param data_type: Data Type, Type of data stored in attribute
28
- :type data_type: str | None
45
+ :type data_type: typing.Literal['FLOAT', 'INT', 'FLOAT_VECTOR', 'FLOAT_COLOR', 'BYTE_COLOR', 'STRING', 'BOOLEAN', 'FLOAT2', 'INT8', 'INT32_2D', 'QUATERNION', 'FLOAT4X4'] | None
29
46
  """
30
47
 
31
48
  ...
@@ -35,9 +52,26 @@ def attribute_convert(
35
52
  execution_context: int | str | None = None,
36
53
  undo: bool | None = None,
37
54
  *,
38
- mode: str | None = "GENERIC",
39
- domain: str | None = "POINT",
40
- data_type: str | None = "FLOAT",
55
+ mode: typing.Literal["GENERIC", "VERTEX_GROUP"] | None = "GENERIC",
56
+ domain: typing.Literal[
57
+ "POINT", "EDGE", "FACE", "CORNER", "CURVE", "INSTANCE", "LAYER"
58
+ ]
59
+ | None = "POINT",
60
+ data_type: typing.Literal[
61
+ "FLOAT",
62
+ "INT",
63
+ "FLOAT_VECTOR",
64
+ "FLOAT_COLOR",
65
+ "BYTE_COLOR",
66
+ "STRING",
67
+ "BOOLEAN",
68
+ "FLOAT2",
69
+ "INT8",
70
+ "INT32_2D",
71
+ "QUATERNION",
72
+ "FLOAT4X4",
73
+ ]
74
+ | None = "FLOAT",
41
75
  ):
42
76
  """Change how the attribute is stored
43
77
 
@@ -45,11 +79,11 @@ def attribute_convert(
45
79
  :type execution_context: int | str | None
46
80
  :type undo: bool | None
47
81
  :param mode: Mode
48
- :type mode: str | None
82
+ :type mode: typing.Literal['GENERIC','VERTEX_GROUP'] | None
49
83
  :param domain: Domain, Which geometry element to move the attribute to
50
- :type domain: str | None
84
+ :type domain: typing.Literal['POINT', 'EDGE', 'FACE', 'CORNER', 'CURVE', 'INSTANCE', 'LAYER'] | None
51
85
  :param data_type: Data Type
52
- :type data_type: str | None
86
+ :type data_type: typing.Literal['FLOAT', 'INT', 'FLOAT_VECTOR', 'FLOAT_COLOR', 'BYTE_COLOR', 'STRING', 'BOOLEAN', 'FLOAT2', 'INT8', 'INT32_2D', 'QUATERNION', 'FLOAT4X4'] | None
53
87
  """
54
88
 
55
89
  ...
@@ -74,8 +108,8 @@ def color_attribute_add(
74
108
  undo: bool | None = None,
75
109
  *,
76
110
  name: str = "",
77
- domain: str | None = "POINT",
78
- data_type: str | None = "FLOAT_COLOR",
111
+ domain: typing.Literal["POINT", "CORNER"] | None = "POINT",
112
+ data_type: typing.Literal["FLOAT_COLOR", "BYTE_COLOR"] | None = "FLOAT_COLOR",
79
113
  color: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0, 1.0),
80
114
  ):
81
115
  """Add color attribute to geometry
@@ -86,9 +120,9 @@ def color_attribute_add(
86
120
  :param name: Name, Name of new color attribute
87
121
  :type name: str
88
122
  :param domain: Domain, Type of element that attribute is stored on
89
- :type domain: str | None
123
+ :type domain: typing.Literal['POINT', 'CORNER'] | None
90
124
  :param data_type: Data Type, Type of data stored in attribute
91
- :type data_type: str | None
125
+ :type data_type: typing.Literal['FLOAT_COLOR', 'BYTE_COLOR'] | None
92
126
  :param color: Color, Default fill color
93
127
  :type color: collections.abc.Iterable[float] | None
94
128
  """
@@ -100,8 +134,8 @@ def color_attribute_convert(
100
134
  execution_context: int | str | None = None,
101
135
  undo: bool | None = None,
102
136
  *,
103
- domain: str | None = "POINT",
104
- data_type: str | None = "FLOAT_COLOR",
137
+ domain: typing.Literal["POINT", "CORNER"] | None = "POINT",
138
+ data_type: typing.Literal["FLOAT_COLOR", "BYTE_COLOR"] | None = "FLOAT_COLOR",
105
139
  ):
106
140
  """Change how the color attribute is stored
107
141
 
@@ -109,9 +143,9 @@ def color_attribute_convert(
109
143
  :type execution_context: int | str | None
110
144
  :type undo: bool | None
111
145
  :param domain: Domain, Type of element that attribute is stored on
112
- :type domain: str | None
146
+ :type domain: typing.Literal['POINT', 'CORNER'] | None
113
147
  :param data_type: Data Type, Type of data stored in attribute
114
- :type data_type: str | None
148
+ :type data_type: typing.Literal['FLOAT_COLOR', 'BYTE_COLOR'] | None
115
149
  """
116
150
 
117
151
  ...
@@ -167,7 +201,8 @@ def execute_node_group(
167
201
  execution_context: int | str | None = None,
168
202
  undo: bool | None = None,
169
203
  *,
170
- asset_library_type: str | None = "LOCAL",
204
+ asset_library_type: typing.Literal["ALL", "LOCAL", "ESSENTIALS", "CUSTOM"]
205
+ | None = "LOCAL",
171
206
  asset_library_identifier: str = "",
172
207
  relative_asset_identifier: str = "",
173
208
  name: str = "",
@@ -220,7 +255,7 @@ def execute_node_group(
220
255
  :type execution_context: int | str | None
221
256
  :type undo: bool | None
222
257
  :param asset_library_type: Asset Library Type
223
- :type asset_library_type: str | None
258
+ :type asset_library_type: typing.Literal['ALL', 'LOCAL', 'ESSENTIALS', 'CUSTOM'] | None
224
259
  :param asset_library_identifier: Asset Library Identifier
225
260
  :type asset_library_identifier: str
226
261
  :param relative_asset_identifier: Relative Asset Identifier