MCPcopy Index your code
hub / github.com/nutti/fake-bpy-module

github.com/nutti/fake-bpy-module @main sqlite

repository ↗ · DeepWiki ↗
717 symbols 3,259 edges 70 files 23 documented · 3%
README

Fake Blender Python API module collection: fake-bpy-module

fake-bpy-module is the collections of the fake Blender Python API modules for the code completion in commonly used IDEs.

Note: The similar project for Blender Game Engine (BGE) is available on fake-bge-module which targets UPBGE.

fake-bpy-module Thumbnail

To realize the long support of this project, your support is helpful. You can support the development of this project via GitHub Sponsors. See the contribution document for the detail of the support.

Requirements

fake-bpy-module uses typing module and type hints which are available from Python 3.8. Check your Python version is >= 3.8.

Install

fake-bpy-module can be installed via a pip package, or pre-generated modules. You can also generate and install modules manually.

Install via pip package

fake-bpy-module is registered to PyPI.
You can install it as a pip package.

Install a latest package

If you install fake-bpy-module for Blender latest build (main branch daily build powered by nutti/blender-daily-build), run below command.

pip install fake-bpy-module

or, specify version "latest".

pip install fake-bpy-module-latest

Install a version specific package

If you want to install a version specific package, run below command.

pip install fake-bpy-module-<version>

If you install fake-bpy-module for Blender 2.93, run below command.

pip install fake-bpy-module-2.93

Note: For PyCharm users, change the value idea.max.intellisense.filesize in idea.properties file to more than 2600 because some modules have the issue of being too big for intelliSense to work.

Supported Blender Version
Version PyPI
2.78 https://pypi.org/project/fake-bpy-module-2.78/
2.79 https://pypi.org/project/fake-bpy-module-2.79/
2.80 https://pypi.org/project/fake-bpy-module-2.80/
2.81 https://pypi.org/project/fake-bpy-module-2.81/
2.82 https://pypi.org/project/fake-bpy-module-2.82/
2.83 https://pypi.org/project/fake-bpy-module-2.83/
2.90 https://pypi.org/project/fake-bpy-module-2.90/
2.91 https://pypi.org/project/fake-bpy-module-2.91/
2.92 https://pypi.org/project/fake-bpy-module-2.92/
2.93 https://pypi.org/project/fake-bpy-module-2.93/
3.0 https://pypi.org/project/fake-bpy-module-3.0/
3.1 https://pypi.org/project/fake-bpy-module-3.1/
3.2 https://pypi.org/project/fake-bpy-module-3.2/
3.3 https://pypi.org/project/fake-bpy-module-3.3/
3.4 https://pypi.org/project/fake-bpy-module-3.4/
3.5 https://pypi.org/project/fake-bpy-module-3.5/
3.6 https://pypi.org/project/fake-bpy-module-3.6/
4.0 https://pypi.org/project/fake-bpy-module-4.0/
4.1 https://pypi.org/project/fake-bpy-module-4.1/
4.2 https://pypi.org/project/fake-bpy-module-4.2/
4.3 https://pypi.org/project/fake-bpy-module-4.3/
4.4 https://pypi.org/project/fake-bpy-module-4.4/
4.5 https://pypi.org/project/fake-bpy-module-4.5/
5.0 https://pypi.org/project/fake-bpy-module-5.0/
5.1 https://pypi.org/project/fake-bpy-module-5.1/
latest https://pypi.org/project/fake-bpy-module/
https://pypi.org/project/fake-bpy-module-latest/

Install via pre-generated modules

Download Pre-generated modules from Release page.

The process of installation via pre-generated modules is different by IDE. See the installation processes as follows for detail.

Generate Modules Manually

You can also generate modules manually. See Generate Module for detail.

Change Log

See CHANGELOG.md

Bug report / Feature request / Disscussions

If you want to report bug, request features or discuss about this project, see ISSUES.md.

fake-bpy-module channel is available on the Discord server.
The timely discussion and release announcement about fake-bpy-module will be made in this channel.

Contribution

If you want to contribute to this project, see CONTRIBUTING.md.

Project Authors

Owner

@nutti

Indie Game/Application Developer.
Especially, I spend most time to improve Blender and Unreal Game Engine via providing the extensions.

Support via GitHub Sponsors

Reviewer

Contributors

Core symbols most depended-on inside this repo

element
called by 299
src/fake_bpy_module/analyzer/nodes.py
astext
called by 196
src/fake_bpy_module/analyzer/roles.py
find_children
called by 138
src/fake_bpy_module/utils.py
make_data_type_node
called by 99
src/fake_bpy_module/analyzer/nodes.py
analyze
called by 80
src/fake_bpy_module/analyzer/analyzer.py
append_child
called by 68
src/fake_bpy_module/analyzer/nodes.py
format
called by 64
src/fake_bpy_module/generator/code_writer.py
addln
called by 62
src/fake_bpy_module/generator/code_writer.py

Shape

Method 474
Class 138
Function 105

Languages

Python100%

Modules by API surface

src/fake_bpy_module/generator/translator.py79 symbols
tests/python/fake_bpy_module_test/fake_bpy_module_test/transformer_test.py77 symbols
src/fake_bpy_module/analyzer/nodes.py59 symbols
tests/python/fake_bpy_module_test/fake_bpy_module_test/generator_test.py39 symbols
src/fake_bpy_module/transformer/format_validator.py33 symbols
src/fake_bpy_module/analyzer/directives.py32 symbols
tests/python/fake_bpy_module_test/fake_bpy_module_test/analyzer_test.py29 symbols
src/fake_bpy_module/generator/writers.py27 symbols
src/fake_bpy_module/transformer/data_type_refiner.py24 symbols
src/fake_bpy_module/config.py20 symbols
src/gen_modfile/gen_external_modules_modfile.py17 symbols
src/fake_bpy_module/generator/code_writer.py17 symbols

Dependencies from manifests, versioned

Pygments2.20.0 · 1×
docutils0.20.1 · 1×
pylint3.2.6 · 1×
pyyaml6.0.0 · 1×
ruff0.15.5 · 1×
setuptools78.1.1 · 1×
yapf0.40.2 · 1×

For agents

$ claude mcp add fake-bpy-module \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact