fake-bge-module 20250104__py3-none-any.whl → 20250202__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.
Files changed (156) hide show
  1. addon_utils/__init__.pyi +11 -6
  2. aud/__init__.pyi +4 -0
  3. bge/types/__init__.pyi +66 -27
  4. bgl/__init__.pyi +2 -2
  5. bgui/image/__init__.pyi +3 -1
  6. bgui/system/__init__.pyi +12 -4
  7. bl_app_templates_system/Game_Engine/__init__.pyi +8 -0
  8. bl_app_templates_system/__init__.pyi +4 -0
  9. bl_app_templates_system/py.typed +0 -0
  10. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +5 -2
  11. bl_console_utils/autocomplete/complete_import/__init__.pyi +6 -3
  12. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
  13. bl_console_utils/autocomplete/intellisense/__init__.pyi +8 -2
  14. bl_operators/node/__init__.pyi +78 -0
  15. bl_ui/anim/__init__.pyi +6 -0
  16. bl_ui/generic_ui_list/__init__.pyi +2 -2
  17. bl_ui/node_add_menu_shader/__init__.pyi +0 -1
  18. bl_ui/node_add_menu_texture/__init__.pyi +1 -0
  19. bl_ui/properties_data_camera/__init__.pyi +0 -2
  20. bl_ui/properties_mask_common/__init__.pyi +17 -0
  21. bl_ui/properties_material_gpencil/__init__.pyi +29 -0
  22. bl_ui/properties_scene/__init__.pyi +6 -0
  23. bl_ui/properties_view_layer/__init__.pyi +1 -0
  24. bl_ui/space_clip/__init__.pyi +53 -0
  25. bl_ui/space_graph/__init__.pyi +2 -0
  26. bl_ui/space_image/__init__.pyi +25 -0
  27. bl_ui/space_node/__init__.pyi +0 -1
  28. bl_ui/space_sequencer/__init__.pyi +2 -1
  29. blf/__init__.pyi +6 -3
  30. bmesh/ops/__init__.pyi +111 -54
  31. bmesh/types/__init__.pyi +134 -46
  32. bmesh/utils/__init__.pyi +17 -5
  33. bpy/__init__.pyi +1 -2
  34. bpy/_typing/__init__.pyi +4 -0
  35. bpy/{typing → _typing/rna_enums}/__init__.pyi +36 -36
  36. bpy/app/__init__.pyi +13 -5
  37. bpy/app/handlers/__init__.pyi +4 -2
  38. bpy/app/icons/__init__.pyi +6 -2
  39. bpy/app/translations/__init__.pyi +17 -8
  40. bpy/msgbus/__init__.pyi +14 -2
  41. bpy/ops/action/__init__.pyi +51 -151
  42. bpy/ops/anim/__init__.pyi +61 -179
  43. bpy/ops/armature/__init__.pyi +48 -147
  44. bpy/ops/asset/__init__.pyi +16 -71
  45. bpy/ops/boid/__init__.pyi +11 -44
  46. bpy/ops/brush/__init__.pyi +16 -42
  47. bpy/ops/buttons/__init__.pyi +6 -29
  48. bpy/ops/cachefile/__init__.pyi +5 -19
  49. bpy/ops/camera/__init__.pyi +2 -5
  50. bpy/ops/clip/__init__.pyi +95 -293
  51. bpy/ops/cloth/__init__.pyi +1 -3
  52. bpy/ops/collection/__init__.pyi +10 -26
  53. bpy/ops/console/__init__.pyi +21 -79
  54. bpy/ops/constraint/__init__.pyi +18 -45
  55. bpy/ops/curve/__init__.pyi +57 -186
  56. bpy/ops/curves/__init__.pyi +37 -109
  57. bpy/ops/cycles/__init__.pyi +3 -9
  58. bpy/ops/dpaint/__init__.pyi +8 -22
  59. bpy/ops/ed/__init__.pyi +20 -52
  60. bpy/ops/export_anim/__init__.pyi +1 -3
  61. bpy/ops/export_scene/__init__.pyi +55 -32
  62. bpy/ops/extensions/__init__.pyi +34 -110
  63. bpy/ops/file/__init__.pyi +40 -167
  64. bpy/ops/fluid/__init__.pyi +14 -77
  65. bpy/ops/font/__init__.pyi +23 -85
  66. bpy/ops/geometry/__init__.pyi +29 -46
  67. bpy/ops/gizmogroup/__init__.pyi +2 -9
  68. bpy/ops/gpencil/__init__.pyi +8 -32
  69. bpy/ops/graph/__init__.pyi +82 -201
  70. bpy/ops/grease_pencil/__init__.pyi +125 -324
  71. bpy/ops/image/__init__.pyi +61 -163
  72. bpy/ops/import_anim/__init__.pyi +1 -3
  73. bpy/ops/import_curve/__init__.pyi +1 -3
  74. bpy/ops/import_scene/__init__.pyi +4 -6
  75. bpy/ops/info/__init__.pyi +7 -29
  76. bpy/ops/lattice/__init__.pyi +11 -32
  77. bpy/ops/logic/__init__.pyi +26 -65
  78. bpy/ops/marker/__init__.pyi +11 -31
  79. bpy/ops/mask/__init__.pyi +39 -132
  80. bpy/ops/material/__init__.pyi +3 -19
  81. bpy/ops/mball/__init__.pyi +8 -19
  82. bpy/ops/mesh/__init__.pyi +223 -470
  83. bpy/ops/nla/__init__.pyi +42 -150
  84. bpy/ops/node/__init__.pyi +169 -393
  85. bpy/ops/object/__init__.pyi +320 -749
  86. bpy/ops/outliner/__init__.pyi +76 -268
  87. bpy/ops/paint/__init__.pyi +67 -147
  88. bpy/ops/paintcurve/__init__.pyi +8 -33
  89. bpy/ops/palette/__init__.pyi +7 -27
  90. bpy/ops/particle/__init__.pyi +39 -134
  91. bpy/ops/pose/__init__.pyi +64 -182
  92. bpy/ops/poselib/__init__.pyi +9 -33
  93. bpy/ops/preferences/__init__.pyi +35 -94
  94. bpy/ops/ptcache/__init__.pyi +7 -33
  95. bpy/ops/render/__init__.pyi +13 -37
  96. bpy/ops/rigidbody/__init__.pyi +22 -54
  97. bpy/ops/scene/__init__.pyi +47 -130
  98. bpy/ops/screen/__init__.pyi +46 -144
  99. bpy/ops/script/__init__.pyi +3 -11
  100. bpy/ops/sculpt/__init__.pyi +40 -94
  101. bpy/ops/sculpt_curves/__init__.pyi +4 -10
  102. bpy/ops/sequencer/__init__.pyi +104 -327
  103. bpy/ops/sound/__init__.pyi +17 -28
  104. bpy/ops/spreadsheet/__init__.pyi +4 -15
  105. bpy/ops/surface/__init__.pyi +6 -13
  106. bpy/ops/text/__init__.pyi +43 -175
  107. bpy/ops/text_editor/__init__.pyi +1 -3
  108. bpy/ops/texture/__init__.pyi +4 -21
  109. bpy/ops/transform/__init__.pyi +114 -134
  110. bpy/ops/ui/__init__.pyi +39 -120
  111. bpy/ops/uilist/__init__.pyi +3 -7
  112. bpy/ops/uv/__init__.pyi +58 -143
  113. bpy/ops/view2d/__init__.pyi +14 -39
  114. bpy/ops/view3d/__init__.pyi +68 -238
  115. bpy/ops/wm/__init__.pyi +178 -319
  116. bpy/ops/workspace/__init__.pyi +7 -33
  117. bpy/ops/world/__init__.pyi +2 -11
  118. bpy/path/__init__.pyi +16 -6
  119. bpy/props/__init__.pyi +157 -127
  120. bpy/types/__init__.pyi +35227 -34838
  121. bpy/utils/__init__.pyi +71 -25
  122. bpy/utils/previews/__init__.pyi +2 -1
  123. bpy/utils/units/__init__.pyi +2 -1
  124. bpy_extras/anim_utils/__init__.pyi +11 -3
  125. bpy_extras/bmesh_utils/__init__.pyi +2 -1
  126. bpy_extras/image_utils/__init__.pyi +5 -2
  127. bpy_extras/io_utils/__init__.pyi +12 -5
  128. bpy_extras/mesh_utils/__init__.pyi +27 -6
  129. bpy_extras/object_utils/__init__.pyi +6 -5
  130. bpy_extras/view3d_utils/__init__.pyi +9 -2
  131. {fake_bge_module-20250104.dist-info → fake_bge_module-20250202.dist-info}/METADATA +5 -4
  132. {fake_bge_module-20250104.dist-info → fake_bge_module-20250202.dist-info}/RECORD +156 -152
  133. {fake_bge_module-20250104.dist-info → fake_bge_module-20250202.dist-info}/WHEEL +1 -1
  134. {fake_bge_module-20250104.dist-info → fake_bge_module-20250202.dist-info}/top_level.txt +1 -0
  135. freestyle/chainingiterators/__init__.pyi +7 -2
  136. freestyle/functions/__init__.pyi +16 -4
  137. freestyle/shaders/__init__.pyi +5 -1
  138. freestyle/types/__init__.pyi +103 -30
  139. freestyle/utils/ContextFunctions/__init__.pyi +2 -2
  140. freestyle/utils/__init__.pyi +2 -1
  141. gpu/capabilities/__init__.pyi +2 -1
  142. gpu/matrix/__init__.pyi +4 -2
  143. gpu/state/__init__.pyi +2 -2
  144. gpu/types/__init__.pyi +40 -8
  145. gpu_extras/batch/__init__.pyi +13 -1
  146. gpu_extras/presets/__init__.pyi +10 -1
  147. idprop/types/__init__.pyi +4 -2
  148. imbuf/__init__.pyi +6 -3
  149. imbuf/types/__init__.pyi +5 -2
  150. mathutils/__init__.pyi +126 -35
  151. mathutils/bvhtree/__init__.pyi +21 -6
  152. mathutils/geometry/__init__.pyi +68 -22
  153. mathutils/interpolate/__init__.pyi +5 -1
  154. mathutils/kdtree/__init__.pyi +21 -8
  155. mathutils/noise/__init__.pyi +2 -1
  156. rna_info/__init__.pyi +2 -1
