The official Blender Python module (bpy) allows you to run Blender's 3D modeling, animation, rendering, and scripting capabilities directly from Python, bypassing the GUI. Version 5.1.1 is the latest release, supporting Python 3.13 only. Updates are tied to Blender releases (roughly every 3-4 months).
pip install bpyVerified import paths — ran on the pinned version, not inferred.
Minimal example: imports bpy, clears scene, adds Suzanne the monkey, and prints the object name.
Use Python 3.13 exactly. Check with `python --version`.
Always match the bpy version to your Blender version if using Blender's bundled Python. For standalone use, check release notes.
Use a virtual display like Xvfb: `xvfb-run python script.py` or set `DISPLAY=:99`.
Check Blender API docs for updated operators. Use `bpy.ops.mesh.primitive_monkey_add()` instead of legacy calls.
No dependency data recorded yet.