fake-bpy-module 20250412__py3-none-any.whl → 20250413__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/types/__init__.pyi CHANGED
@@ -110727,15 +110727,37 @@ class BlendDataMovieClips(bpy_prop_collection[MovieClip], bpy_struct):
110727
110727
  class BlendDataNodeTrees(bpy_prop_collection[NodeTree], bpy_struct):
110728
110728
  """Collection of node trees"""
110729
110729
 
110730
- def new(self, name: str, type: typing.Literal["DUMMY"] | None) -> NodeTree:
110730
+ def new(
110731
+ self,
110732
+ name: str,
110733
+ type: typing.Literal[
110734
+ "GeometryNodeTree",
110735
+ "CompositorNodeTree",
110736
+ "ShaderNodeTree",
110737
+ "TextureNodeTree",
110738
+ ]
110739
+ | None,
110740
+ ) -> NodeTree:
110731
110741
  """Add a new node tree to the main database
110732
110742
 
110733
- :param name: New name for the data-block
110734
- :type name: str
110735
- :param type: Type, The type of node_group to add
110736
- :type type: typing.Literal['DUMMY'] | None
110737
- :return: New node tree data-block
110738
- :rtype: NodeTree
110743
+ :param name: New name for the data-block
110744
+ :type name: str
110745
+ :param type: Type, The type of node_group to add
110746
+
110747
+ GeometryNodeTree
110748
+ Geometry Node Editor -- Geometry nodes.
110749
+
110750
+ CompositorNodeTree
110751
+ Compositor -- Compositing nodes.
110752
+
110753
+ ShaderNodeTree
110754
+ Shader Editor -- Shader nodes.
110755
+
110756
+ TextureNodeTree
110757
+ Texture Node Editor -- Texture nodes.
110758
+ :type type: typing.Literal['GeometryNodeTree','CompositorNodeTree','ShaderNodeTree','TextureNodeTree'] | None
110759
+ :return: New node tree data-block
110760
+ :rtype: NodeTree
110739
110761
  """
110740
110762
 