@@ -1,31 +1,24 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
- import bpy.types
5
4
 
6
- def add(
7
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
8
- execution_context: int | str | None = None,
9
- undo: bool | None = None,
10
- ):
5
+ def add(execution_context: int | str | None = None, undo: bool | None = None):
11
6
  """Add a new workspace by duplicating the current one or appending one from the user configuration
12
7
 
13
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
14
8
  :type execution_context: int | str | None
15
9
  :type undo: bool | None
16
10
  """
17
11
 
18
12
  def append_activate(
19
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
20
13
  execution_context: int | str | None = None,
21
14
  undo: bool | None = None,
15
+ /,
22
16
  *,
23
17
  idname: str = "",
24
18
  filepath: str = "",
25
19
  ):
26
20
  """Append a workspace and make it the active one in the current window
27
21
 
28
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
29
22
  :type execution_context: int | str | None
30
23
  :type undo: bool | None
31
24
  :param idname: Identifier, Name of the workspace to append and activate
@@ -34,62 +27,43 @@ def append_activate(
34
27
  :type filepath: str
35
28
  """
36
29
 
37
- def delete(
38
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
39
- execution_context: int | str | None = None,
40
- undo: bool | None = None,
41
- ):
30
+ def delete(execution_context: int | str | None = None, undo: bool | None = None):
42
31
  """Delete the active workspace
43
32
 
44
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
45
33
  :type execution_context: int | str | None
46
34
  :type undo: bool | None
47
35
  """
