fake-bpy-module 20240517__py3-none-any.whl → 20240519__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.
- _bpy_internal/__init__.pyi +2 -1
- _bpy_internal/freedesktop/__init__.pyi +20 -86
- addon_utils/__init__.pyi +7 -31
- animsys_refactor/__init__.pyi +7 -26
- aud/__init__.pyi +3 -5
- bgl/__init__.pyi +2 -1630
- bl_app_override/__init__.pyi +5 -15
- bl_app_override/helpers/__init__.pyi +4 -23
- bl_app_template_utils/__init__.pyi +5 -16
- bl_console_utils/__init__.pyi +2 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
- bl_i18n_utils/__init__.pyi +2 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +15 -65
- bl_i18n_utils/merge_po/__init__.pyi +3 -5
- bl_i18n_utils/settings/__init__.pyi +4 -23
- bl_i18n_utils/utils/__init__.pyi +10 -66
- bl_i18n_utils/utils_cli/__init__.pyi +9 -31
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -5
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
- bl_keymap_utils/__init__.pyi +2 -1
- bl_keymap_utils/io/__init__.pyi +10 -40
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -5
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -6
- bl_keymap_utils/versioning/__init__.pyi +3 -5
- bl_math/__init__.pyi +2 -1
- bl_operators/__init__.pyi +4 -10
- bl_operators/add_mesh_torus/__init__.pyi +4 -19
- bl_operators/anim/__init__.pyi +2 -71
- bl_operators/assets/__init__.pyi +2 -30
- bl_operators/bmesh/__init__.pyi +2 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +9 -35
- bl_operators/clip/__init__.pyi +7 -115
- bl_operators/console/__init__.pyi +2 -38
- bl_operators/constraint/__init__.pyi +2 -37
- bl_operators/file/__init__.pyi +2 -28
- bl_operators/freestyle/__init__.pyi +2 -37
- bl_operators/geometry_nodes/__init__.pyi +15 -103
- bl_operators/image/__init__.pyi +2 -52
- bl_operators/mesh/__init__.pyi +2 -28
- bl_operators/node/__init__.pyi +2 -105
- bl_operators/object/__init__.pyi +2 -138
- bl_operators/object_align/__init__.pyi +5 -24
- bl_operators/object_quick_effects/__init__.pyi +4 -49
- bl_operators/object_randomize_transform/__init__.pyi +5 -14
- bl_operators/presets/__init__.pyi +4 -376
- bl_operators/rigidbody/__init__.pyi +2 -28
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -14
- bl_operators/sequencer/__init__.pyi +3 -104
- bl_operators/spreadsheet/__init__.pyi +2 -10
- bl_operators/userpref/__init__.pyi +3 -201
- bl_operators/uvcalc_follow_active/__init__.pyi +4 -19
- bl_operators/uvcalc_lightmap/__init__.pyi +4 -34
- bl_operators/uvcalc_transform/__init__.pyi +13 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +4 -19
- bl_operators/view3d/__init__.pyi +2 -64
- bl_operators/wm/__init__.pyi +16 -451
- bl_operators/world/__init__.pyi +2 -10
- bl_previews_utils/__init__.pyi +2 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +10 -36
- bl_rna_utils/__init__.pyi +2 -1
- bl_rna_utils/data_path/__init__.pyi +2 -2
- bl_text_utils/__init__.pyi +2 -1
- bl_text_utils/external_editor/__init__.pyi +3 -5
- bl_ui/__init__.pyi +32 -141
- bl_ui/anim/__init__.pyi +3 -12
- bl_ui/asset_shelf/__init__.pyi +3 -16
- bl_ui/generic_ui_list/__init__.pyi +4 -31
- bl_ui/node_add_menu/__init__.pyi +6 -28
- bl_ui/node_add_menu_compositor/__init__.pyi +20 -237
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -629
- bl_ui/node_add_menu_shader/__init__.pyi +20 -170
- bl_ui/node_add_menu_texture/__init__.pyi +11 -118
- bl_ui/properties_animviz/__init__.pyi +2 -15
- bl_ui/properties_collection/__init__.pyi +9 -112
- bl_ui/properties_constraint/__init__.pyi +81 -1524
- bl_ui/properties_data_armature/__init__.pyi +14 -214
- bl_ui/properties_data_bone/__init__.pyi +12 -198
- bl_ui/properties_data_camera/__init__.pyi +17 -312
- bl_ui/properties_data_curve/__init__.pyi +17 -319
- bl_ui/properties_data_curves/__init__.pyi +8 -108
- bl_ui/properties_data_empty/__init__.pyi +4 -44
- bl_ui/properties_data_gpencil/__init__.pyi +20 -350
- bl_ui/properties_data_grease_pencil/__init__.pyi +16 -257
- bl_ui/properties_data_lattice/__init__.pyi +5 -65
- bl_ui/properties_data_light/__init__.pyi +14 -264
- bl_ui/properties_data_lightprobe/__init__.pyi +15 -277
- bl_ui/properties_data_mesh/__init__.pyi +23 -325
- bl_ui/properties_data_metaball/__init__.pyi +7 -103
- bl_ui/properties_data_modifier/__init__.pyi +10 -178
- bl_ui/properties_data_pointcloud/__init__.pyi +7 -89
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -27
- bl_ui/properties_data_speaker/__init__.pyi +7 -111
- bl_ui/properties_data_volume/__init__.pyi +10 -156
- bl_ui/properties_freestyle/__init__.pyi +31 -615
- bl_ui/properties_grease_pencil_common/__init__.pyi +17 -216
- bl_ui/properties_mask_common/__init__.pyi +10 -111
- bl_ui/properties_material/__init__.pyi +20 -331
- bl_ui/properties_material_gpencil/__init__.pyi +12 -182
- bl_ui/properties_object/__init__.pyi +16 -276
- bl_ui/properties_output/__init__.pyi +20 -370
- bl_ui/properties_paint_common/__init__.pyi +14 -106
- bl_ui/properties_particle/__init__.pyi +58 -1159
- bl_ui/properties_physics_cloth/__init__.pyi +17 -314
- bl_ui/properties_physics_common/__init__.pyi +9 -58
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +24 -490
- bl_ui/properties_physics_field/__init__.pyi +13 -218
- bl_ui/properties_physics_fluid/__init__.pyi +30 -626
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -20
- bl_ui/properties_physics_rigidbody/__init__.pyi +11 -188
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +15 -279
- bl_ui/properties_physics_softbody/__init__.pyi +18 -353
- bl_ui/properties_render/__init__.pyi +56 -1146
- bl_ui/properties_scene/__init__.pyi +17 -298
- bl_ui/properties_texture/__init__.pyi +30 -577
- bl_ui/properties_view_layer/__init__.pyi +20 -346
- bl_ui/properties_workspace/__init__.pyi +6 -80
- bl_ui/properties_world/__init__.pyi +12 -220
- bl_ui/space_clip/__init__.pyi +73 -1090
- bl_ui/space_console/__init__.pyi +9 -73
- bl_ui/space_dopesheet/__init__.pyi +33 -485
- bl_ui/space_filebrowser/__init__.pyi +36 -431
- bl_ui/space_graph/__init__.pyi +22 -237
- bl_ui/space_image/__init__.pyi +70 -1089
- bl_ui/space_info/__init__.pyi +8 -71
- bl_ui/space_nla/__init__.pyi +19 -210
- bl_ui/space_node/__init__.pyi +32 -436
- bl_ui/space_outliner/__init__.pyi +17 -165
- bl_ui/space_properties/__init__.pyi +5 -42
- bl_ui/space_sequencer/__init__.pyi +79 -1142
- bl_ui/space_spreadsheet/__init__.pyi +3 -12
- bl_ui/space_statusbar/__init__.pyi +3 -12
- bl_ui/space_text/__init__.pyi +18 -193
- bl_ui/space_time/__init__.pyi +10 -111
- bl_ui/space_toolsystem_common/__init__.pyi +42 -200
- bl_ui/space_toolsystem_toolbar/__init__.pyi +119 -863
- bl_ui/space_topbar/__init__.pyi +29 -335
- bl_ui/space_userpref/__init__.pyi +94 -1576
- bl_ui/space_view3d/__init__.pyi +271 -3438
- bl_ui/space_view3d_toolbar/__init__.pyi +95 -1899
- bl_ui/temp_anim_layers/__init__.pyi +4 -22
- bl_ui/utils/__init__.pyi +2 -8
- bl_ui_utils/__init__.pyi +2 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -5
- bl_ui_utils/layout/__init__.pyi +2 -1
- blend_render_info/__init__.pyi +4 -10
- blf/__init__.pyi +2 -1
- bmesh/__init__.pyi +2 -1
- bmesh/geometry/__init__.pyi +2 -1
- bmesh/ops/__init__.pyi +2 -1
- bmesh/types/__init__.pyi +29 -45
- bmesh/utils/__init__.pyi +2 -1
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +2 -1
- bpy/app/handlers/__init__.pyi +2 -1
- bpy/app/icons/__init__.pyi +2 -1
- bpy/app/timers/__init__.pyi +8 -15
- bpy/app/translations/__init__.pyi +2 -1
- bpy/msgbus/__init__.pyi +2 -1
- bpy/ops/__init__.pyi +2 -1
- bpy/ops/action/__init__.pyi +22 -21
- bpy/ops/anim/__init__.pyi +32 -31
- bpy/ops/armature/__init__.pyi +22 -21
- bpy/ops/asset/__init__.pyi +8 -7
- bpy/ops/bl_pkg/__init__.pyi +4 -3
- bpy/ops/boid/__init__.pyi +2 -1
- bpy/ops/brush/__init__.pyi +10 -9
- bpy/ops/buttons/__init__.pyi +10 -9
- bpy/ops/cachefile/__init__.pyi +12 -11
- bpy/ops/camera/__init__.pyi +2 -1
- bpy/ops/clip/__init__.pyi +38 -37
- bpy/ops/cloth/__init__.pyi +2 -1
- bpy/ops/collection/__init__.pyi +8 -7
- bpy/ops/console/__init__.pyi +8 -7
- bpy/ops/constraint/__init__.pyi +30 -29
- bpy/ops/curve/__init__.pyi +32 -31
- bpy/ops/curves/__init__.pyi +10 -9
- bpy/ops/cycles/__init__.pyi +2 -1
- bpy/ops/dpaint/__init__.pyi +4 -3
- bpy/ops/ed/__init__.pyi +6 -5
- bpy/ops/export_anim/__init__.pyi +4 -3
- bpy/ops/export_scene/__init__.pyi +40 -39
- bpy/ops/file/__init__.pyi +20 -19
- bpy/ops/fluid/__init__.pyi +2 -1
- bpy/ops/font/__init__.pyi +22 -21
- bpy/ops/geometry/__init__.pyi +4 -3
- bpy/ops/gizmogroup/__init__.pyi +2 -1
- bpy/ops/gpencil/__init__.pyi +134 -133
- bpy/ops/graph/__init__.pyi +40 -39
- bpy/ops/grease_pencil/__init__.pyi +42 -41
- bpy/ops/image/__init__.pyi +22 -21
- bpy/ops/import_anim/__init__.pyi +10 -9
- bpy/ops/import_curve/__init__.pyi +2 -1
- bpy/ops/import_scene/__init__.pyi +20 -19
- bpy/ops/info/__init__.pyi +6 -5
- bpy/ops/lattice/__init__.pyi +8 -7
- bpy/ops/marker/__init__.pyi +10 -9
- bpy/ops/mask/__init__.pyi +14 -13
- bpy/ops/material/__init__.pyi +2 -1
- bpy/ops/mball/__init__.pyi +8 -7
- bpy/ops/mesh/__init__.pyi +112 -111
- bpy/ops/nla/__init__.pyi +16 -15
- bpy/ops/node/__init__.pyi +32 -31
- bpy/ops/object/__init__.pyi +186 -185
- bpy/ops/outliner/__init__.pyi +38 -37
- bpy/ops/paint/__init__.pyi +50 -49
- bpy/ops/paintcurve/__init__.pyi +2 -1
- bpy/ops/palette/__init__.pyi +6 -5
- bpy/ops/particle/__init__.pyi +16 -15
- bpy/ops/pose/__init__.pyi +32 -31
- bpy/ops/poselib/__init__.pyi +2 -1
- bpy/ops/preferences/__init__.pyi +14 -13
- bpy/ops/ptcache/__init__.pyi +2 -1
- bpy/ops/render/__init__.pyi +4 -3
- bpy/ops/rigidbody/__init__.pyi +10 -9
- bpy/ops/scene/__init__.pyi +18 -17
- bpy/ops/screen/__init__.pyi +16 -15
- bpy/ops/script/__init__.pyi +2 -1
- bpy/ops/sculpt/__init__.pyi +68 -67
- bpy/ops/sculpt_curves/__init__.pyi +4 -3
- bpy/ops/sequencer/__init__.pyi +74 -73
- bpy/ops/sound/__init__.pyi +20 -19
- bpy/ops/spreadsheet/__init__.pyi +2 -1
- bpy/ops/surface/__init__.pyi +14 -13
- bpy/ops/text/__init__.pyi +24 -23
- bpy/ops/text_editor/__init__.pyi +2 -1
- bpy/ops/texture/__init__.pyi +4 -3
- bpy/ops/transform/__init__.pyi +32 -31
- bpy/ops/ui/__init__.pyi +8 -7
- bpy/ops/uilist/__init__.pyi +4 -3
- bpy/ops/uv/__init__.pyi +66 -65
- bpy/ops/view2d/__init__.pyi +2 -1
- bpy/ops/view3d/__init__.pyi +36 -35
- bpy/ops/wm/__init__.pyi +191 -187
- bpy/ops/workspace/__init__.pyi +2 -1
- bpy/ops/world/__init__.pyi +2 -1
- bpy/path/__init__.pyi +2 -1
- bpy/props/__init__.pyi +2 -1
- bpy/types/__init__.pyi +546 -4852
- bpy/utils/__init__.pyi +16 -71
- bpy/utils/previews/__init__.pyi +2 -1
- bpy/utils/units/__init__.pyi +2 -1
- bpy_extras/__init__.pyi +2 -1
- bpy_extras/anim_utils/__init__.pyi +2 -2
- bpy_extras/asset_utils/__init__.pyi +2 -11
- bpy_extras/bmesh_utils/__init__.pyi +3 -5
- bpy_extras/extensions/__init__.pyi +2 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -7
- bpy_extras/id_map_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +6 -25
- bpy_extras/keyconfig_utils/__init__.pyi +4 -10
- bpy_extras/mesh_utils/__init__.pyi +2 -1
- bpy_extras/node_shader_utils/__init__.pyi +46 -286
- bpy_extras/node_utils/__init__.pyi +4 -10
- bpy_extras/object_utils/__init__.pyi +2 -3
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +4 -29
- bpy_restrict_state/__init__.pyi +3 -15
- bpy_types/__init__.pyi +10 -275
- console_python/__init__.pyi +8 -37
- console_shell/__init__.pyi +8 -26
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
- fake_bpy_module-20240519.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +2 -1
- freestyle/chainingiterators/__init__.pyi +12 -41
- freestyle/functions/__init__.pyi +9 -34
- freestyle/predicates/__init__.pyi +46 -218
- freestyle/shaders/__init__.pyi +2 -11
- freestyle/types/__init__.pyi +2 -1
- freestyle/utils/ContextFunctions/__init__.pyi +2 -1
- freestyle/utils/__init__.pyi +5 -16
- gpu/__init__.pyi +2 -1
- gpu/capabilities/__init__.pyi +2 -1
- gpu/matrix/__init__.pyi +2 -1
- gpu/platform/__init__.pyi +2 -1
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +2 -1
- gpu/state/__init__.pyi +2 -1
- gpu/texture/__init__.pyi +2 -1
- gpu/types/__init__.pyi +2 -1
- gpu_extras/__init__.pyi +2 -1
- gpu_extras/batch/__init__.pyi +2 -1
- gpu_extras/presets/__init__.pyi +2 -1
- graphviz_export/__init__.pyi +4 -10
- idprop/__init__.pyi +2 -1
- idprop/types/__init__.pyi +8 -34
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +2 -3
- keyingsets_builtins/__init__.pyi +4 -157
- keyingsets_utils/__init__.pyi +17 -71
- mathutils/__init__.pyi +2 -1
- mathutils/bvhtree/__init__.pyi +2 -3
- mathutils/geometry/__init__.pyi +2 -1
- mathutils/interpolate/__init__.pyi +2 -1
- mathutils/kdtree/__init__.pyi +2 -1
- mathutils/noise/__init__.pyi +2 -1
- nodeitems_builtins/__init__.pyi +7 -31
- nodeitems_utils/__init__.pyi +10 -46
- rna_info/__init__.pyi +24 -201
- rna_keymap_ui/__init__.pyi +9 -31
- rna_prop_ui/__init__.pyi +11 -50
- rna_xml/__init__.pyi +8 -30
- sys_info/__init__.pyi +3 -5
- fake_bpy_module-20240517.dist-info/RECORD +0 -353
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
bl_app_override/__init__.pyi
CHANGED
|
@@ -1,25 +1,15 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
from . import helpers
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
def class_filter(cls_parent, kw):
|
|
7
|
-
""" """
|
|
8
|
-
|
|
9
|
-
...
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
10
6
|
|
|
7
|
+
def class_filter(cls_parent, kw): ...
|
|
11
8
|
def ui_draw_filter_register(
|
|
12
9
|
ui_ignore_classes=None,
|
|
13
10
|
ui_ignore_operator=None,
|
|
14
11
|
ui_ignore_property=None,
|
|
15
12
|
ui_ignore_menu=None,
|
|
16
13
|
ui_ignore_label=None,
|
|
17
|
-
):
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
...
|
|
21
|
-
|
|
22
|
-
def ui_draw_filter_unregister(ui_ignore_store):
|
|
23
|
-
""" """
|
|
24
|
-
|
|
25
|
-
...
|
|
14
|
+
): ...
|
|
15
|
+
def ui_draw_filter_unregister(ui_ignore_store): ...
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
class AppOverrideState:
|
|
6
7
|
"""Utility class to encapsulate overriding the application state
|
|
@@ -8,33 +9,13 @@ class AppOverrideState:
|
|
|
8
9
|
"""
|
|
9
10
|
|
|
10
11
|
addon_paths: typing.Any
|
|
11
|
-
""" """
|
|
12
|
-
|
|
13
12
|
addons: typing.Any
|
|
14
|
-
""" """
|
|
15
|
-
|
|
16
13
|
class_ignore: typing.Any
|
|
17
|
-
""" """
|
|
18
|
-
|
|
19
14
|
ui_ignore_classes: typing.Any
|
|
20
|
-
""" """
|
|
21
|
-
|
|
22
15
|
ui_ignore_label: typing.Any
|
|
23
|
-
""" """
|
|
24
|
-
|
|
25
16
|
ui_ignore_menu: typing.Any
|
|
26
|
-
""" """
|
|
27
|
-
|
|
28
17
|
ui_ignore_operator: typing.Any
|
|
29
|
-
""" """
|
|
30
|
-
|
|
31
18
|
ui_ignore_property: typing.Any
|
|
32
|
-
""" """
|
|
33
|
-
|
|
34
|
-
def setup(self):
|
|
35
|
-
""" """
|
|
36
|
-
...
|
|
37
19
|
|
|
38
|
-
def
|
|
39
|
-
|
|
40
|
-
...
|
|
20
|
+
def setup(self): ...
|
|
21
|
+
def teardown(self): ...
|
|
@@ -1,22 +1,11 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
def activate(template_id=None, reload_scripts=False):
|
|
6
|
-
""" """
|
|
7
|
-
|
|
8
|
-
...
|
|
9
|
-
|
|
10
|
-
def import_from_id(template_id, ignore_not_found=False):
|
|
11
|
-
""" """
|
|
12
|
-
|
|
13
|
-
...
|
|
14
|
-
|
|
15
|
-
def import_from_path(path, ignore_not_found=False):
|
|
16
|
-
""" """
|
|
17
|
-
|
|
18
|
-
...
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
19
5
|
|
|
6
|
+
def activate(template_id=None, reload_scripts=False): ...
|
|
7
|
+
def import_from_id(template_id, ignore_not_found=False): ...
|
|
8
|
+
def import_from_path(path, ignore_not_found=False): ...
|
|
20
9
|
def reset(reload_scripts=False):
|
|
21
10
|
"""Sets default state."""
|
|
22
11
|
|
bl_console_utils/__init__.pyi
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
def complete(line: str) -> list:
|
|
6
7
|
"""Returns a list containing the completion possibilities for an import line.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
def complete(word: str, namespace: dict, private: bool = True) -> list[str]:
|
|
6
7
|
"""Complete word within a namespace with the standard rlcompleter
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
def complete(line: str, cursor: int, namespace: dict, private: bool) -> list | str:
|
|
6
7
|
"""Returns a list of possible completions:
|
bl_i18n_utils/__init__.pyi
CHANGED
|
@@ -1,78 +1,28 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
def check(check_ctxt, msgs, key, msgsrc, settings):
|
|
6
7
|
"""Performs a set of checks over the given key (context, message)..."""
|
|
7
8
|
|
|
8
9
|
...
|
|
9
10
|
|
|
10
|
-
def dump_addon_bl_info(msgs, reports, module, settings):
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
def
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
...
|
|
19
|
-
|
|
20
|
-
def dump_asset_messages(msgs, reports, settings):
|
|
21
|
-
""" """
|
|
22
|
-
|
|
23
|
-
...
|
|
24
|
-
|
|
25
|
-
def dump_messages(do_messages, do_checks, settings):
|
|
26
|
-
""" """
|
|
27
|
-
|
|
28
|
-
...
|
|
29
|
-
|
|
30
|
-
def dump_preset_messages(msgs, reports, settings):
|
|
31
|
-
""" """
|
|
32
|
-
|
|
33
|
-
...
|
|
34
|
-
|
|
35
|
-
def dump_py_messages(msgs, reports, addons, settings, addons_only=False):
|
|
36
|
-
""" """
|
|
37
|
-
|
|
38
|
-
...
|
|
39
|
-
|
|
40
|
-
def dump_py_messages_from_files(msgs, reports, files, settings):
|
|
41
|
-
""" """
|
|
42
|
-
|
|
43
|
-
...
|
|
44
|
-
|
|
11
|
+
def dump_addon_bl_info(msgs, reports, module, settings): ...
|
|
12
|
+
def dump_addon_messages(addon_module_name, do_checks, settings): ...
|
|
13
|
+
def dump_asset_messages(msgs, reports, settings): ...
|
|
14
|
+
def dump_messages(do_messages, do_checks, settings): ...
|
|
15
|
+
def dump_preset_messages(msgs, reports, settings): ...
|
|
16
|
+
def dump_py_messages(msgs, reports, addons, settings, addons_only=False): ...
|
|
17
|
+
def dump_py_messages_from_files(msgs, reports, files, settings): ...
|
|
45
18
|
def dump_rna_messages(msgs, reports, settings, verbose=False):
|
|
46
19
|
"""Dump into messages dict all RNA-defined UI messages (labels en tooltips)."""
|
|
47
20
|
|
|
48
21
|
...
|
|
49
22
|
|
|
50
|
-
def dump_src_messages(msgs, reports, settings):
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
def
|
|
56
|
-
""" """
|
|
57
|
-
|
|
58
|
-
...
|
|
59
|
-
|
|
60
|
-
def init_spell_check(settings, lang="en_US"):
|
|
61
|
-
""" """
|
|
62
|
-
|
|
63
|
-
...
|
|
64
|
-
|
|
65
|
-
def main():
|
|
66
|
-
""" """
|
|
67
|
-
|
|
68
|
-
...
|
|
69
|
-
|
|
70
|
-
def print_info(reports, pot):
|
|
71
|
-
""" """
|
|
72
|
-
|
|
73
|
-
...
|
|
74
|
-
|
|
75
|
-
def process_msg(msgs, msgctxt, msgid, msgsrc, reports, check_ctxt, settings):
|
|
76
|
-
""" """
|
|
77
|
-
|
|
78
|
-
...
|
|
23
|
+
def dump_src_messages(msgs, reports, settings): ...
|
|
24
|
+
def dump_template_messages(msgs, reports, settings): ...
|
|
25
|
+
def init_spell_check(settings, lang="en_US"): ...
|
|
26
|
+
def main(): ...
|
|
27
|
+
def print_info(reports, pot): ...
|
|
28
|
+
def process_msg(msgs, msgctxt, msgid, msgsrc, reports, check_ctxt, settings): ...
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
class I18nSettings:
|
|
6
7
|
"""Class allowing persistence of our settings!
|
|
@@ -8,28 +9,13 @@ class I18nSettings:
|
|
|
8
9
|
"""
|
|
9
10
|
|
|
10
11
|
BLENDER_I18N_PO_DIR: typing.Any
|
|
11
|
-
""" """
|
|
12
|
-
|
|
13
12
|
BLENDER_I18N_ROOT: typing.Any
|
|
14
|
-
""" """
|
|
15
|
-
|
|
16
13
|
FILE_NAME_POT: typing.Any
|
|
17
|
-
""" """
|
|
18
|
-
|
|
19
14
|
POTFILES_SOURCE_DIR: typing.Any
|
|
20
|
-
""" """
|
|
21
|
-
|
|
22
15
|
PRESETS_DIR: typing.Any
|
|
23
|
-
""" """
|
|
24
|
-
|
|
25
16
|
PY_SYS_PATHS: typing.Any
|
|
26
|
-
""" """
|
|
27
|
-
|
|
28
17
|
TEMPLATES_DIR: typing.Any
|
|
29
|
-
""" """
|
|
30
|
-
|
|
31
18
|
WORK_DIR: typing.Any
|
|
32
|
-
""" """
|
|
33
19
|
|
|
34
20
|
def from_dict(self, mapping):
|
|
35
21
|
"""
|
|
@@ -60,10 +46,5 @@ class I18nSettings:
|
|
|
60
46
|
"""
|
|
61
47
|
...
|
|
62
48
|
|
|
63
|
-
def to_dict(self):
|
|
64
|
-
|
|
65
|
-
...
|
|
66
|
-
|
|
67
|
-
def to_json(self):
|
|
68
|
-
""" """
|
|
69
|
-
...
|
|
49
|
+
def to_dict(self): ...
|
|
50
|
+
def to_json(self): ...
|
bl_i18n_utils/utils/__init__.pyi
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
class I18n:
|
|
6
7
|
"""Internal representation of a whole translation set."""
|
|
7
8
|
|
|
8
9
|
parsers: typing.Any
|
|
9
|
-
""" """
|
|
10
|
-
|
|
11
10
|
py_file: typing.Any
|
|
12
|
-
""" """
|
|
13
|
-
|
|
14
11
|
writers: typing.Any
|
|
15
|
-
""" """
|
|
16
12
|
|
|
17
13
|
def check_py_module_has_translations(self, src, settings=None):
|
|
18
14
|
"""Check whether a given src (a py module, either a directory or a py file) has some i18n translation data,
|
|
@@ -73,10 +69,7 @@ class I18n:
|
|
|
73
69
|
"""
|
|
74
70
|
...
|
|
75
71
|
|
|
76
|
-
def update_info(self):
|
|
77
|
-
""" """
|
|
78
|
-
...
|
|
79
|
-
|
|
72
|
+
def update_info(self): ...
|
|
80
73
|
def write(self, kind, langs=None()):
|
|
81
74
|
"""
|
|
82
75
|
|
|
@@ -103,45 +96,19 @@ class I18nMessage:
|
|
|
103
96
|
"""Internal representation of a message."""
|
|
104
97
|
|
|
105
98
|
comment_lines: typing.Any
|
|
106
|
-
""" """
|
|
107
|
-
|
|
108
99
|
is_commented: typing.Any
|
|
109
|
-
""" """
|
|
110
|
-
|
|
111
100
|
is_fuzzy: typing.Any
|
|
112
|
-
""" """
|
|
113
|
-
|
|
114
101
|
is_tooltip: typing.Any
|
|
115
|
-
""" """
|
|
116
|
-
|
|
117
102
|
msgctxt: typing.Any
|
|
118
|
-
""" """
|
|
119
|
-
|
|
120
103
|
msgctxt_lines: typing.Any
|
|
121
|
-
""" """
|
|
122
|
-
|
|
123
104
|
msgid: typing.Any
|
|
124
|
-
""" """
|
|
125
|
-
|
|
126
105
|
msgid_lines: typing.Any
|
|
127
|
-
""" """
|
|
128
|
-
|
|
129
106
|
msgstr: typing.Any
|
|
130
|
-
""" """
|
|
131
|
-
|
|
132
107
|
msgstr_lines: typing.Any
|
|
133
|
-
""" """
|
|
134
|
-
|
|
135
108
|
settings: typing.Any
|
|
136
|
-
""" """
|
|
137
|
-
|
|
138
109
|
sources: typing.Any
|
|
139
|
-
""" """
|
|
140
|
-
|
|
141
|
-
def copy(self):
|
|
142
|
-
""" """
|
|
143
|
-
...
|
|
144
110
|
|
|
111
|
+
def copy(self): ...
|
|
145
112
|
def do_escape(self, txt):
|
|
146
113
|
"""Replace some chars by their escaped versions!
|
|
147
114
|
|
|
@@ -182,10 +149,7 @@ class I18nMessages:
|
|
|
182
149
|
"""Internal representation of messages for one language (iso code), with additional stats info."""
|
|
183
150
|
|
|
184
151
|
parsers: typing.Any
|
|
185
|
-
""" """
|
|
186
|
-
|
|
187
152
|
writers: typing.Any
|
|
188
|
-
""" """
|
|
189
153
|
|
|
190
154
|
def check(self, fix=False):
|
|
191
155
|
"""Check consistency between messages and their keys!
|
|
@@ -197,10 +161,7 @@ class I18nMessages:
|
|
|
197
161
|
"""
|
|
198
162
|
...
|
|
199
163
|
|
|
200
|
-
def clean_commented(self):
|
|
201
|
-
""" """
|
|
202
|
-
...
|
|
203
|
-
|
|
164
|
+
def clean_commented(self): ...
|
|
204
165
|
def escape(self, do_all=False):
|
|
205
166
|
"""
|
|
206
167
|
|
|
@@ -291,10 +252,7 @@ class I18nMessages:
|
|
|
291
252
|
"""
|
|
292
253
|
...
|
|
293
254
|
|
|
294
|
-
def rtl_process(self):
|
|
295
|
-
""" """
|
|
296
|
-
...
|
|
297
|
-
|
|
255
|
+
def rtl_process(self): ...
|
|
298
256
|
def unescape(self, do_all=True):
|
|
299
257
|
"""
|
|
300
258
|
|
|
@@ -314,10 +272,7 @@ class I18nMessages:
|
|
|
314
272
|
"""
|
|
315
273
|
...
|
|
316
274
|
|
|
317
|
-
def update_info(self):
|
|
318
|
-
""" """
|
|
319
|
-
...
|
|
320
|
-
|
|
275
|
+
def update_info(self): ...
|
|
321
276
|
def write(self, kind, dest):
|
|
322
277
|
"""
|
|
323
278
|
|
|
@@ -355,11 +310,7 @@ def find_best_isocode_matches(uid, iso_codes):
|
|
|
355
310
|
|
|
356
311
|
...
|
|
357
312
|
|
|
358
|
-
def get_best_similar(data):
|
|
359
|
-
""" """
|
|
360
|
-
|
|
361
|
-
...
|
|
362
|
-
|
|
313
|
+
def get_best_similar(data): ...
|
|
363
314
|
def get_po_files_from_dir(root_dir, langs=None()):
|
|
364
315
|
"""Yield tuples (uid, po_path) of translations for each po file found in the given directory, which should be either
|
|
365
316
|
a directory containing po files using language uid's as names (e.g. fr.po, es_ES.po, etc.), or
|
|
@@ -369,11 +320,7 @@ def get_po_files_from_dir(root_dir, langs=None()):
|
|
|
369
320
|
|
|
370
321
|
...
|
|
371
322
|
|
|
372
|
-
def is_valid_po_path(path):
|
|
373
|
-
""" """
|
|
374
|
-
|
|
375
|
-
...
|
|
376
|
-
|
|
323
|
+
def is_valid_po_path(path): ...
|
|
377
324
|
def list_po_dir(root_path, settings):
|
|
378
325
|
"""Generator. List given directory (expecting one sub-directory per languages)
|
|
379
326
|
and return all files matching languages listed in settings.Yield tuples (can_use, uid, num_id, name, isocode, po_path)Note that po_path may not actually exists.
|
|
@@ -387,7 +334,4 @@ def locale_explode(locale):
|
|
|
387
334
|
|
|
388
335
|
...
|
|
389
336
|
|
|
390
|
-
def locale_match(loc1, loc2):
|
|
391
|
-
""" """
|
|
392
|
-
|
|
393
|
-
...
|
|
337
|
+
def locale_match(loc1, loc2): ...
|
|
@@ -1,33 +1,11 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
def
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
...
|
|
14
|
-
|
|
15
|
-
def main():
|
|
16
|
-
""" """
|
|
17
|
-
|
|
18
|
-
...
|
|
19
|
-
|
|
20
|
-
def rtl_process_po(args, settings):
|
|
21
|
-
""" """
|
|
22
|
-
|
|
23
|
-
...
|
|
24
|
-
|
|
25
|
-
def strip_po(args, settings):
|
|
26
|
-
""" """
|
|
27
|
-
|
|
28
|
-
...
|
|
29
|
-
|
|
30
|
-
def update_po(args, settings):
|
|
31
|
-
""" """
|
|
32
|
-
|
|
33
|
-
...
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
|
+
|
|
6
|
+
def cleanup_po(args, settings): ...
|
|
7
|
+
def language_menu(args, settings): ...
|
|
8
|
+
def main(): ...
|
|
9
|
+
def rtl_process_po(args, settings): ...
|
|
10
|
+
def strip_po(args, settings): ...
|
|
11
|
+
def update_po(args, settings): ...
|
bl_keymap_utils/__init__.pyi
CHANGED
bl_keymap_utils/io/__init__.pyi
CHANGED
|
@@ -1,48 +1,18 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
def indent(levels):
|
|
6
|
-
""" """
|
|
7
|
-
|
|
8
|
-
...
|
|
9
|
-
|
|
10
|
-
def keyconfig_export_as_data(wm, kc, filepath, all_keymaps=False):
|
|
11
|
-
""" """
|
|
12
|
-
|
|
13
|
-
...
|
|
14
|
-
|
|
15
|
-
def keyconfig_import_from_data(name, keyconfig_data, keyconfig_version=(0, 0, 0)):
|
|
16
|
-
""" """
|
|
17
|
-
|
|
18
|
-
...
|
|
19
|
-
|
|
20
|
-
def keyconfig_init_from_data(kc, keyconfig_data):
|
|
21
|
-
""" """
|
|
22
|
-
|
|
23
|
-
...
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
24
5
|
|
|
6
|
+
def indent(levels): ...
|
|
7
|
+
def keyconfig_export_as_data(wm, kc, filepath, all_keymaps=False): ...
|
|
8
|
+
def keyconfig_import_from_data(name, keyconfig_data, keyconfig_version=(0, 0, 0)): ...
|
|
9
|
+
def keyconfig_init_from_data(kc, keyconfig_data): ...
|
|
25
10
|
def keyconfig_merge(kc1, kc2):
|
|
26
11
|
"""note: kc1 takes priority over kc2"""
|
|
27
12
|
|
|
28
13
|
...
|
|
29
14
|
|
|
30
|
-
def keymap_init_from_data(km, km_items, is_modal=False):
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
def kmi_args_as_data(kmi):
|
|
36
|
-
""" """
|
|
37
|
-
|
|
38
|
-
...
|
|
39
|
-
|
|
40
|
-
def repr_f32(f):
|
|
41
|
-
""" """
|
|
42
|
-
|
|
43
|
-
...
|
|
44
|
-
|
|
45
|
-
def round_float_32(f):
|
|
46
|
-
""" """
|
|
47
|
-
|
|
48
|
-
...
|
|
15
|
+
def keymap_init_from_data(km, km_items, is_modal=False): ...
|
|
16
|
+
def kmi_args_as_data(kmi): ...
|
|
17
|
+
def repr_f32(f): ...
|
|
18
|
+
def round_float_32(f): ...
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
6
|
def generate(context, space_type, use_fallback_keys=True, use_reset=True):
|
|
6
7
|
"""Keymap for popup toolbar, currently generated each time."""
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
def keyconfig_data_oskey_from_ctrl(keyconfig_data_src, filter_fn=None):
|
|
6
|
-
""" """
|
|
7
|
-
|
|
8
|
-
...
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
5
|
|
|
6
|
+
def keyconfig_data_oskey_from_ctrl(keyconfig_data_src, filter_fn=None): ...
|
|
10
7
|
def keyconfig_data_oskey_from_ctrl_for_macos(keyconfig_data_src):
|
|
11
8
|
"""Use for apple since Cmd is typically used in-place of Ctrl."""
|
|
12
9
|
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
4
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
4
5
|
|
|
5
|
-
def keyconfig_update(keyconfig_data, keyconfig_version):
|
|
6
|
-
""" """
|
|
7
|
-
|
|
8
|
-
...
|
|
6
|
+
def keyconfig_update(keyconfig_data, keyconfig_version): ...
|
bl_math/__init__.pyi
CHANGED
|
@@ -5,7 +5,8 @@ Miscellaneous math utilities module
|
|
|
5
5
|
|
|
6
6
|
import typing
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
9
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
10
|
|
|
10
11
|
def clamp(value: float, min: float = 0, max: float = 1) -> float:
|
|
11
12
|
"""Clamps the float value between minimum and maximum. To avoid
|