110741
110763
  def remove(
@@ -141716,10 +141738,10 @@ class EffectorWeights(bpy_struct):
141716
141738
  class EnumProperty(Property, bpy_struct):
141717
141739
  """RNA enumeration property definition, to choose from a number of predefined options"""
141718
141740
 
141719
- default: typing.Literal["DUMMY"]
141741
+ default: str
141720
141742
  """ Default value for this enum
141721
141743
 
141722
- :type: typing.Literal['DUMMY']
141744
+ :type: str
141723
141745
  """
141724
141746
 
141725
141747
  default_flag: set[str]
@@ -195267,10 +195289,10 @@ class ParticleSettings(ID, bpy_struct):
195267
195289
  :type: int
195268
195290
  """
195269
195291
 
195270
- material_slot: typing.Literal["DUMMY"]
195292
+ material_slot: str
195271
195293
  """ Material slot used for rendering particles
195272
195294
 
195273
- :type: typing.Literal['DUMMY']
195295
+ :type: str
195274
195296
  """
195275
195297
 
195276
195298
  normal_factor: float
@@ -216044,10 +216066,12 @@ class SpaceNodeEditor(Space, bpy_struct):
216044
216066
  :type: typing.Literal['WORLD','BRUSH','LINESTYLE']
216045
216067
  """
216046
216068
 
216047
- tree_type: typing.Literal["DUMMY"]
216069
+ tree_type: typing.Literal[
216070
+ "GeometryNodeTree", "CompositorNodeTree", "ShaderNodeTree", "TextureNodeTree"
216071
+ ]
216048
216072
  """ Node tree type to display and edit
216049
216073
 
216050
- :type: typing.Literal['DUMMY']
216074
+ :type: typing.Literal['GeometryNodeTree','CompositorNodeTree','ShaderNodeTree','TextureNodeTree']
216051
216075
  """
216052
216076
 
216053
216077
  def cursor_location_from_region(self, x: int | None, y: int | None):
@@ -223656,10 +223680,10 @@ class TextureSlot(bpy_struct):
223656
223680
  :type: mathutils.Vector
223657
223681
  """
223658
223682
 
223659
- output_node: typing.Literal["DUMMY"]
223683
+ output_node: str
223660
223684
  """ Which output node to use, for node-based textures
223661
223685
 
223662
- :type: typing.Literal['DUMMY']
223686
+ :type: str
223663
223687
  """
223664
223688
 
223665
223689
  scale: mathutils.Vector
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fake-bpy-module
3
- Version: 20250412
3
+ Version: 20250413
4
4
  Summary: Collection of the fake Blender Python API module for the code completion.
5
5
  Author: nutti
6
6
  Author-email: nutti.metro@gmail.com
@@ -279,7 +279,7 @@ bpy/ops/workspace/__init__.pyi,sha256=NdaJuwz3A-gStNuzp_OWR9DIj7oeSgLjn9SUEBLYuN
279
279
  bpy/ops/world/__init__.pyi,sha256=9OhY87-WRRLor-4GQJhDiDJG3M9W5s9yFo9x45Iiycs,628
280
280
  bpy/path/__init__.pyi,sha256=yGX45MUnn9fJYw32UWTsBQ646iN5DbbxfvnoDkREWvI,5537
281
281
  bpy/props/__init__.pyi,sha256=4SYl5qfPLRwe3zGyHowQy_i_mU-gjImdiqidFOHP6Tc,35264
282
- bpy/types/__init__.pyi,sha256=gHDAFvY_rZkQQ7jgLTjiCKkr-YnvYz18SRKaBYEDoWo,5585052
282
+ bpy/types/__init__.pyi,sha256=jvKr_jRWrQEXD5jPOu5bWXsLhBbLOWGBQroShN5kfNU,5585643
283
283
  bpy/utils/__init__.pyi,sha256=NwKl40t0SfvM2Lce9VmXS9zh6T-ZE1JxleSh9te_d5E,15351
284
284
  bpy/utils/previews/__init__.pyi,sha256=Pji8UKqvI3AJTk5v3nCK92URlJfehxuoaaJW6n9L7XU,2342
285
285
  bpy/utils/units/__init__.pyi,sha256=dc9ZViPAqOap5ZsFfWoI0d6bHdri3pWWiVeRxAaZr-U,2672
@@ -335,7 +335,7 @@ graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
335
335
  idprop/__init__.pyi,sha256=3M6jnE-1j1mPIJJi7c49kdEpbRgus6la85Zh_UIyXYI,118
336
336
  idprop/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
337
337
  idprop/types/__init__.pyi,sha256=gjEXMyXEY4OFO-rPJXgyq46OObL4Ysin0ST6FikMXfs,1794
338
- imbuf/__init__.pyi,sha256=RUBYcsVYImBi-ORwG7Zg4GSfgxeEXMjuy0KmZp3lnLQ,1158
338
+ imbuf/__init__.pyi,sha256=opvEeSrYlll59Dai__LVOki4IHdXaKScdI5wIH_Hgzw,1377
339
339
  imbuf/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
340
340
  imbuf/types/__init__.pyi,sha256=35nIU4BwLDPPPzuktO-lIhgqh7M3WNk1wSEcmXMk8rM,1402
341
341
  keyingsets_builtins/__init__.pyi,sha256=RhU-9g1cWLb1dlWOaE5mkvRfB_qQlsxh_bGrvIOZ2Lo,15796
@@ -361,7 +361,7 @@ rna_prop_ui/__init__.pyi,sha256=o3yE2C_BSi2O_ZJM_Jao06i6seWMRNQcZaI6keKjpFE,1308
361
361
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
362
  rna_xml/__init__.pyi,sha256=EBP-inpL9KRsjGftcoza9_G_Do5UjXw62eAvuEMoaO0,604
363
363
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
364
- fake_bpy_module-20250412.dist-info/METADATA,sha256=U-rlur-n8gKBhagdG8S42j6YwxkfIbXqKT7SyhaB6jQ,7429
365
- fake_bpy_module-20250412.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
366
- fake_bpy_module-20250412.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
- fake_bpy_module-20250412.dist-info/RECORD,,
364
+ fake_bpy_module-20250413.dist-info/METADATA,sha256=rp-TtOsuETTED4Kau_-9h3Ac56ts20hlG5sSV8MoZz4,7429
365
+ fake_bpy_module-20250413.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
366
+ fake_bpy_module-20250413.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
+ fake_bpy_module-20250413.dist-info/RECORD,,
imbuf/__init__.pyi CHANGED
@@ -28,6 +28,14 @@ def load(filepath: bytes | str) -> imbuf.types.ImBuf:
28
28
  :rtype: imbuf.types.ImBuf
29
29
  """
30
30
 
31
+ def load_from_buffer(buffer) -> imbuf.types.ImBuf:
32
+ """Load an image from a buffer.
33
+
34
+ :param buffer: A buffer containing the image data.
35
+ :return: the newly loaded image.
36
+ :rtype: imbuf.types.ImBuf
37
+ """
38
+
31
39
  def new(size: tuple[int, int]) -> imbuf.types.ImBuf:
32
40
  """Load a new image.
33
41