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.1

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.1
File Size Uploaded Provenance Actions
blender_python_stubs-5.3.0.1.tar.gz 595.8 kB Without provenance Details for blender_python_stubs-5.3.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / blender_python_stubs-5.3.0.1.tar.gz

Download URL blender_python_stubs-5.3.0.1.tar.gz
Size 595.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b911c33a0b9f97d7dfbce85399487b56a0bbf7684dfcbc7f2dcca35da3684a59
BLAKE2b-256 checksum
How to use checksums
83b1d961e885a7f9415b985a30e74755a8fc839f7ce052ab941f213d434f0765
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.1-py3-none-any.whl

Download URL blender_python_stubs-5.3.0.1-py3-none-any.whl
Size 624.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
108228e9c09390119939340b22d41efe5eec3227abf84a6e24081079393ab8d7
BLAKE2b-256 checksum
How to use checksums
99c1bd96559ebd40b40314f0a7725ebbb6c9451c4a8125ac00e365dc74810f0d
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.1

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