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.

Files changed (115) hide show
  1. addon_utils/__init__.pyi +2 -1
  2. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +5 -2
  3. bl_console_utils/autocomplete/complete_import/__init__.pyi +6 -3
  4. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
  5. bl_console_utils/autocomplete/intellisense/__init__.pyi +8 -2
  6. blf/__init__.pyi +2 -1
  7. bmesh/ops/__init__.pyi +110 -53
  8. bmesh/types/__init__.pyi +18 -10
  9. bmesh/utils/__init__.pyi +14 -4
  10. bpy/app/icons/__init__.pyi +4 -1
  11. bpy/app/translations/__init__.pyi +4 -1
  12. bpy/msgbus/__init__.pyi +8 -5
  13. bpy/ops/action/__init__.pyi +38 -138
  14. bpy/ops/anim/__init__.pyi +61 -179
  15. bpy/ops/armature/__init__.pyi +48 -147
  16. bpy/ops/asset/__init__.pyi +16 -71
  17. bpy/ops/boid/__init__.pyi +8 -41
  18. bpy/ops/brush/__init__.pyi +13 -39
  19. bpy/ops/buttons/__init__.pyi +6 -29
  20. bpy/ops/cachefile/__init__.pyi +5 -19
  21. bpy/ops/camera/__init__.pyi +2 -5
  22. bpy/ops/clip/__init__.pyi +92 -290
  23. bpy/ops/cloth/__init__.pyi +1 -3
  24. bpy/ops/collection/__init__.pyi +9 -25
  25. bpy/ops/console/__init__.pyi +21 -79
  26. bpy/ops/constraint/__init__.pyi +18 -45
  27. bpy/ops/curve/__init__.pyi +51 -180
  28. bpy/ops/curves/__init__.pyi +28 -100
  29. bpy/ops/cycles/__init__.pyi +3 -9
  30. bpy/ops/dpaint/__init__.pyi +5 -19
  31. bpy/ops/ed/__init__.pyi +12 -53
  32. bpy/ops/export_anim/__init__.pyi +1 -3
  33. bpy/ops/export_scene/__init__.pyi +2 -5
  34. bpy/ops/extensions/__init__.pyi +34 -110
  35. bpy/ops/file/__init__.pyi +40 -167
  36. bpy/ops/fluid/__init__.pyi +14 -77
  37. bpy/ops/font/__init__.pyi +23 -85
  38. bpy/ops/geometry/__init__.pyi +10 -27
  39. bpy/ops/gizmogroup/__init__.pyi +2 -9
  40. bpy/ops/gpencil/__init__.pyi +8 -32
  41. bpy/ops/graph/__init__.pyi +65 -184
  42. bpy/ops/grease_pencil/__init__.pyi +108 -290
  43. bpy/ops/image/__init__.pyi +49 -154
  44. bpy/ops/import_anim/__init__.pyi +1 -3
  45. bpy/ops/import_curve/__init__.pyi +1 -3
  46. bpy/ops/import_scene/__init__.pyi +2 -4
  47. bpy/ops/info/__init__.pyi +7 -29
  48. bpy/ops/lattice/__init__.pyi +8 -29
  49. bpy/ops/marker/__init__.pyi +11 -31
  50. bpy/ops/mask/__init__.pyi +39 -132
  51. bpy/ops/material/__init__.pyi +3 -19
  52. bpy/ops/mball/__init__.pyi +8 -19
  53. bpy/ops/mesh/__init__.pyi +164 -401
  54. bpy/ops/nla/__init__.pyi +39 -147
  55. bpy/ops/node/__init__.pyi +115 -390
  56. bpy/ops/object/__init__.pyi +237 -630
  57. bpy/ops/outliner/__init__.pyi +71 -263
  58. bpy/ops/paint/__init__.pyi +54 -140
  59. bpy/ops/paintcurve/__init__.pyi +8 -33
  60. bpy/ops/palette/__init__.pyi +7 -27
  61. bpy/ops/particle/__init__.pyi +36 -134
  62. bpy/ops/pose/__init__.pyi +51 -169
  63. bpy/ops/poselib/__init__.pyi +9 -33
  64. bpy/ops/preferences/__init__.pyi +35 -94
  65. bpy/ops/ptcache/__init__.pyi +7 -33
  66. bpy/ops/render/__init__.pyi +13 -37
  67. bpy/ops/rigidbody/__init__.pyi +13 -45
  68. bpy/ops/scene/__init__.pyi +37 -121
  69. bpy/ops/screen/__init__.pyi +39 -137
  70. bpy/ops/script/__init__.pyi +3 -11
  71. bpy/ops/sculpt/__init__.pyi +37 -94
  72. bpy/ops/sculpt_curves/__init__.pyi +4 -10
  73. bpy/ops/sequencer/__init__.pyi +89 -284
  74. bpy/ops/sound/__init__.pyi +7 -23
  75. bpy/ops/spreadsheet/__init__.pyi +4 -15
  76. bpy/ops/surface/__init__.pyi +6 -13
  77. bpy/ops/text/__init__.pyi +43 -175
  78. bpy/ops/text_editor/__init__.pyi +1 -3
  79. bpy/ops/texture/__init__.pyi +4 -21
  80. bpy/ops/transform/__init__.pyi +27 -61
  81. bpy/ops/ui/__init__.pyi +34 -117
  82. bpy/ops/uilist/__init__.pyi +3 -7
  83. bpy/ops/uv/__init__.pyi +49 -134
  84. bpy/ops/view2d/__init__.pyi +14 -39
  85. bpy/ops/view3d/__init__.pyi +67 -232
  86. bpy/ops/wm/__init__.pyi +114 -298
  87. bpy/ops/workspace/__init__.pyi +7 -33
  88. bpy/ops/world/__init__.pyi +2 -11
  89. bpy/path/__init__.pyi +4 -2
  90. bpy/types/__init__.pyi +68 -32
  91. bpy/utils/__init__.pyi +18 -9
  92. bpy_extras/bmesh_utils/__init__.pyi +2 -1
  93. bpy_extras/io_utils/__init__.pyi +7 -2
  94. bpy_extras/mesh_utils/__init__.pyi +19 -7
  95. bpy_extras/view3d_utils/__init__.pyi +2 -2
  96. {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/METADATA +1 -1
  97. {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/RECORD +115 -115
  98. freestyle/functions/__init__.pyi +16 -4
  99. freestyle/types/__init__.pyi +60 -23
  100. freestyle/utils/ContextFunctions/__init__.pyi +2 -2
  101. gpu/capabilities/__init__.pyi +2 -1
  102. gpu/state/__init__.pyi +2 -2
  103. gpu/types/__init__.pyi +2 -2
  104. gpu_extras/batch/__init__.pyi +6 -3
  105. idprop/types/__init__.pyi +4 -3
  106. imbuf/__init__.pyi +2 -1
  107. imbuf/types/__init__.pyi +5 -2
  108. mathutils/__init__.pyi +25 -14
  109. mathutils/bvhtree/__init__.pyi +8 -7
  110. mathutils/geometry/__init__.pyi +38 -17
  111. mathutils/interpolate/__init__.pyi +2 -1
  112. mathutils/kdtree/__init__.pyi +11 -6
  113. mathutils/noise/__init__.pyi +2 -1
  114. {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/WHEEL +0 -0
  115. {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(line: str, cursor: int, namespace) -> str:
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(line: str, cursor: int, namespace: dict, private: bool):
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(line: str, cursor: int, namespace, *, private: bool = True) -> int | str:
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):