blender-python-stubs 4.5.8.0__tar.gz
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.
- blender_python_stubs-4.5.8.0/.gitignore +13 -0
- blender_python_stubs-4.5.8.0/.python-version +1 -0
- blender_python_stubs-4.5.8.0/LICENSE +21 -0
- blender_python_stubs-4.5.8.0/PKG-INFO +68 -0
- blender_python_stubs-4.5.8.0/README.md +47 -0
- blender_python_stubs-4.5.8.0/aud/__init__.pyi +659 -0
- blender_python_stubs-4.5.8.0/aud/py.typed +0 -0
- blender_python_stubs-4.5.8.0/bl_math/__init__.pyi +14 -0
- blender_python_stubs-4.5.8.0/bl_math/py.typed +0 -0
- blender_python_stubs-4.5.8.0/blf/__init__.pyi +62 -0
- blender_python_stubs-4.5.8.0/blf/py.typed +0 -0
- blender_python_stubs-4.5.8.0/bmesh/__init__.pyi +21 -0
- blender_python_stubs-4.5.8.0/bmesh/geometry/__init__.pyi +7 -0
- blender_python_stubs-4.5.8.0/bmesh/ops/__init__.pyi +401 -0
- blender_python_stubs-4.5.8.0/bmesh/py.typed +0 -0
- blender_python_stubs-4.5.8.0/bmesh/types/__init__.pyi +1120 -0
- blender_python_stubs-4.5.8.0/bmesh/utils/__init__.pyi +63 -0
- blender_python_stubs-4.5.8.0/bpy/__init__.pyi +13 -0
- blender_python_stubs-4.5.8.0/bpy/app/__init__.pyi +146 -0
- blender_python_stubs-4.5.8.0/bpy/ops/__init__.pyi +176 -0
- blender_python_stubs-4.5.8.0/bpy/path/__init__.pyi +81 -0
- blender_python_stubs-4.5.8.0/bpy/props/__init__.pyi +213 -0
- blender_python_stubs-4.5.8.0/bpy/py.typed +0 -0
- blender_python_stubs-4.5.8.0/bpy/types/__init__.pyi +47404 -0
- blender_python_stubs-4.5.8.0/bpy/utils/__init__.pyi +228 -0
- blender_python_stubs-4.5.8.0/bpy/utils/previews/__init__.pyi +52 -0
- blender_python_stubs-4.5.8.0/bpy/utils/toolsystem/__init__.pyi +39 -0
- blender_python_stubs-4.5.8.0/bpy_extras/__init__.pyi +14 -0
- blender_python_stubs-4.5.8.0/bpy_extras/anim_utils/__init__.pyi +84 -0
- blender_python_stubs-4.5.8.0/bpy_extras/asset_utils/__init__.pyi +25 -0
- blender_python_stubs-4.5.8.0/bpy_extras/bmesh_utils/__init__.pyi +12 -0
- blender_python_stubs-4.5.8.0/bpy_extras/id_map_utils/__init__.pyi +10 -0
- blender_python_stubs-4.5.8.0/bpy_extras/image_utils/__init__.pyi +18 -0
- blender_python_stubs-4.5.8.0/bpy_extras/io_utils/__init__.pyi +83 -0
- blender_python_stubs-4.5.8.0/bpy_extras/keyconfig_utils/__init__.pyi +10 -0
- blender_python_stubs-4.5.8.0/bpy_extras/mesh_utils/__init__.pyi +42 -0
- blender_python_stubs-4.5.8.0/bpy_extras/node_shader_utils/__init__.pyi +202 -0
- blender_python_stubs-4.5.8.0/bpy_extras/node_utils/__init__.pyi +18 -0
- blender_python_stubs-4.5.8.0/bpy_extras/object_utils/__init__.pyi +56 -0
- blender_python_stubs-4.5.8.0/bpy_extras/py.typed +0 -0
- blender_python_stubs-4.5.8.0/bpy_extras/view3d_utils/__init__.pyi +40 -0
- blender_python_stubs-4.5.8.0/freestyle/__init__.pyi +11 -0
- blender_python_stubs-4.5.8.0/freestyle/chainingiterators/__init__.pyi +345 -0
- blender_python_stubs-4.5.8.0/freestyle/functions/__init__.pyi +1273 -0
- blender_python_stubs-4.5.8.0/freestyle/predicates/__init__.pyi +1329 -0
- blender_python_stubs-4.5.8.0/freestyle/py.typed +0 -0
- blender_python_stubs-4.5.8.0/freestyle/shaders/__init__.pyi +820 -0
- blender_python_stubs-4.5.8.0/freestyle/types/__init__.pyi +2400 -0
- blender_python_stubs-4.5.8.0/freestyle/utils/__init__.pyi +159 -0
- blender_python_stubs-4.5.8.0/gpu/__init__.pyi +12 -0
- blender_python_stubs-4.5.8.0/gpu/capabilities/__init__.pyi +75 -0
- blender_python_stubs-4.5.8.0/gpu/compute/__init__.pyi +8 -0
- blender_python_stubs-4.5.8.0/gpu/matrix/__init__.pyi +53 -0
- blender_python_stubs-4.5.8.0/gpu/platform/__init__.pyi +16 -0
- blender_python_stubs-4.5.8.0/gpu/py.typed +0 -0
- blender_python_stubs-4.5.8.0/gpu/select/__init__.pyi +4 -0
- blender_python_stubs-4.5.8.0/gpu/shader/__init__.pyi +59 -0
- blender_python_stubs-4.5.8.0/gpu/state/__init__.pyi +89 -0
- blender_python_stubs-4.5.8.0/gpu/texture/__init__.pyi +9 -0
- blender_python_stubs-4.5.8.0/gpu/types/__init__.pyi +821 -0
- blender_python_stubs-4.5.8.0/gpu_extras/__init__.pyi +2 -0
- blender_python_stubs-4.5.8.0/gpu_extras/batch/__init__.pyi +18 -0
- blender_python_stubs-4.5.8.0/gpu_extras/presets/__init__.pyi +20 -0
- blender_python_stubs-4.5.8.0/gpu_extras/py.typed +0 -0
- blender_python_stubs-4.5.8.0/idprop/__init__.pyi +3 -0
- blender_python_stubs-4.5.8.0/idprop/py.typed +0 -0
- blender_python_stubs-4.5.8.0/idprop/types/__init__.pyi +221 -0
- blender_python_stubs-4.5.8.0/imbuf/__init__.pyi +19 -0
- blender_python_stubs-4.5.8.0/imbuf/py.typed +0 -0
- blender_python_stubs-4.5.8.0/imbuf/types/__init__.pyi +42 -0
- blender_python_stubs-4.5.8.0/mathutils/__init__.pyi +2092 -0
- blender_python_stubs-4.5.8.0/mathutils/bvhtree/__init__.pyi +58 -0
- blender_python_stubs-4.5.8.0/mathutils/geometry/__init__.pyi +227 -0
- blender_python_stubs-4.5.8.0/mathutils/interpolate/__init__.pyi +8 -0
- blender_python_stubs-4.5.8.0/mathutils/kdtree/__init__.pyi +32 -0
- blender_python_stubs-4.5.8.0/mathutils/noise/__init__.pyi +117 -0
- blender_python_stubs-4.5.8.0/mathutils/py.typed +0 -0
- blender_python_stubs-4.5.8.0/pyproject.toml +25 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.11
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Autour de Minuit
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: blender-python-stubs
|
|
3
|
+
Version: 4.5.8.0
|
|
4
|
+
Summary: Type stubs for Blender 4.5 Python API
|
|
5
|
+
Project-URL: Homepage, https://git.autourdeminuit.com/autour_de_minuit/blender-python-stubs
|
|
6
|
+
Project-URL: Issues, https://git.autourdeminuit.com/autour_de_minuit/blender-python-stubs/issues
|
|
7
|
+
Project-URL: Repository, https://git.autourdeminuit.com/autour_de_minuit/blender-python-stubs
|
|
8
|
+
Author: Joseph HENRY
|
|
9
|
+
Author-email: Autour de Minuit <tech@autourdeminuit.com>
|
|
10
|
+
License-Expression: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: autocomplete,blender,bpy,stubs,typing
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Topic :: Multimedia :: Graphics :: 3D Modeling
|
|
17
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
18
|
+
Classifier: Typing :: Stubs Only
|
|
19
|
+
Requires-Python: >=3.11
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
|
|
22
|
+
# blender-python-stubs
|
|
23
|
+
|
|
24
|
+
Type stubs for Blender 4.5 Python API.
|
|
25
|
+
|
|
26
|
+
Provides autocomplete, type checking, and inline documentation for `bpy`, `mathutils`, `bmesh`, `gpu`, `freestyle`, and all other Blender Python modules.
|
|
27
|
+
|
|
28
|
+
## Installation
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
pip install "blender-python-stubs>=4.5,<4.6"
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Features
|
|
35
|
+
|
|
36
|
+
- Full Blender API coverage (`bpy`, `mathutils`, `bmesh`, `gpu`, `gpu_extras`, `bpy_extras`, `freestyle`, `aud`, `blf`, `bl_math`, `imbuf`, `idprop`)
|
|
37
|
+
- Accurate collection types (`BlendDataObjects` instead of generic `bpy_prop_collection`)
|
|
38
|
+
- Readonly `@property` decorators for RNA attributes
|
|
39
|
+
- Typed context members (`bpy.context.active_object`, `selected_objects`, etc.)
|
|
40
|
+
- Constructor signatures for `mathutils`, `gpu`, and other C extension types
|
|
41
|
+
- Literal enum types instead of plain `str`
|
|
42
|
+
- Zero `typing.Any` usage
|
|
43
|
+
- 0 errors in basedpyright strict mode
|
|
44
|
+
|
|
45
|
+
## Usage
|
|
46
|
+
|
|
47
|
+
```python
|
|
48
|
+
import bpy
|
|
49
|
+
|
|
50
|
+
obj: bpy.types.Object = bpy.context.active_object
|
|
51
|
+
obj.location.x = 1.0
|
|
52
|
+
|
|
53
|
+
bpy.data.objects.new("Cube", bpy.data.meshes.new("Mesh"))
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Disclaimer
|
|
57
|
+
|
|
58
|
+
This project was coded with assistance of AI.
|
|
59
|
+
|
|
60
|
+
## License
|
|
61
|
+
|
|
62
|
+
[MIT](LICENSE)
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
Generated by [blender-python-stubs](https://git.autourdeminuit.com/autour_de_minuit/blender-python-stubs).
|
|
67
|
+
|
|
68
|
+
Made with ❤️ at [Autour de Minuit (ADV)](https://blog.autourdeminuit.com/) <img src="https://upload.wikimedia.org/wikipedia/commons/0/0c/Blender_logo_no_text.svg" alt="blender" width="20"/>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# blender-python-stubs
|
|
2
|
+
|
|
3
|
+
Type stubs for Blender 4.5 Python API.
|
|
4
|
+
|
|
5
|
+
Provides autocomplete, type checking, and inline documentation for `bpy`, `mathutils`, `bmesh`, `gpu`, `freestyle`, and all other Blender Python modules.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install "blender-python-stubs>=4.5,<4.6"
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Features
|
|
14
|
+
|
|
15
|
+
- Full Blender API coverage (`bpy`, `mathutils`, `bmesh`, `gpu`, `gpu_extras`, `bpy_extras`, `freestyle`, `aud`, `blf`, `bl_math`, `imbuf`, `idprop`)
|
|
16
|
+
- Accurate collection types (`BlendDataObjects` instead of generic `bpy_prop_collection`)
|
|
17
|
+
- Readonly `@property` decorators for RNA attributes
|
|
18
|
+
- Typed context members (`bpy.context.active_object`, `selected_objects`, etc.)
|
|
19
|
+
- Constructor signatures for `mathutils`, `gpu`, and other C extension types
|
|
20
|
+
- Literal enum types instead of plain `str`
|
|
21
|
+
- Zero `typing.Any` usage
|
|
22
|
+
- 0 errors in basedpyright strict mode
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
```python
|
|
27
|
+
import bpy
|
|
28
|
+
|
|
29
|
+
obj: bpy.types.Object = bpy.context.active_object
|
|
30
|
+
obj.location.x = 1.0
|
|
31
|
+
|
|
32
|
+
bpy.data.objects.new("Cube", bpy.data.meshes.new("Mesh"))
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Disclaimer
|
|
36
|
+
|
|
37
|
+
This project was coded with assistance of AI.
|
|
38
|
+
|
|
39
|
+
## License
|
|
40
|
+
|
|
41
|
+
[MIT](LICENSE)
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
Generated by [blender-python-stubs](https://git.autourdeminuit.com/autour_de_minuit/blender-python-stubs).
|
|
46
|
+
|
|
47
|
+
Made with ❤️ at [Autour de Minuit (ADV)](https://blog.autourdeminuit.com/) <img src="https://upload.wikimedia.org/wikipedia/commons/0/0c/Blender_logo_no_text.svg" alt="blender" width="20"/>
|