48
36
 
49
- def duplicate(
50
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
51
- execution_context: int | str | None = None,
52
- undo: bool | None = None,
53
- ):
37
+ def duplicate(execution_context: int | str | None = None, undo: bool | None = None):
54
38
  """Add a new workspace
55
39
 
56
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
57
40
  :type execution_context: int | str | None
58
41
  :type undo: bool | None
59
42
  """
60
43
 
61
44
  def reorder_to_back(
62
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
63
- execution_context: int | str | None = None,
64
- undo: bool | None = None,
45
+ execution_context: int | str | None = None, undo: bool | None = None
65
46
  ):
66
47
  """Reorder workspace to be last in the list
67
48
 
68
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
69
49
  :type execution_context: int | str | None
70
50
  :type undo: bool | None
71
51
  """
72
52
 
73
53
  def reorder_to_front(
74
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
75
- execution_context: int | str | None = None,
76
- undo: bool | None = None,
54
+ execution_context: int | str | None = None, undo: bool | None = None
77
55
  ):
78
56
  """Reorder workspace to be first in the list
79
57
 
80
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
81
58
  :type execution_context: int | str | None
82
59
  :type undo: bool | None
83
60
  """
84
61
 
85
62
  def scene_pin_toggle(
86
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
87
- execution_context: int | str | None = None,
88
- undo: bool | None = None,
63
+ execution_context: int | str | None = None, undo: bool | None = None
89
64
  ):
90
65
  """Remember the last used scene for the current workspace and switch to it whenever this workspace is activated again
91
66
 
92
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
93
67
  :type execution_context: int | str | None
94
68
  :type undo: bool | None
95
69
  """
@@ -1,28 +1,19 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
- import bpy.types
5
4
 
6
5
  def convert_volume_to_mesh(
7
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
8
- execution_context: int | str | None = None,
9
- undo: bool | None = None,
6
+ execution_context: int | str | None = None, undo: bool | None = None
10
7
  ):
