fake-bge-module 20250103__py3-none-any.whl → 20250201__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 (153) 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_console_utils/autocomplete/complete_calltip/__init__.pyi +5 -2
  8. bl_console_utils/autocomplete/complete_import/__init__.pyi +6 -3
  9. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
  10. bl_console_utils/autocomplete/intellisense/__init__.pyi +8 -2
  11. bl_operators/node/__init__.pyi +78 -0
  12. bl_ui/anim/__init__.pyi +6 -0
  13. bl_ui/generic_ui_list/__init__.pyi +2 -2
  14. bl_ui/node_add_menu_shader/__init__.pyi +0 -1
  15. bl_ui/node_add_menu_texture/__init__.pyi +1 -0
  16. bl_ui/properties_data_camera/__init__.pyi +0 -2
  17. bl_ui/properties_mask_common/__init__.pyi +17 -0
  18. bl_ui/properties_material_gpencil/__init__.pyi +29 -0
  19. bl_ui/properties_scene/__init__.pyi +6 -0
  20. bl_ui/properties_view_layer/__init__.pyi +1 -0
  21. bl_ui/space_clip/__init__.pyi +53 -0
  22. bl_ui/space_graph/__init__.pyi +2 -0
  23. bl_ui/space_image/__init__.pyi +25 -0
  24. bl_ui/space_node/__init__.pyi +0 -1
  25. bl_ui/space_sequencer/__init__.pyi +2 -1
  26. blf/__init__.pyi +6 -3
  27. bmesh/ops/__init__.pyi +111 -54
  28. bmesh/types/__init__.pyi +134 -46
  29. bmesh/utils/__init__.pyi +17 -5
  30. bpy/__init__.pyi +1 -2
  31. bpy/_typing/__init__.pyi +4 -0
  32. bpy/{typing → _typing/rna_enums}/__init__.pyi +36 -36
  33. bpy/app/__init__.pyi +13 -5
  34. bpy/app/handlers/__init__.pyi +4 -2
  35. bpy/app/icons/__init__.pyi +6 -2
  36. bpy/app/translations/__init__.pyi +17 -8
  37. bpy/msgbus/__init__.pyi +14 -2
  38. bpy/ops/action/__init__.pyi +51 -151
  39. bpy/ops/anim/__init__.pyi +61 -179
  40. bpy/ops/armature/__init__.pyi +48 -147
  41. bpy/ops/asset/__init__.pyi +16 -71
  42. bpy/ops/boid/__init__.pyi +11 -44
  43. bpy/ops/brush/__init__.pyi +16 -42
  44. bpy/ops/buttons/__init__.pyi +6 -29
  45. bpy/ops/cachefile/__init__.pyi +5 -19
  46. bpy/ops/camera/__init__.pyi +2 -5
  47. bpy/ops/clip/__init__.pyi +95 -293
  48. bpy/ops/cloth/__init__.pyi +1 -3
  49. bpy/ops/collection/__init__.pyi +10 -26
  50. bpy/ops/console/__init__.pyi +21 -79
  51. bpy/ops/constraint/__init__.pyi +18 -45
  52. bpy/ops/curve/__init__.pyi +57 -186
  53. bpy/ops/curves/__init__.pyi +37 -109
  54. bpy/ops/cycles/__init__.pyi +3 -9
  55. bpy/ops/dpaint/__init__.pyi +8 -22
  56. bpy/ops/ed/__init__.pyi +20 -52
  57. bpy/ops/export_anim/__init__.pyi +1 -3
  58. bpy/ops/export_scene/__init__.pyi +55 -32
  59. bpy/ops/extensions/__init__.pyi +34 -110
  60. bpy/ops/file/__init__.pyi +40 -167
  61. bpy/ops/fluid/__init__.pyi +14 -77
  62. bpy/ops/font/__init__.pyi +23 -85
  63. bpy/ops/geometry/__init__.pyi +29 -46
  64. bpy/ops/gizmogroup/__init__.pyi +2 -9
  65. bpy/ops/gpencil/__init__.pyi +8 -32
  66. bpy/ops/graph/__init__.pyi +82 -201
  67. bpy/ops/grease_pencil/__init__.pyi +125 -324
  68. bpy/ops/image/__init__.pyi +61 -163
  69. bpy/ops/import_anim/__init__.pyi +1 -3
  70. bpy/ops/import_curve/__init__.pyi +1 -3
  71. bpy/ops/import_scene/__init__.pyi +4 -6
  72. bpy/ops/info/__init__.pyi +7 -29
  73. bpy/ops/lattice/__init__.pyi +11 -32
  74. bpy/ops/logic/__init__.pyi +26 -65
  75. bpy/ops/marker/__init__.pyi +11 -31
  76. bpy/ops/mask/__init__.pyi +39 -132
  77. bpy/ops/material/__init__.pyi +3 -19
  78. bpy/ops/mball/__init__.pyi +8 -19
  79. bpy/ops/mesh/__init__.pyi +223 -470
  80. bpy/ops/nla/__init__.pyi +42 -150
  81. bpy/ops/node/__init__.pyi +169 -393
  82. bpy/ops/object/__init__.pyi +320 -749
  83. bpy/ops/outliner/__init__.pyi +76 -268
  84. bpy/ops/paint/__init__.pyi +67 -147
  85. bpy/ops/paintcurve/__init__.pyi +8 -33
  86. bpy/ops/palette/__init__.pyi +7 -27
  87. bpy/ops/particle/__init__.pyi +39 -134
  88. bpy/ops/pose/__init__.pyi +64 -182
  89. bpy/ops/poselib/__init__.pyi +9 -33
  90. bpy/ops/preferences/__init__.pyi +35 -94
  91. bpy/ops/ptcache/__init__.pyi +7 -33
  92. bpy/ops/render/__init__.pyi +13 -37
  93. bpy/ops/rigidbody/__init__.pyi +22 -54
  94. bpy/ops/scene/__init__.pyi +47 -130
  95. bpy/ops/screen/__init__.pyi +46 -144
  96. bpy/ops/script/__init__.pyi +3 -11
  97. bpy/ops/sculpt/__init__.pyi +40 -94
  98. bpy/ops/sculpt_curves/__init__.pyi +4 -10
  99. bpy/ops/sequencer/__init__.pyi +104 -327
  100. bpy/ops/sound/__init__.pyi +17 -28
  101. bpy/ops/spreadsheet/__init__.pyi +4 -15
  102. bpy/ops/surface/__init__.pyi +6 -13
  103. bpy/ops/text/__init__.pyi +43 -175
  104. bpy/ops/text_editor/__init__.pyi +1 -3
  105. bpy/ops/texture/__init__.pyi +4 -21
  106. bpy/ops/transform/__init__.pyi +114 -134
  107. bpy/ops/ui/__init__.pyi +39 -120
  108. bpy/ops/uilist/__init__.pyi +3 -7
  109. bpy/ops/uv/__init__.pyi +58 -143
  110. bpy/ops/view2d/__init__.pyi +14 -39
  111. bpy/ops/view3d/__init__.pyi +68 -238
  112. bpy/ops/wm/__init__.pyi +178 -319
  113. bpy/ops/workspace/__init__.pyi +7 -33
  114. bpy/ops/world/__init__.pyi +2 -11
  115. bpy/path/__init__.pyi +16 -6
  116. bpy/props/__init__.pyi +157 -127
  117. bpy/types/__init__.pyi +35227 -34838
  118. bpy/utils/__init__.pyi +71 -25
  119. bpy/utils/previews/__init__.pyi +2 -1
  120. bpy/utils/units/__init__.pyi +2 -1
  121. bpy_extras/anim_utils/__init__.pyi +11 -3
  122. bpy_extras/bmesh_utils/__init__.pyi +2 -1
  123. bpy_extras/image_utils/__init__.pyi +5 -2
  124. bpy_extras/io_utils/__init__.pyi +12 -5
  125. bpy_extras/mesh_utils/__init__.pyi +27 -6
  126. bpy_extras/object_utils/__init__.pyi +6 -5
  127. bpy_extras/view3d_utils/__init__.pyi +9 -2
  128. {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/METADATA +3 -3
  129. {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/RECORD +153 -152
  130. {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/WHEEL +1 -1
  131. freestyle/chainingiterators/__init__.pyi +7 -2
  132. freestyle/functions/__init__.pyi +16 -4
  133. freestyle/shaders/__init__.pyi +5 -1
  134. freestyle/types/__init__.pyi +103 -30
  135. freestyle/utils/ContextFunctions/__init__.pyi +2 -2
  136. freestyle/utils/__init__.pyi +2 -1
  137. gpu/capabilities/__init__.pyi +2 -1
  138. gpu/matrix/__init__.pyi +4 -2
  139. gpu/state/__init__.pyi +2 -2
  140. gpu/types/__init__.pyi +40 -8
  141. gpu_extras/batch/__init__.pyi +13 -1
  142. gpu_extras/presets/__init__.pyi +10 -1
  143. idprop/types/__init__.pyi +4 -2
  144. imbuf/__init__.pyi +6 -3
  145. imbuf/types/__init__.pyi +5 -2
  146. mathutils/__init__.pyi +126 -35
  147. mathutils/bvhtree/__init__.pyi +21 -6
  148. mathutils/geometry/__init__.pyi +68 -22
  149. mathutils/interpolate/__init__.pyi +5 -1
  150. mathutils/kdtree/__init__.pyi +21 -8
  151. mathutils/noise/__init__.pyi +2 -1
  152. rna_info/__init__.pyi +2 -1
  153. {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/top_level.txt +0 -0
@@ -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
  """