Skip to main content

blender-python-stubs

PyPI

Strict type stubs for Blender 5.3 Python API.

Provides autocomplete, type checking, and inline documentation for bpy, mathutils, bmesh, gpu, freestyle, and all other Blender Python modules. Generated stubs pass basedpyright all mode with 0 errors and use zero typing.Any.

Installation

pip install "blender-python-stubs>=5.3,<5.4"

Features

  • Full Blender API coverage (bpy, mathutils, bmesh, gpu, gpu_extras, bpy_extras, freestyle, aud, blf, bl_math, imbuf, idprop)
  • Accurate collection types (BlendDataObjects instead of generic bpy_prop_collection)
  • Readonly @property decorators for RNA attributes
  • Typed context members (bpy.context.active_object, selected_objects, etc.)
  • Constructor signatures for mathutils, gpu, and other C extension types
  • Literal enum types instead of plain str
  • Zero typing.Any usage
  • 0 errors in basedpyright strict mode

Usage

import bpy

obj = bpy.context.active_object
assert obj is not None
obj.location.x = 1.0

bpy.data.objects.new("Cube", bpy.data.meshes.new("Mesh"))

Disclaimer

This project was coded with assistance of AI.

License

MIT


Generated by blender-python-stubs.

Made with ❤️ at Autour de Minuit (ADV) blender

Metadata

Release files for blender-python-stubs 5.3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blender-python-stubs 5.3.0.0
File Size Uploaded Provenance Actions
blender_python_stubs-5.3.0.0.tar.gz 720.5 kB Without provenance Details for blender_python_stubs-5.3.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for blender-python-stubs 5.3.0.0
File Interpreter ABI Platform Actions
blender_python_stubs-5.3.0.0-py3-none-any.whl Python 3 none any Details for blender_python_stubs-5.3.0.0-py3-none-any.whl

Total release size: 1.5 MB

Release files / blender_python_stubs-5.3.0.0.tar.gz

Download URL blender_python_stubs-5.3.0.0.tar.gz
Size 720.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8c4e2b3a8659bf9151182c296619c617db1bede97245974e15b1158b7f7f3710
BLAKE2b-256 checksum
How to use checksums
3416f21b20e677de5e879b2cb9f598d895acaac46578c817b85d5127fba90c12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.2

Release files / blender_python_stubs-5.3.0.0-py3-none-any.whl

Download URL blender_python_stubs-5.3.0.0-py3-none-any.whl
Size 756.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84e06c667fa2c2d443b99f58711a70a299f6cc10169fab7e946b59f3c7d13d06
BLAKE2b-256 checksum
How to use checksums
4eb376de2565812dff144e3100266b373f806c86dd4d7497b5a4627e8a543923
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.2

Security for blender-python-stubs 5.3.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page