fake-bge-module 20250312__py3-none-any.whl → 20260203__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 (395) hide show
  1. {animsys_refactor → _animsys_refactor}/__init__.pyi +7 -6
  2. {bl_console_utils → _bl_console_utils}/__init__.pyi +1 -0
  3. {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +1 -0
  4. {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +1 -13
  5. {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +1 -5
  6. {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +3 -13
  7. {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +1 -10
  8. {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +2 -0
  9. _bl_i18n_utils/bl_extract_messages/__init__.pyi +28 -0
  10. {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +2 -1
  11. {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +10 -7
  12. {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +53 -50
  13. _bl_i18n_utils/utils_cli/__init__.pyi +11 -0
  14. _bl_i18n_utils/utils_languages_menu/__init__.pyi +6 -0
  15. {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +3 -2
  16. _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
  17. {bl_previews_utils → _bl_previews_utils}/__init__.pyi +1 -0
  18. _bl_previews_utils/bl_previews_render/__init__.pyi +14 -0
  19. {bl_rna_utils → _bl_rna_utils}/__init__.pyi +1 -0
  20. {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +3 -2
  21. {bl_text_utils → _bl_text_utils}/__init__.pyi +1 -0
  22. _bl_text_utils/external_editor/__init__.pyi +6 -0
  23. {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
  24. {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +2 -1
  25. _blendfile_header/__init__.pyi +48 -0
  26. _bpy_internal/__init__.pyi +5 -1
  27. _bpy_internal/addons/__init__.pyi +1 -0
  28. _bpy_internal/addons/cli/__init__.pyi +2 -1
  29. _bpy_internal/assets/__init__.pyi +5 -0
  30. _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
  31. _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
  32. _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
  33. _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
  34. _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
  35. _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
  36. _bpy_internal/extensions/__init__.pyi +1 -0
  37. _bpy_internal/extensions/junction_module/__init__.pyi +8 -7
  38. _bpy_internal/extensions/stale_file_manager/__init__.pyi +9 -8
  39. _bpy_internal/extensions/wheel_manager/__init__.pyi +6 -5
  40. {bl_i18n_utils/utils_languages_menu → _bpy_internal/filesystem}/__init__.pyi +2 -2
  41. _bpy_internal/filesystem/locking/__init__.pyi +28 -0
  42. _bpy_internal/grease_pencil/__init__.pyi +1 -0
  43. _bpy_internal/grease_pencil/stroke/__init__.pyi +22 -6
  44. _bpy_internal/platform/__init__.pyi +5 -0
  45. _bpy_internal/platform/freedesktop/__init__.pyi +21 -0
  46. _bpy_internal/system_info/__init__.pyi +1 -0
  47. _bpy_internal/system_info/text_generate_runtime/__init__.pyi +2 -1
  48. _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +2 -1
  49. _bpy_internal/system_info/url_prefill_startup/__init__.pyi +3 -2
  50. {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +1 -0
  51. _bpy_types/__init__.pyi +1635 -0
  52. {console_python → _console_python}/__init__.pyi +8 -7
  53. _console_shell/__init__.pyi +10 -0
  54. {graphviz_export → _graphviz_export}/__init__.pyi +3 -2
  55. _keyingsets_utils/__init__.pyi +21 -0
  56. {rna_info → _rna_info}/__init__.pyi +32 -27
  57. {rna_xml → _rna_xml}/__init__.pyi +7 -6
  58. addon_utils/__init__.pyi +13 -25
  59. aud/__init__.pyi +133 -155
  60. bge/__init__.pyi +1 -0
  61. bge/app/__init__.pyi +1 -0
  62. bge/constraints/__init__.pyi +22 -51
  63. bge/types/__init__.pyi +618 -1913
  64. bge_extras/__init__.pyi +1 -0
  65. bge_extras/logger/__init__.pyi +4 -3
  66. bgui/__init__.pyi +1 -0
  67. bgui/frame/__init__.pyi +1 -0
  68. bgui/frame_button/__init__.pyi +1 -0
  69. bgui/image/__init__.pyi +1 -1
  70. bgui/image_button/__init__.pyi +1 -0
  71. bgui/label/__init__.pyi +1 -0
  72. bgui/list_box/__init__.pyi +1 -1
  73. bgui/progress_bar/__init__.pyi +2 -1
  74. bgui/system/__init__.pyi +3 -5
  75. bgui/text_block/__init__.pyi +1 -0
  76. bgui/text_input/__init__.pyi +9 -8
  77. bgui/theme/__init__.pyi +4 -3
  78. bgui/widget/__init__.pyi +5 -4
  79. bl_app_override/__init__.pyi +4 -3
  80. bl_app_override/helpers/__init__.pyi +3 -2
  81. bl_app_template_utils/__init__.pyi +5 -4
  82. bl_app_templates_system/Game_Engine/__init__.pyi +5 -4
  83. bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
  84. bl_app_templates_system/__init__.pyi +2 -0
  85. bl_keymap_utils/__init__.pyi +1 -0
  86. bl_keymap_utils/io/__init__.pyi +10 -9
  87. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
  88. bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
  89. bl_keymap_utils/platform_helpers/__init__.pyi +3 -2
  90. bl_keymap_utils/versioning/__init__.pyi +2 -1
  91. bl_math/__init__.pyi +4 -13
  92. bl_operators/__init__.pyi +4 -2
  93. bl_operators/add_mesh_torus/__init__.pyi +9 -9
  94. bl_operators/anim/__init__.pyi +90 -62
  95. bl_operators/assets/__init__.pyi +14 -18
  96. bl_operators/bmesh/__init__.pyi +1 -0
  97. bl_operators/bmesh/find_adjacent/__init__.pyi +12 -9
  98. bl_operators/bone_selection_sets/__init__.pyi +34 -60
  99. bl_operators/clip/__init__.pyi +39 -57
  100. bl_operators/connect_to_output/__init__.pyi +20 -18
  101. bl_operators/console/__init__.pyi +17 -25
  102. bl_operators/constraint/__init__.pyi +15 -21
  103. bl_operators/copy_global_transform/__init__.pyi +261 -0
  104. bl_operators/file/__init__.pyi +13 -17
  105. bl_operators/freestyle/__init__.pyi +15 -21
  106. bl_operators/geometry_nodes/__init__.pyi +30 -36
  107. bl_operators/grease_pencil/__init__.pyi +5 -5
  108. bl_operators/image/__init__.pyi +14 -22
  109. bl_operators/image_as_planes/__init__.pyi +36 -42
  110. bl_operators/mesh/__init__.pyi +8 -53
  111. bl_operators/node/__init__.pyi +375 -92
  112. bl_operators/node_editor/__init__.pyi +1 -0
  113. bl_operators/node_editor/node_functions/__init__.pyi +10 -9
  114. bl_operators/object/__init__.pyi +57 -98
  115. bl_operators/object_align/__init__.pyi +8 -8
  116. bl_operators/object_quick_effects/__init__.pyi +15 -21
  117. bl_operators/object_randomize_transform/__init__.pyi +6 -6
  118. bl_operators/presets/__init__.pyi +46 -94
  119. bl_operators/rigidbody/__init__.pyi +12 -16
  120. bl_operators/screen_play_rendered_anim/__init__.pyi +5 -5
  121. bl_operators/sequencer/__init__.pyi +40 -54
  122. bl_operators/spreadsheet/__init__.pyi +7 -7
  123. bl_operators/userpref/__init__.pyi +69 -117
  124. bl_operators/uvcalc_follow_active/__init__.pyi +8 -8
  125. bl_operators/uvcalc_lightmap/__init__.pyi +12 -12
  126. bl_operators/uvcalc_transform/__init__.pyi +39 -28
  127. bl_operators/vertexpaint_dirt/__init__.pyi +7 -7
  128. bl_operators/view3d/__init__.pyi +31 -43
  129. bl_operators/wm/__init__.pyi +139 -231
  130. bl_operators/world/__init__.pyi +6 -6
  131. bl_ui/__init__.pyi +18 -17
  132. bl_ui/anim/__init__.pyi +5 -5
  133. bl_ui/asset_shelf/__init__.pyi +5 -5
  134. bl_ui/generic_ui_list/__init__.pyi +12 -26
  135. bl_ui/node_add_menu/__init__.pyi +281 -12
  136. bl_ui/node_add_menu_compositor/__init__.pyi +135 -91
  137. bl_ui/node_add_menu_geometry/__init__.pyi +407 -263
  138. bl_ui/node_add_menu_shader/__init__.pyi +67 -67
  139. bl_ui/node_add_menu_texture/__init__.pyi +25 -69
  140. bl_ui/properties_animviz/__init__.pyi +3 -2
  141. bl_ui/properties_collection/__init__.pyi +20 -30
  142. bl_ui/properties_constraint/__init__.pyi +228 -450
  143. bl_ui/properties_data_armature/__init__.pyi +45 -79
  144. bl_ui/properties_data_bone/__init__.pyi +33 -51
  145. bl_ui/properties_data_camera/__init__.pyi +43 -75
  146. bl_ui/properties_data_curve/__init__.pyi +42 -101
  147. bl_ui/properties_data_curves/__init__.pyi +21 -35
  148. bl_ui/properties_data_empty/__init__.pyi +8 -10
  149. bl_ui/properties_data_grease_pencil/__init__.pyi +49 -87
  150. bl_ui/properties_data_lattice/__init__.pyi +12 -18
  151. bl_ui/properties_data_light/__init__.pyi +28 -46
  152. bl_ui/properties_data_lightprobe/__init__.pyi +35 -61
  153. bl_ui/properties_data_mesh/__init__.pyi +73 -120
  154. bl_ui/properties_data_metaball/__init__.pyi +16 -26
  155. bl_ui/properties_data_modifier/__init__.pyi +34 -39
  156. bl_ui/properties_data_pointcloud/__init__.pyi +17 -27
  157. bl_ui/properties_data_shaderfx/__init__.pyi +4 -4
  158. bl_ui/properties_data_speaker/__init__.pyi +15 -25
  159. bl_ui/properties_data_volume/__init__.pyi +22 -38
  160. bl_ui/properties_freestyle/__init__.pyi +79 -127
  161. bl_ui/properties_game/__init__.pyi +88 -84
  162. bl_ui/properties_grease_pencil_common/__init__.pyi +33 -190
  163. bl_ui/properties_mask_common/__init__.pyi +33 -45
  164. bl_ui/properties_material/__init__.pyi +52 -111
  165. bl_ui/properties_material_gpencil/__init__.pyi +48 -68
  166. bl_ui/properties_object/__init__.pyi +123 -93
  167. bl_ui/properties_output/__init__.pyi +103 -81
  168. bl_ui/properties_paint_common/__init__.pyi +78 -59
  169. bl_ui/properties_particle/__init__.pyi +160 -262
  170. bl_ui/properties_physics_cloth/__init__.pyi +36 -62
  171. bl_ui/properties_physics_common/__init__.pyi +11 -11
  172. bl_ui/properties_physics_dynamicpaint/__init__.pyi +81 -123
  173. bl_ui/properties_physics_field/__init__.pyi +35 -53
  174. bl_ui/properties_physics_fluid/__init__.pyi +106 -160
  175. bl_ui/properties_physics_geometry_nodes/__init__.pyi +6 -6
  176. bl_ui/properties_physics_rigidbody/__init__.pyi +28 -42
  177. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +44 -68
  178. bl_ui/properties_physics_softbody/__init__.pyi +38 -66
  179. bl_ui/properties_render/__init__.pyi +267 -259
  180. bl_ui/properties_scene/__init__.pyi +69 -72
  181. bl_ui/properties_strip/__init__.pyi +744 -0
  182. bl_ui/properties_strip_modifier/__init__.pyi +45 -0
  183. bl_ui/properties_texture/__init__.pyi +69 -122
  184. bl_ui/properties_view_layer/__init__.pyi +97 -51
  185. bl_ui/properties_workspace/__init__.pyi +12 -18
  186. bl_ui/properties_world/__init__.pyi +33 -53
  187. bl_ui/space_clip/__init__.pyi +231 -311
  188. bl_ui/space_console/__init__.pyi +14 -24
  189. bl_ui/space_dopesheet/__init__.pyi +193 -125
  190. bl_ui/space_filebrowser/__init__.pyi +107 -131
  191. bl_ui/space_graph/__init__.pyi +93 -80
  192. bl_ui/space_image/__init__.pyi +207 -291
  193. bl_ui/space_info/__init__.pyi +14 -24
  194. bl_ui/space_logic/__init__.pyi +14 -22
  195. bl_ui/space_nla/__init__.pyi +63 -69
  196. bl_ui/space_node/__init__.pyi +215 -154
  197. bl_ui/space_outliner/__init__.pyi +65 -61
  198. bl_ui/space_properties/__init__.pyi +41 -16
  199. bl_ui/space_sequencer/__init__.pyi +276 -979
  200. bl_ui/space_spreadsheet/__init__.pyi +27 -23
  201. bl_ui/space_statusbar/__init__.pyi +4 -4
  202. bl_ui/space_text/__init__.pyi +39 -73
  203. bl_ui/space_time/__init__.pyi +33 -78
  204. bl_ui/space_toolsystem_common/__init__.pyi +31 -28
  205. bl_ui/space_toolsystem_toolbar/__init__.pyi +67 -43
  206. bl_ui/space_topbar/__init__.pyi +68 -111
  207. bl_ui/space_userpref/__init__.pyi +310 -445
  208. bl_ui/space_view3d/__init__.pyi +667 -1122
  209. bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
  210. bl_ui/space_view3d_toolbar/__init__.pyi +237 -966
  211. bl_ui/utils/__init__.pyi +4 -3
  212. blend_render_info/__init__.pyi +4 -2
  213. blf/__init__.pyi +92 -59
  214. bmesh/__init__.pyi +4 -10
  215. bmesh/geometry/__init__.pyi +2 -4
  216. bmesh/ops/__init__.pyi +442 -815
  217. bmesh/types/__init__.pyi +377 -720
  218. bmesh/utils/__init__.pyi +20 -45
  219. bpy/__init__.pyi +2 -1
  220. bpy/app/__init__.pyi +96 -90
  221. bpy/app/handlers/__init__.pyi +24 -19
  222. bpy/app/icons/__init__.pyi +2 -7
  223. bpy/app/timers/__init__.pyi +5 -18
  224. bpy/app/translations/__init__.pyi +21 -35
  225. bpy/msgbus/__init__.pyi +20 -9
  226. bpy/ops/__init__.pyi +21 -3
  227. bpy/ops/action/__init__.pyi +121 -226
  228. bpy/ops/anim/__init__.pyi +204 -358
  229. bpy/ops/armature/__init__.pyi +129 -249
  230. bpy/ops/asset/__init__.pyi +82 -111
  231. bpy/ops/bge_bricknodes/__init__.pyi +61 -0
  232. bpy/ops/boid/__init__.pyi +44 -50
  233. bpy/ops/bricknodes/__init__.pyi +37 -0
  234. bpy/ops/brush/__init__.pyi +33 -120
  235. bpy/ops/buttons/__init__.pyi +27 -83
  236. bpy/ops/cachefile/__init__.pyi +16 -74
  237. bpy/ops/camera/__init__.pyi +3 -13
  238. bpy/ops/clip/__init__.pyi +278 -558
  239. bpy/ops/cloth/__init__.pyi +2 -6
  240. bpy/ops/collection/__init__.pyi +34 -44
  241. bpy/ops/console/__init__.pyi +70 -111
  242. bpy/ops/constraint/__init__.pyi +34 -102
  243. bpy/ops/curve/__init__.pyi +163 -315
  244. bpy/ops/curves/__init__.pyi +163 -189
  245. bpy/ops/cycles/__init__.pyi +8 -18
  246. bpy/ops/dpaint/__init__.pyi +21 -30
  247. bpy/ops/ed/__init__.pyi +59 -103
  248. bpy/ops/export_anim/__init__.pyi +4 -11
  249. bpy/ops/export_scene/__init__.pyi +29 -174
  250. bpy/ops/extensions/__init__.pyi +102 -194
  251. bpy/ops/file/__init__.pyi +166 -272
  252. bpy/ops/fluid/__init__.pyi +78 -86
  253. bpy/ops/font/__init__.pyi +73 -164
  254. bpy/ops/geometry/__init__.pyi +33 -144
  255. bpy/ops/gizmogroup/__init__.pyi +8 -14
  256. bpy/ops/gpencil/__init__.pyi +31 -58
  257. bpy/ops/graph/__init__.pyi +176 -411
  258. bpy/ops/grease_pencil/__init__.pyi +416 -639
  259. bpy/ops/image/__init__.pyi +148 -492
  260. bpy/ops/import_anim/__init__.pyi +5 -18
  261. bpy/ops/import_curve/__init__.pyi +4 -6
  262. bpy/ops/import_scene/__init__.pyi +22 -49
  263. bpy/ops/info/__init__.pyi +27 -43
  264. bpy/ops/lattice/__init__.pyi +26 -43
  265. bpy/ops/logic/__init__.pyi +49 -122
  266. bpy/ops/logic_nodes/__init__.pyi +461 -0
  267. bpy/ops/marker/__init__.pyi +24 -60
  268. bpy/ops/mask/__init__.pyi +118 -222
  269. bpy/ops/material/__init__.pyi +19 -18
  270. bpy/ops/mball/__init__.pyi +13 -39
  271. bpy/ops/mesh/__init__.pyi +409 -1264
  272. bpy/ops/nla/__init__.pyi +140 -232
  273. bpy/ops/node/__init__.pyi +1189 -807
  274. bpy/ops/object/__init__.pyi +806 -1659
  275. bpy/ops/outliner/__init__.pyi +284 -432
  276. bpy/ops/paint/__init__.pyi +189 -381
  277. bpy/ops/paintcurve/__init__.pyi +29 -44
  278. bpy/ops/palette/__init__.pyi +23 -34
  279. bpy/ops/particle/__init__.pyi +135 -201
  280. bpy/ops/pointcloud/__init__.pyi +23 -42
  281. bpy/ops/pose/__init__.pyi +195 -310
  282. bpy/ops/poselib/__init__.pyi +45 -73
  283. bpy/ops/preferences/__init__.pyi +89 -221
  284. bpy/ops/ptcache/__init__.pyi +32 -39
  285. bpy/ops/render/__init__.pyi +36 -83
  286. bpy/ops/rigidbody/__init__.pyi +47 -78
  287. bpy/ops/scene/__init__.pyi +169 -222
  288. bpy/ops/screen/__init__.pyi +146 -259
  289. bpy/ops/script/__init__.pyi +9 -15
  290. bpy/ops/sculpt/__init__.pyi +194 -354
  291. bpy/ops/sculpt_curves/__init__.pyi +21 -29
  292. bpy/ops/sequencer/__init__.pyi +586 -836
  293. bpy/ops/sound/__init__.pyi +25 -131
  294. bpy/ops/spreadsheet/__init__.pyi +34 -21
  295. bpy/ops/surface/__init__.pyi +7 -54
  296. bpy/ops/text/__init__.pyi +166 -281
  297. bpy/ops/text_editor/__init__.pyi +2 -6
  298. bpy/ops/texture/__init__.pyi +20 -22
  299. bpy/ops/transform/__init__.pyi +108 -445
  300. bpy/ops/ui/__init__.pyi +157 -219
  301. bpy/ops/uilist/__init__.pyi +4 -16
  302. bpy/ops/uv/__init__.pyi +291 -347
  303. bpy/ops/view2d/__init__.pyi +29 -88
  304. bpy/ops/view3d/__init__.pyi +238 -438
  305. bpy/ops/wm/__init__.pyi +651 -1510
  306. bpy/ops/workspace/__init__.pyi +42 -44
  307. bpy/ops/world/__init__.pyi +12 -13
  308. bpy/path/__init__.pyi +6 -37
  309. bpy/props/__init__.pyi +395 -259
  310. bpy/{_typing → stub_internal}/__init__.pyi +1 -0
  311. bpy/{_typing → stub_internal}/rna_enums/__init__.pyi +214 -114
  312. bpy/types/__init__.pyi +93286 -103826
  313. bpy/utils/__init__.pyi +46 -104
  314. bpy/utils/previews/__init__.pyi +7 -15
  315. bpy/utils/units/__init__.pyi +6 -15
  316. bpy_extras/__init__.pyi +1 -0
  317. bpy_extras/anim_utils/__init__.pyi +32 -23
  318. bpy_extras/asset_utils/__init__.pyi +1 -0
  319. bpy_extras/bmesh_utils/__init__.pyi +2 -2
  320. bpy_extras/id_map_utils/__init__.pyi +15 -6
  321. bpy_extras/image_utils/__init__.pyi +3 -11
  322. bpy_extras/io_utils/__init__.pyi +22 -38
  323. bpy_extras/keyconfig_utils/__init__.pyi +5 -4
  324. bpy_extras/mesh_utils/__init__.pyi +3 -14
  325. bpy_extras/node_shader_utils/__init__.pyi +63 -70
  326. bpy_extras/node_utils/__init__.pyi +4 -3
  327. bpy_extras/object_utils/__init__.pyi +6 -19
  328. bpy_extras/view3d_utils/__init__.pyi +1 -18
  329. bpy_extras/wm_utils/__init__.pyi +1 -0
  330. bpy_extras/wm_utils/progress_report/__init__.pyi +12 -11
  331. {fake_bge_module-20250312.dist-info → fake_bge_module-20260203.dist-info}/METADATA +9 -3
  332. fake_bge_module-20260203.dist-info/RECORD +414 -0
  333. {fake_bge_module-20250312.dist-info → fake_bge_module-20260203.dist-info}/WHEEL +1 -1
  334. {fake_bge_module-20250312.dist-info → fake_bge_module-20260203.dist-info}/top_level.txt +16 -16
  335. freestyle/__init__.pyi +1 -0
  336. freestyle/chainingiterators/__init__.pyi +41 -60
  337. freestyle/functions/__init__.pyi +56 -194
  338. freestyle/predicates/__init__.pyi +11 -61
  339. freestyle/shaders/__init__.pyi +95 -156
  340. freestyle/types/__init__.pyi +306 -941
  341. freestyle/utils/ContextFunctions/__init__.pyi +4 -24
  342. freestyle/utils/__init__.pyi +46 -36
  343. gpu/__init__.pyi +84 -5
  344. gpu/capabilities/__init__.pyi +1 -21
  345. gpu/matrix/__init__.pyi +16 -24
  346. gpu/platform/__init__.pyi +3 -7
  347. gpu/select/__init__.pyi +2 -1
  348. gpu/shader/__init__.pyi +43 -9
  349. gpu/state/__init__.pyi +66 -44
  350. gpu/texture/__init__.pyi +4 -5
  351. gpu/types/__init__.pyi +216 -216
  352. gpu_extras/__init__.pyi +1 -0
  353. gpu_extras/batch/__init__.pyi +2 -5
  354. gpu_extras/presets/__init__.pyi +9 -10
  355. idprop/__init__.pyi +17 -0
  356. idprop/types/__init__.pyi +18 -17
  357. imbuf/__init__.pyi +13 -9
  358. imbuf/types/__init__.pyi +10 -23
  359. keyingsets_builtins/__init__.pyi +51 -93
  360. mathutils/__init__.pyi +296 -2255
  361. mathutils/bvhtree/__init__.pyi +24 -30
  362. mathutils/geometry/__init__.pyi +83 -132
  363. mathutils/interpolate/__init__.pyi +7 -5
  364. mathutils/kdtree/__init__.pyi +5 -14
  365. mathutils/noise/__init__.pyi +62 -106
  366. nodeitems_builtins/__init__.pyi +5 -4
  367. nodeitems_utils/__init__.pyi +10 -9
  368. rna_keymap_ui/__init__.pyi +7 -6
  369. rna_prop_ui/__init__.pyi +14 -13
  370. _bpy_internal/freedesktop/__init__.pyi +0 -20
  371. bgl/__init__.pyi +0 -4235
  372. bl_i18n_utils/bl_extract_messages/__init__.pyi +0 -24
  373. bl_i18n_utils/utils_cli/__init__.pyi +0 -10
  374. bl_previews_utils/bl_previews_render/__init__.pyi +0 -11
  375. bl_text_utils/external_editor/__init__.pyi +0 -5
  376. bpy_types/__init__.pyi +0 -29
  377. console_shell/__init__.pyi +0 -9
  378. fake_bge_module-20250312.dist-info/RECORD +0 -395
  379. keyingsets_utils/__init__.pyi +0 -18
  380. {animsys_refactor → _animsys_refactor}/py.typed +0 -0
  381. {bgl → _bl_console_utils}/py.typed +0 -0
  382. {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
  383. {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
  384. {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
  385. {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
  386. {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
  387. {bl_ui_utils → _blendfile_header}/py.typed +0 -0
  388. {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
  389. {bpy_types → _bpy_types}/py.typed +0 -0
  390. {console_python → _console_python}/py.typed +0 -0
  391. {console_shell → _console_shell}/py.typed +0 -0
  392. {graphviz_export → _graphviz_export}/py.typed +0 -0
  393. {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
  394. {rna_info → _rna_info}/py.typed +0 -0
  395. {rna_xml → _rna_xml}/py.typed +0 -0
@@ -1,13 +1,14 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import numpy.typing as npt
4
5
 
5
6
  class DataPathBuilder:
6
7
  """Dummy class used to parse fcurve and driver data paths."""
7
8
 
8
9
  data_path: typing.Any
9
10
 
10
- def resolve(self, real_base, rna_update_from_map, fcurve, log):
11
+ def resolve(self, real_base, rna_update_from_map, fcurve, log) -> None:
11
12
  """Return (attribute, value) pairs.
12
13
 
13
14
  :param real_base:
@@ -16,8 +17,8 @@ class DataPathBuilder:
16
17
  :param log:
17
18
  """
18
19
 
19
- def anim_data_actions(anim_data): ...
20
- def classes_recursive(base_type, clss=None): ...
21
- def find_path_new(id_data, data_path, rna_update_from_map, fcurve, log): ...
22
- def id_iter(): ...
23
- def update_data_paths(rna_update, log=None): ...
20
+ def anim_data_actions(anim_data) -> None: ...
21
+ def classes_recursive(base_type, clss=None) -> None: ...
22
+ def find_path_new(id_data, data_path, rna_update_from_map, fcurve, log) -> None: ...
23
+ def id_iter() -> None: ...
24
+ def update_data_paths(rna_update, log=None) -> None: ...
@@ -1,4 +1,5 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import numpy.typing as npt
4
5
  from . import autocomplete as autocomplete
@@ -1,6 +1,7 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import numpy.typing as npt
4
5
  from . import complete_calltip as complete_calltip
5
6
  from . import complete_import as complete_import
6
7
  from . import complete_namespace as complete_namespace
@@ -1,6 +1,7 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import numpy.typing as npt
4
5
 
5
6
  def complete(
6
7
  line: str, cursor: int, namespace: dict[str, typing.Any]
@@ -8,13 +9,9 @@ def complete(
8
9
  """Complete callable with call-tip.
9
10
 
10
11
  :param line: incomplete text line
11
- :type line: str
12
12
  :param cursor: current character position
13
- :type cursor: int
14
13
  :param namespace: namespace
15
- :type namespace: dict[str, typing.Any]
16
14
  :return: (matches, world, scrollback)
17
- :rtype: tuple[str, str, str]
18
15
  """
19
16
 
20
17
  def get_argspec(
@@ -23,36 +20,27 @@ def get_argspec(
23
20
  """Get argument specifications.
24
21
 
25
22
  :param strip_self: strip self from argspec
26
- :type strip_self: bool
27
23
  :param doc: doc string of func (optional)
28
- :type doc: str | None
29
24
  :param source: source code of func (optional)
30
- :type source: str | None
31
25
  :return: argument specification
32
- :rtype: str
33
26
  """
34
27
 
35
28
  def get_doc(obj) -> str:
36
29
  """Get the doc string or comments for an object.
37
30
 
38
31
  :return: doc string
39
- :rtype: str
40
32
  """
41
33
 
42
34
  def reduce_newlines(text: str) -> str:
43
35
  """Reduces multiple newlines to a single newline.
44
36
 
45
37
  :param text: text with multiple newlines
46
- :type text: str
47
38
  :return: text with single newlines
48
- :rtype: str
49
39
  """
50
40
 
51
41
  def reduce_spaces(text: str) -> str:
52
42
  """Reduces multiple white-spaces to a single space.
53
43
 
54
44
  :param text: text with multiple spaces
55
- :type text: str
56
45
  :return: text with single spaces
57
- :rtype: str
58
46
  """
@@ -1,6 +1,7 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import numpy.typing as npt
4
5
 
5
6
  def complete(line: str) -> list[str]:
6
7
  """Returns a list containing the completion possibilities for an import line.
@@ -9,9 +10,7 @@ def complete(line: str) -> list[str]:
9
10
 
10
11
  import xml.d
11
12
  from xml.dom import
12
- :type line: str
13
13
  :return: list of completion possibilities
14
- :rtype: list[str]
15
14
  """
16
15
 
17
16
  def get_root_modules() -> list:
@@ -19,7 +18,6 @@ def get_root_modules() -> list:
19
18
  folders of the python-path.
20
19
 
21
20
  :return: modules
22
- :rtype: list
23
21
  """
24
22
 
25
23
  def module_list(path: str) -> list:
@@ -27,7 +25,5 @@ def module_list(path: str) -> list:
27
25
  the given folder.
28
26
 
29
27
  :param path: folder path
30
- :type path: str
31
28
  :return: modules
32
- :rtype: list
33
29
  """
@@ -1,19 +1,16 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import numpy.typing as npt
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
7
8
  module. Also supports index or key access [].
8
9
 
9
10
  :param word: word to be completed
10
- :type word: str
11
11
  :param namespace: namespace
12
- :type namespace: dict
13
12
  :param private: whether private attribute/methods should be returned
14
- :type private: bool
15
13
  :return: completion matches
16
- :rtype: list[str]
17
14
  """
18
15
 
19
16
  def complete_indices(
@@ -22,29 +19,22 @@ def complete_indices(
22
19
  """Complete a list or dictionary with its indices:
23
20
 
24
21
  :param word: word to be completed
25
- :type word: str
26
22
  :param namespace: namespace
27
- :type namespace: dict
28
23
  :param obj: object evaluated from base
29
24
  :param base: sub-string which can be evaluated into an object.
30
- :type base: str | None
31
25
  :return: completion matches
32
- :rtype: list[str]
33
26
  """
34
27
 
35
28
  def complete_names(word: str, namespace: dict[str, typing.Any]) -> list[str]:
36
29
  """Complete variable names or attributes
37
30
 
38
31
  :param word: word to be completed
39
- :type word: str
40
32
  :param namespace: namespace
41
- :type namespace: dict[str, typing.Any]
42
33
  :return: completion matches
43
- :rtype: list[str]
44
34
  """
45
35
 
46
- def is_dict(obj):
36
+ def is_dict(obj) -> None:
47
37
  """Returns whether obj is a dictionary"""
48
38
 
49
- def is_struct_seq(obj):
39
+ def is_struct_seq(obj) -> None:
50
40
  """Returns whether obj is a structured sequence subclass: sys.float_info"""
@@ -1,6 +1,7 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import numpy.typing as npt
4
5
 
5
6
  def complete(
6
7
  line: str, cursor: int, namespace: dict, private: bool
@@ -8,15 +9,10 @@ def complete(
8
9
  """Returns a list of possible completions:
9
10
 
10
11
  :param line: incomplete text line
11
- :type line: str
12
12
  :param cursor: current character position
13
- :type cursor: int
14
13
  :param namespace: namespace
15
- :type namespace: dict
16
14
  :param private: whether private variables should be listed
17
- :type private: bool
18
15
  :return: list of completions, word
19
- :rtype: tuple[list[str], str]
20
16
  """
21
17
 
22
18
  def expand(
@@ -26,13 +22,8 @@ def expand(
26
22
  e.g. when Ctrl+Space is clicked.
27
23
 
28
24
  :param line: incomplete text line
29
- :type line: str
30
25
  :param cursor: current character position
31
- :type cursor: int
32
26
  :param namespace: namespace
33
- :type namespace: dict[str, typing.Any]
34
27
  :param private: whether private variables should be listed
35
- :type private: bool
36
28
  :return: current expanded line, updated cursor position and scrollback
37
- :rtype: int | str
38
29
  """
@@ -1,6 +1,7 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import numpy.typing as npt
4
5
  from . import bl_extract_messages as bl_extract_messages
5
6
  from . import merge_po as merge_po
6
7
  from . import settings as settings
@@ -8,3 +9,4 @@ from . import utils as utils
8
9
  from . import utils_cli as utils_cli
9
10
  from . import utils_languages_menu as utils_languages_menu
10
11
  from . import utils_rtl as utils_rtl
12
+ from . import utils_spell_check as utils_spell_check
@@ -0,0 +1,28 @@
1
+ import typing
2
+ import collections.abc
3
+ import typing_extensions
4
+ import numpy.typing as npt
5
+
6
+ def check(check_ctxt, msgs, key, msgsrc, settings) -> None:
7
+ """Performs a set of checks over the given key (context, message)..."""
8
+
9
+ def dump_addon_bl_info(msgs, reports, module, settings) -> None: ...
10
+ def dump_addon_messages(addon_module_name, do_checks, settings) -> None: ...
11
+ def dump_asset_messages(msgs, reports, settings) -> None: ...
12
+ def dump_extension_metadata(msgs, reports, settings) -> None: ...
13
+ def dump_messages(do_messages, do_checks, settings) -> None: ...
14
+ def dump_ocio_config(msgs, reports, settings) -> None: ...
15
+ def dump_preset_messages(msgs, reports, settings) -> None: ...
16
+ def dump_py_messages(msgs, reports, addons, settings, addons_only=False) -> None: ...
17
+ def dump_py_messages_from_files(msgs, reports, files, settings) -> None: ...
18
+ def dump_rna_messages(msgs, reports, settings, verbose=False) -> None:
19
+ """Dump into messages dict all RNA-defined UI messages (labels en tooltips)."""
20
+
21
+ def dump_src_messages(msgs, reports, settings) -> None: ...
22
+ def dump_template_messages(msgs, reports, settings) -> None: ...
23
+ def init_spell_check(settings, lang="en_US") -> None: ...
24
+ def main() -> None: ...
25
+ def print_info(reports, pot) -> None: ...
26
+ def process_msg(
27
+ msgs, msgctxt, msgid, msgsrc, reports, check_ctxt, settings
28
+ ) -> None: ...
@@ -1,5 +1,6 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import numpy.typing as npt
4
5
 
5
- def main(): ...
6
+ def main() -> None: ...
@@ -1,10 +1,11 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import numpy.typing as npt
4
5
 
5
6
  class I18nSettings:
6
7
  """Class allowing persistence of our settings!
7
- Saved in JSon format, so settings should be JSon'able objects!
8
+ Saved in JSON format, so settings should be JSONable objects!
8
9
  """
9
10
 
10
11
  BLENDER_I18N_PO_DIR: typing.Any
@@ -16,30 +17,32 @@ class I18nSettings:
16
17
  TEMPLATES_DIR: typing.Any
17
18
  WORK_DIR: typing.Any
18
19
 
19
- def from_dict(self, mapping):
20
+ def from_dict(self, mapping) -> None:
20
21
  """
21
22
 
22
23
  :param mapping:
23
24
  """
24
25
 
25
- def from_json(self, string):
26
+ def from_json(self, string) -> None:
26
27
  """
27
28
 
28
29
  :param string:
29
30
  """
30
31
 
31
- def load(self, fname, reset=False):
32
+ def load(self, fname, reset=False) -> None:
32
33
  """
33
34
 
34
35
  :param fname:
35
36
  :param reset:
36
37
  """
37
38
 
38
- def save(self, fname):
39
+ def save(self, fname) -> None:
39
40
  """
40
41
 
41
42
  :param fname:
42
43
  """
43
44
 
44
- def to_dict(self): ...
45
- def to_json(self): ...
45
+ def to_dict(self) -> None: ...
46
+ def to_json(self) -> None: ...
47
+
48
+ class PyGettextKeyword: ...
@@ -1,6 +1,7 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import numpy.typing as npt
4
5
 
5
6
  class I18n:
6
7
  """Internal representation of a whole translation set."""
@@ -10,7 +11,7 @@ class I18n:
10
11
  writers: typing.Any
11
12
 
12
13
  @classmethod
13
- def check_py_module_has_translations(cls, src, settings=None):
14
+ def check_py_module_has_translations(cls, src, settings=None) -> None:
14
15
  """Check whether a given src (a py module, either a directory or a py file) has some i18n translation data,
15
16
  and returns a tuple (src_file, translations_tuple) if yes, else (None, None).
16
17
 
@@ -18,13 +19,13 @@ class I18n:
18
19
  :param settings:
19
20
  """
20
21
 
21
- def escape(self, do_all=False):
22
+ def escape(self, do_all=False) -> None:
22
23
  """
23
24
 
24
25
  :param do_all:
25
26
  """
26
27
 
27
- def parse(self, kind, src, langs=set()):
28
+ def parse(self, kind, src, langs=set()) -> None:
28
29
  """
29
30
 
30
31
  :param kind:
@@ -32,14 +33,14 @@ class I18n:
32
33
  :param langs:
33
34
  """
34
35
 
35
- def parse_from_po(self, src, langs=set()):
36
+ def parse_from_po(self, src, langs=set()) -> None:
36
37
  """
37
38
 
38
39
  :param src:
39
40
  :param langs:
40
41
  """
41
42
 
42
- def parse_from_py(self, src, langs=set()):
43
+ def parse_from_py(self, src, langs=set()) -> None:
43
44
  """src must be a valid path, either a py file or a module directory (in which case all py files inside it
44
45
  will be checked, first file matching will win!).
45
46
  if langs set is void, all languages found are loaded.
@@ -48,35 +49,35 @@ class I18n:
48
49
  :param langs:
49
50
  """
50
51
 
51
- def print_stats(self, prefix="", print_msgs=True):
52
+ def print_stats(self, prefix="", print_msgs=True) -> None:
52
53
  """Print out some stats about an I18n object.
53
- If print_msgs is True, it will also print all its translations' stats.
54
+ If print_msgs is True, it will also print all its translations stats.
54
55
 
55
56
  :param prefix:
56
57
  :param print_msgs:
57
58
  """
58
59
 
59
- def unescape(self, do_all=True):
60
+ def unescape(self, do_all=True) -> None:
60
61
  """
61
62
 
62
63
  :param do_all:
63
64
  """
64
65
 
65
- def update_info(self): ...
66
- def write(self, kind, langs=set()):
66
+ def update_info(self) -> None: ...
67
+ def write(self, kind, langs=set()) -> None:
67
68
  """
68
69
 
69
70
  :param kind:
70
71
  :param langs:
71
72
  """
72
73
 
73
- def write_to_po(self, langs=set()):
74
+ def write_to_po(self, langs=set()) -> None:
74
75
  """
75
76
 
76
77
  :param langs:
77
78
  """
78
79
 
79
- def write_to_py(self, langs=set()):
80
+ def write_to_py(self, langs=set()) -> None:
80
81
  """
81
82
 
82
83
  :param langs:
@@ -98,35 +99,35 @@ class I18nMessage:
98
99
  settings: typing.Any
99
100
  sources: typing.Any
100
101
 
101
- def copy(self): ...
102
+ def copy(self) -> None: ...
102
103
  @classmethod
103
- def do_escape(cls, txt):
104
+ def do_escape(cls, txt) -> None:
104
105
  """Replace some chars by their escaped versions!
105
106
 
106
107
  :param txt:
107
108
  """
108
109
 
109
110
  @classmethod
110
- def do_unescape(cls, txt):
111
+ def do_unescape(cls, txt) -> None:
111
112
  """Replace escaped chars by real ones!
112
113
 
113
114
  :param txt:
114
115
  """
115
116
 
116
- def escape(self, do_all=False):
117
+ def escape(self, do_all=False) -> None:
117
118
  """
118
119
 
119
120
  :param do_all:
120
121
  """
121
122
 
122
- def normalize(self, max_len=80):
123
+ def normalize(self, max_len=80) -> None:
123
124
  """Normalize this message, call this before exporting it...
124
125
  Currently normalize msgctxt, msgid and msgstr lines to given max_len (if below 1, make them single line).
125
126
 
126
127
  :param max_len:
127
128
  """
128
129
 
129
- def unescape(self, do_all=True):
130
+ def unescape(self, do_all=True) -> None:
130
131
  """
131
132
 
132
133
  :param do_all:
@@ -138,7 +139,7 @@ class I18nMessages:
138
139
  parsers: typing.Any
139
140
  writers: typing.Any
140
141
 
141
- def check(self, fix=False):
142
+ def check(self, fix=False) -> None:
142
143
  """Check consistency between messages and their keys!
143
144
  Check messages using format stuff are consistent between msgid and msgstr!
144
145
  If fix is True, tries to fix the issues.
@@ -147,16 +148,16 @@ class I18nMessages:
147
148
  :param fix:
148
149
  """
149
150
 
150
- def clean_commented(self): ...
151
+ def clean_commented(self) -> None: ...
151
152
  @classmethod
152
- def cleanup_callback(cls, lng, settings):
153
+ def cleanup_callback(cls, lng, settings) -> None:
153
154
  """Cleanup a single PO file (specified by a filepath).Callback usable in a context where Blender specific modules (like bpy) are not available.
154
155
 
155
156
  :param lng:
156
157
  :param settings:
157
158
  """
158
159
 
159
- def escape(self, do_all=False):
160
+ def escape(self, do_all=False) -> None:
160
161
  """
161
162
 
162
163
  :param do_all:
@@ -164,7 +165,7 @@ class I18nMessages:
164
165
 
165
166
  def find_best_messages_matches(
166
167
  self, msgs, msgmap, rna_ctxt, rna_struct_name, rna_prop_name, rna_enum_name
167
- ):
168
+ ) -> None:
168
169
  """
169
170
 
170
171
  :param msgs:
@@ -184,7 +185,7 @@ class I18nMessages:
184
185
  bl_time,
185
186
  default_copyright=True,
186
187
  settings=None,
187
- ):
188
+ ) -> None:
188
189
  """Generate an empty I18nMessages object (only header is present!).
189
190
 
190
191
  :param uid:
@@ -195,26 +196,26 @@ class I18nMessages:
195
196
  :param settings:
196
197
  """
197
198
 
198
- def invalidate_reverse_cache(self, rebuild_now=False):
199
+ def invalidate_reverse_cache(self, rebuild_now=False) -> None:
199
200
  """Invalidate the reverse cache used by find_best_messages_matches.
200
201
 
201
202
  :param rebuild_now:
202
203
  """
203
204
 
204
- def merge(self, msgs, replace=False):
205
+ def merge(self, msgs, replace=False) -> None:
205
206
  """
206
207
 
207
208
  :param msgs:
208
209
  :param replace:
209
210
  """
210
211
 
211
- def normalize(self, max_len=80):
212
+ def normalize(self, max_len=80) -> None:
212
213
  """
213
214
 
214
215
  :param max_len:
215
216
  """
216
217
 
217
- def parse(self, kind, key, src):
218
+ def parse(self, kind, key, src) -> None:
218
219
  """
219
220
 
220
221
  :param kind:
@@ -222,14 +223,16 @@ class I18nMessages:
222
223
  :param src:
223
224
  """
224
225
 
225
- def parse_messages_from_po(self, src, key=None):
226
+ def parse_messages_from_po(self, src, key=None) -> None:
226
227
  """
227
228
 
228
229
  :param src:
229
230
  :param key:
230
231
  """
231
232
 
232
- def print_info(self, prefix="", output=None, print_stats=True, print_errors=True):
233
+ def print_info(
234
+ self, prefix="", output=None, print_stats=True, print_errors=True
235
+ ) -> None:
233
236
  """Print out some info about an I18nMessages object.
234
237
 
235
238
  :param prefix:
@@ -238,14 +241,14 @@ class I18nMessages:
238
241
  :param print_errors:
239
242
  """
240
243
 
241
- def rtl_process(self): ...
242
- def unescape(self, do_all=True):
244
+ def rtl_process(self) -> None: ...
245
+ def unescape(self, do_all=True) -> None:
243
246
  """
244
247
 
245
248
  :param do_all:
246
249
  """
247
250
 
248
- def update(self, ref, use_similar=None, keep_old_commented=True):
251
+ def update(self, ref, use_similar=None, keep_old_commented=True) -> None:
249
252
  """Update this I18nMessage with the ref one. Translations from ref are never used. Source comments from ref
250
253
  completely replace current ones. If use_similar is not 0.0, it will try to match new messages in ref with an
251
254
  existing one. Messages no more found in ref will be marked as commented if keep_old_commented is True,
@@ -257,7 +260,7 @@ class I18nMessages:
257
260
  """
258
261
 
259
262
  @classmethod
260
- def update_from_pot_callback(cls, pot, lng, settings):
263
+ def update_from_pot_callback(cls, pot, lng, settings) -> None:
261
264
  """Update or create a single PO file (specified by a filepath) from the given POT I18nMessages data.Callback usable in a context where Blender specific modules (like bpy) are not available.
262
265
 
263
266
  :param pot:
@@ -265,61 +268,61 @@ class I18nMessages:
265
268
  :param settings:
266
269
  """
267
270
 
268
- def update_info(self): ...
271
+ def update_info(self) -> None: ...
269
272
  @classmethod
270
- def update_to_blender_repo_callback(cls, lng, settings):
271
- """Cleanup and write a single PO file (specified by a filepath) into the relevant Blender source 'compact' PO file.Callback usable in a context where Blender specific modules (like bpy) are not available.
273
+ def update_to_blender_repo_callback(cls, lng, settings) -> None:
274
+ """Cleanup and write a single PO file (specified by a filepath) into the relevant Blender source compact PO file.Callback usable in a context where Blender specific modules (like bpy) are not available.
272
275
 
273
276
  :param lng:
274
277
  :param settings:
275
278
  """
276
279
 
277
- def write(self, kind, dest):
280
+ def write(self, kind, dest) -> None:
278
281
  """
279
282
 
280
283
  :param kind:
281
284
  :param dest:
282
285
  """
283
286
 
284
- def write_messages_to_mo(self, fname):
287
+ def write_messages_to_mo(self, fname) -> None:
285
288
  """Write messages in fname mo file.
286
289
 
287
290
  :param fname:
288
291
  """
289
292
 
290
- def write_messages_to_po(self, fname, compact=False):
293
+ def write_messages_to_po(self, fname, compact=False) -> None:
291
294
  """Write messages in fname po file.
292
295
 
293
296
  :param fname:
294
297
  :param compact:
295
298
  """
296
299
 
297
- def enable_addons(addons=None, support=None, disable=False, check_only=False):
298
- """Enable (or disable) addons based either on a set of names, or a set of 'support' types.
300
+ def enable_addons(addons=None, support=None, disable=False, check_only=False) -> None:
301
+ """Enable (or disable) addons based either on a set of names, or a set of support types.
299
302
  Returns the list of all affected addons (as fake modules)!
300
303
  If "check_only" is set, no addon will be enabled nor disabled.
301
304
 
302
305
  """
303
306
 
304
- def find_best_isocode_matches(uid, iso_codes):
307
+ def find_best_isocode_matches(uid, iso_codes) -> None:
305
308
  """Return an ordered tuple of elements in iso_codes that can match the given uid, from most similar to lesser ones."""
306
309
 
307
- def get_best_similar(data): ...
308
- def get_po_files_from_dir(root_dir, langs=set()):
310
+ def get_best_similar(data) -> None: ...
311
+ def get_po_files_from_dir(root_dir, langs=set()) -> None:
309
312
  """Yield tuples (uid, po_path) of translations for each po file found in the given directory, which should be either
310
- a directory containing po files using language uid's as names (e.g. fr.po, es_ES.po, etc.), or
313
+ a directory containing po files using language uids as names (e.g. fr.po, es_ES.po, etc.), or
311
314
  a directory containing directories which names are language uids, and containing po files of the same names.
312
315
 
313
316
  """
314
317
 
315
- def is_valid_po_path(path): ...
316
- def list_po_dir(root_path, settings):
318
+ def is_valid_po_path(path) -> None: ...
319
+ def list_po_dir(root_path, settings) -> None:
317
320
  """Generator. List given directory (expecting one sub-directory per languages)
318
321
  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.
319
322
 
320
323
  """
321
324
 
322
- def locale_explode(locale):
325
+ def locale_explode(locale) -> None:
323
326
  """Copies behavior of BLT_lang_locale_explode, keep them in sync."""
324
327
 
325
- def locale_match(loc1, loc2): ...
328
+ def locale_match(loc1, loc2) -> None: ...
@@ -0,0 +1,11 @@
1
+ import typing
2
+ import collections.abc
3
+ import typing_extensions
4
+ import numpy.typing as npt
5
+
6
+ def cleanup_po(args, settings) -> None: ...
7
+ def language_menu(args, settings) -> None: ...
8
+ def main() -> None: ...
9
+ def rtl_process_po(args, settings) -> None: ...
10
+ def strip_po(args, settings) -> None: ...
11
+ def update_po(args, settings) -> None: ...
@@ -0,0 +1,6 @@
1
+ import typing
2
+ import collections.abc
3
+ import typing_extensions
4
+ import numpy.typing as npt
5
+
6
+ def gen_menu_file(stats, settings) -> None: ...