11
8
  """Convert the volume of a world to a mesh. The world's volume used to be rendered by EEVEE Legacy. Conversion is needed for it to render properly
12
9
 
13
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
14
10
  :type execution_context: int | str | None
15
11
  :type undo: bool | None
16
12
  """
17
13
 
18
- def new(
19
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
20
- execution_context: int | str | None = None,
21
- undo: bool | None = None,
22
- ):
14
+ def new(execution_context: int | str | None = None, undo: bool | None = None):
23
15
  """Create a new world Data-Block
24
16
 
25
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
26
17
  :type execution_context: int | str | None
27
18
  :type undo: bool | None
28
19
  """
bpy/path/__init__.pyi CHANGED
@@ -9,12 +9,15 @@ import collections.abc
9
9
  import typing_extensions
10
10
  import bpy.types
11
11
 
12
- def abspath(path, *, start=None, library: bpy.types.Library | None = None) -> str:
12
+ def abspath(
13
+ path, *, start: bytes | str | None = None, library: bpy.types.Library | None = None
14
+ ) -> str:
13
15
  """Returns the absolute path relative to the current blend file
14
16
  using the "//" prefix.
15
17
 
16
18
  :param start: Relative to this path,
17
19
  when not set the current filename is used.
20
+ :type start: bytes | str | None
18
21
  :param library: The library this path is from. This is only included for
19
22
  convenience, when the library is not None its path replaces start.
20
23
  :type library: bpy.types.Library | None
@@ -29,13 +32,14 @@ def basename(path) -> str:
29
32
  :rtype: str
30
33
  """
31
34
 
32
- def clean_name(name, *, replace: str = "_") -> str:
35
+ def clean_name(name: bytes | str, *, replace: str = "_") -> str:
33
36
  """Returns a name with characters replaced that
34
37
  may cause problems under various circumstances,
35
38
  such as writing to a file.All characters besides A-Z/a-z, 0-9 are replaced with "_"
36
39
  or the replace argument if defined.
37
40
 
38
41
  :param name: The path name.
42
+ :type name: bytes | str
39
43
  :param replace: The replacement for non-valid characters.
40
44
  :type replace: str
41
45
  :return: The cleaned name.
@@ -90,16 +94,17 @@ def ensure_ext(filepath: str, ext: str, *, case_sensitive: bool = False) -> str:
90
94
  :rtype: str
91
95
  """
92
96
 
93
- def is_subdir(path, directory) -> bool:
97
+ def is_subdir(path: bytes | str, directory) -> bool:
94
98
  """Returns true if path in a subdirectory of directory.
95
99
  Both paths must be absolute.
96
100
 
97
101
  :param path: An absolute path.
102
+ :type path: bytes | str
98
103
  :return: Whether or not the path is a subdirectory.
99
104
  :rtype: bool
100
105
  """
101
106
 
102
- def module_names(path: str, *, recursive: bool = False, package: str = ""):
107
+ def module_names(path: str, *, recursive: bool = False, package: str = "") -> list[str]:
103
108
  """Return a list of modules which can be imported from path.
104
109
 
105
110
  :param path: a directory to scan.
@@ -109,6 +114,7 @@ def module_names(path: str, *, recursive: bool = False, package: str = ""):
109
114
  :param package: Optional string, used as the prefix for module names (without the trailing ".").
110
115
  :type package: str
111
116
  :return: a list of string pairs (module_name, module_file).
117
+ :rtype: list[str]
112
118
  """
113
119
 
114
120
  def native_pathsep(path: str) -> str:
@@ -120,21 +126,25 @@ def native_pathsep(path: str) -> str:
120
126
  :rtype: str
121
127
  """
122
128
 
123
- def reduce_dirs(dirs):
129
+ def reduce_dirs(dirs: collections.abc.Sequence[str]) -> list[str]:
124
130
  """Given a sequence of directories, remove duplicates and
125
131
  any directories nested in one of the other paths.
126
132
  (Useful for recursive path searching).
127
133
 
128
134
  :param dirs: Sequence of directory paths.
135
+ :type dirs: collections.abc.Sequence[str]
129
136
  :return: A unique list of paths.
137
+ :rtype: list[str]
130
138
  """
131
139
 
132
- def relpath(path, *, start=None) -> str:
140
+ def relpath(path: bytes | str, *, start: bytes | str | None = None) -> str:
133
141
  """Returns the path relative to the current blend file using the "//" prefix.
134
142
 
135
143
  :param path: An absolute path.
144
+ :type path: bytes | str
136
145
  :param start: Relative to this path,
137
146
  when not set the current filename is used.
147
+ :type start: bytes | str | None
138
148
  :return: The relative path.
139
149
  :rtype: str
140
150
  """