fake-bpy-module 20241207__py3-none-any.whl → 20241209__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.
- addon_utils/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +5 -2
- bl_console_utils/autocomplete/complete_import/__init__.pyi +6 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +8 -2
- blf/__init__.pyi +2 -1
- bmesh/ops/__init__.pyi +110 -53
- bmesh/types/__init__.pyi +18 -10
- bmesh/utils/__init__.pyi +14 -4
- bpy/app/icons/__init__.pyi +4 -1
- bpy/app/translations/__init__.pyi +4 -1
- bpy/msgbus/__init__.pyi +8 -5
- bpy/ops/action/__init__.pyi +38 -138
- bpy/ops/anim/__init__.pyi +61 -179
- bpy/ops/armature/__init__.pyi +48 -147
- bpy/ops/asset/__init__.pyi +16 -71
- bpy/ops/boid/__init__.pyi +8 -41
- bpy/ops/brush/__init__.pyi +13 -39
- bpy/ops/buttons/__init__.pyi +6 -29
- bpy/ops/cachefile/__init__.pyi +5 -19
- bpy/ops/camera/__init__.pyi +2 -5
- bpy/ops/clip/__init__.pyi +92 -290
- bpy/ops/cloth/__init__.pyi +1 -3
- bpy/ops/collection/__init__.pyi +9 -25
- bpy/ops/console/__init__.pyi +21 -79
- bpy/ops/constraint/__init__.pyi +18 -45
- bpy/ops/curve/__init__.pyi +51 -180
- bpy/ops/curves/__init__.pyi +28 -100
- bpy/ops/cycles/__init__.pyi +3 -9
- bpy/ops/dpaint/__init__.pyi +5 -19
- bpy/ops/ed/__init__.pyi +12 -53
- bpy/ops/export_anim/__init__.pyi +1 -3
- bpy/ops/export_scene/__init__.pyi +2 -5
- bpy/ops/extensions/__init__.pyi +34 -110
- bpy/ops/file/__init__.pyi +40 -167
- bpy/ops/fluid/__init__.pyi +14 -77
- bpy/ops/font/__init__.pyi +23 -85
- bpy/ops/geometry/__init__.pyi +10 -27
- bpy/ops/gizmogroup/__init__.pyi +2 -9
- bpy/ops/gpencil/__init__.pyi +8 -32
- bpy/ops/graph/__init__.pyi +65 -184
- bpy/ops/grease_pencil/__init__.pyi +108 -290
- bpy/ops/image/__init__.pyi +49 -154
- bpy/ops/import_anim/__init__.pyi +1 -3
- bpy/ops/import_curve/__init__.pyi +1 -3
- bpy/ops/import_scene/__init__.pyi +2 -4
- bpy/ops/info/__init__.pyi +7 -29
- bpy/ops/lattice/__init__.pyi +8 -29
- bpy/ops/marker/__init__.pyi +11 -31
- bpy/ops/mask/__init__.pyi +39 -132
- bpy/ops/material/__init__.pyi +3 -19
- bpy/ops/mball/__init__.pyi +8 -19
- bpy/ops/mesh/__init__.pyi +164 -401
- bpy/ops/nla/__init__.pyi +39 -147
- bpy/ops/node/__init__.pyi +115 -390
- bpy/ops/object/__init__.pyi +237 -630
- bpy/ops/outliner/__init__.pyi +71 -263
- bpy/ops/paint/__init__.pyi +54 -140
- bpy/ops/paintcurve/__init__.pyi +8 -33
- bpy/ops/palette/__init__.pyi +7 -27
- bpy/ops/particle/__init__.pyi +36 -134
- bpy/ops/pose/__init__.pyi +51 -169
- bpy/ops/poselib/__init__.pyi +9 -33
- bpy/ops/preferences/__init__.pyi +35 -94
- bpy/ops/ptcache/__init__.pyi +7 -33
- bpy/ops/render/__init__.pyi +13 -37
- bpy/ops/rigidbody/__init__.pyi +13 -45
- bpy/ops/scene/__init__.pyi +37 -121
- bpy/ops/screen/__init__.pyi +39 -137
- bpy/ops/script/__init__.pyi +3 -11
- bpy/ops/sculpt/__init__.pyi +37 -94
- bpy/ops/sculpt_curves/__init__.pyi +4 -10
- bpy/ops/sequencer/__init__.pyi +89 -284
- bpy/ops/sound/__init__.pyi +7 -23
- bpy/ops/spreadsheet/__init__.pyi +4 -15
- bpy/ops/surface/__init__.pyi +6 -13
- bpy/ops/text/__init__.pyi +43 -175
- bpy/ops/text_editor/__init__.pyi +1 -3
- bpy/ops/texture/__init__.pyi +4 -21
- bpy/ops/transform/__init__.pyi +27 -61
- bpy/ops/ui/__init__.pyi +34 -117
- bpy/ops/uilist/__init__.pyi +3 -7
- bpy/ops/uv/__init__.pyi +49 -134
- bpy/ops/view2d/__init__.pyi +14 -39
- bpy/ops/view3d/__init__.pyi +67 -232
- bpy/ops/wm/__init__.pyi +114 -298
- bpy/ops/workspace/__init__.pyi +7 -33
- bpy/ops/world/__init__.pyi +2 -11
- bpy/path/__init__.pyi +4 -2
- bpy/types/__init__.pyi +68 -32
- bpy/utils/__init__.pyi +18 -9
- bpy_extras/bmesh_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +7 -2
- bpy_extras/mesh_utils/__init__.pyi +19 -7
- bpy_extras/view3d_utils/__init__.pyi +2 -2
- {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/METADATA +1 -1
- {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/RECORD +115 -115
- freestyle/functions/__init__.pyi +16 -4
- freestyle/types/__init__.pyi +60 -23
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- gpu/capabilities/__init__.pyi +2 -1
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +2 -2
- gpu_extras/batch/__init__.pyi +6 -3
- idprop/types/__init__.pyi +4 -3
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +5 -2
- mathutils/__init__.pyi +25 -14
- mathutils/bvhtree/__init__.pyi +8 -7
- mathutils/geometry/__init__.pyi +38 -17
- mathutils/interpolate/__init__.pyi +2 -1
- mathutils/kdtree/__init__.pyi +11 -6
- mathutils/noise/__init__.pyi +2 -1
- {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/top_level.txt +0 -0
addon_utils/__init__.pyi
CHANGED
|
@@ -6,12 +6,13 @@ class _ext_global:
|
|
|
6
6
|
idmap_pair: typing.Any
|
|
7
7
|
module_handle: typing.Any
|
|
8
8
|
|
|
9
|
-
def check(module_name: str):
|
|
9
|
+
def check(module_name: str) -> tuple[bool, bool]:
|
|
10
10
|
"""Returns the loaded state of the addon.
|
|
11
11
|
|
|
12
12
|
:param module_name: The name of the addon and module.
|
|
13
13
|
:type module_name: str
|
|
14
14
|
:return: (loaded_default, loaded_state)
|
|
15
|
+
:rtype: tuple[bool, bool]
|
|
15
16
|
"""
|
|
16
17
|
|
|
17
18
|
def check_extension(module_name):
|
|
@@ -2,7 +2,9 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
def complete(
|
|
5
|
+
def complete(
|
|
6
|
+
line: str, cursor: int, namespace: dict[str, typing.Any]
|
|
7
|
+
) -> tuple[str, str, str]:
|
|
6
8
|
"""Complete callable with call-tip.
|
|
7
9
|
|
|
8
10
|
:param line: incomplete text line
|
|
@@ -10,8 +12,9 @@ def complete(line: str, cursor: int, namespace) -> str:
|
|
|
10
12
|
:param cursor: current character position
|
|
11
13
|
:type cursor: int
|
|
12
14
|
:param namespace: namespace
|
|
15
|
+
:type namespace: dict[str, typing.Any]
|
|
13
16
|
:return: (matches, world, scrollback)
|
|
14
|
-
:rtype: str
|
|
17
|
+
:rtype: tuple[str, str, str]
|
|
15
18
|
"""
|
|
16
19
|
|
|
17
20
|
def get_argspec(
|
|
@@ -2,7 +2,7 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
def complete(line: str):
|
|
5
|
+
def complete(line: str) -> list[str]:
|
|
6
6
|
"""Returns a list containing the completion possibilities for an import line.
|
|
7
7
|
|
|
8
8
|
:param line: incomplete line which contains an import statement:
|
|
@@ -11,20 +11,23 @@ def complete(line: str):
|
|
|
11
11
|
from xml.dom import
|
|
12
12
|
:type line: str
|
|
13
13
|
:return: list of completion possibilities
|
|
14
|
+
:rtype: list[str]
|
|
14
15
|
"""
|
|
15
16
|
|
|
16
|
-
def get_root_modules():
|
|
17
|
+
def get_root_modules() -> list:
|
|
17
18
|
"""Returns a list containing the names of all the modules available in the
|
|
18
19
|
folders of the python-path.
|
|
19
20
|
|
|
20
21
|
:return: modules
|
|
22
|
+
:rtype: list
|
|
21
23
|
"""
|
|
22
24
|
|
|
23
|
-
def module_list(path: str):
|
|
25
|
+
def module_list(path: str) -> list:
|
|
24
26
|
"""Return the list containing the names of the modules available in
|
|
25
27
|
the given folder.
|
|
26
28
|
|
|
27
29
|
:param path: folder path
|
|
28
30
|
:type path: str
|
|
29
31
|
:return: modules
|
|
32
|
+
:rtype: list
|
|
30
33
|
"""
|
|
@@ -32,12 +32,13 @@ def complete_indices(
|
|
|
32
32
|
:rtype: list[str]
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
|
-
def complete_names(word: str, namespace) -> list[str]:
|
|
35
|
+
def complete_names(word: str, namespace: dict[str, typing.Any]) -> list[str]:
|
|
36
36
|
"""Complete variable names or attributes
|
|
37
37
|
|
|
38
38
|
:param word: word to be completed
|
|
39
39
|
:type word: str
|
|
40
40
|
:param namespace: namespace
|
|
41
|
+
:type namespace: dict[str, typing.Any]
|
|
41
42
|
:return: completion matches
|
|
42
43
|
:rtype: list[str]
|
|
43
44
|
"""
|
|
@@ -2,7 +2,9 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
4
|
|
|
5
|
-
def complete(
|
|
5
|
+
def complete(
|
|
6
|
+
line: str, cursor: int, namespace: dict, private: bool
|
|
7
|
+
) -> tuple[list[str], str]:
|
|
6
8
|
"""Returns a list of possible completions:
|
|
7
9
|
|
|
8
10
|
:param line: incomplete text line
|
|
@@ -14,9 +16,12 @@ def complete(line: str, cursor: int, namespace: dict, private: bool):
|
|
|
14
16
|
:param private: whether private variables should be listed
|
|
15
17
|
:type private: bool
|
|
16
18
|
:return: list of completions, word
|
|
19
|
+
:rtype: tuple[list[str], str]
|
|
17
20
|
"""
|
|
18
21
|
|
|
19
|
-
def expand(
|
|
22
|
+
def expand(
|
|
23
|
+
line: str, cursor: int, namespace: dict[str, typing.Any], *, private: bool = True
|
|
24
|
+
) -> int | str:
|
|
20
25
|
"""This method is invoked when the user asks auto-completion,
|
|
21
26
|
e.g. when Ctrl+Space is clicked.
|
|
22
27
|
|
|
@@ -25,6 +30,7 @@ def expand(line: str, cursor: int, namespace, *, private: bool = True) -> int |
|
|
|
25
30
|
:param cursor: current character position
|
|
26
31
|
:type cursor: int
|
|
27
32
|
:param namespace: namespace
|
|
33
|
+
:type namespace: dict[str, typing.Any]
|
|
28
34
|
:param private: whether private variables should be listed
|
|
29
35
|
:type private: bool
|
|
30
36
|
:return: current expanded line, updated cursor position and scrollback
|
blf/__init__.pyi
CHANGED
|
@@ -54,7 +54,7 @@ def color(fontid: int, r: float, g: float, b: float, a: float):
|
|
|
54
54
|
:type a: float
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
|
-
def dimensions(fontid: int, text: str):
|
|
57
|
+
def dimensions(fontid: int, text: str) -> tuple[float, float]:
|
|
58
58
|
"""Return the width and height of the text.
|
|
59
59
|
|
|
60
60
|
:param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
|
|
@@ -62,6 +62,7 @@ def dimensions(fontid: int, text: str):
|
|
|
62
62
|
:param text: the text to draw.
|
|
63
63
|
:type text: str
|
|
64
64
|
:return: the width and height of the text.
|
|
65
|
+
:rtype: tuple[float, float]
|
|
65
66
|
"""
|
|
66
67
|
|
|
67
68
|
def disable(fontid: int, option: int):
|