Blender Notebook
A simple command line tool to wrap blender 2.8+ as a jupyter kernel.
Blender's python API requires its embedded python interpreter. As of Blender 4.3, python 3.11 is packaged. In order to make ipykernel and other pip packages accessible to Blender, the site-packages directory of the python interpreter executing blender_notebook will be added to Blender's python path. Therefore, it's highly recommended to use exactly the same python version as your blender.
Installation
The easiest way to install blender_notebook is via pip:
$ python -m pip install blender_notebook
It can also be installed from source:
$ python -m pip install -e .
Usage
If blender in installed by a package manager, the easiest way to find the executable path is:
$ which blender
/snap/bin/blender
In my case, blender is installed from snap.
On MacOS, the blender executable path is usually:
/Applications/Blender.app/Contents/MacOS/Blender
On Windows, the blender executable path is usually:
C:\Program Files\Blender Foundation\Blender 4.3\blender.exe
Then, run the blender_notebook CLI (replace "snap/bin/blender" with your blender executable path):
$ blender_notebook install --blender-exec="/snap/bin/blender"
Saving files to ~/.local/share/jupyter/kernels/blender
If you launch jupyter notebook as usual, a new kernel named blender should be available.
$ jupyter kernelspec list
Available kernels:
blender ~/.local/share/jupyter/kernels/blender
$ jupyter notebook
You can also delete the kernel:
$ blender_notebook remove
Are you sure to delete ~/.local/share/jupyter/kernels/blender ? [y/N]: y
blender jupyter kernel is removed!
Development:
- uv sync
- uv build
- uv publish
Changelog
0.0.4
- ajust README to Blender 4.3
- Change build system from setup.py to pyproject.toml
Metadata
Release files for blender_notebook 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blender_notebook-0.0.4.tar.gz | 5.7 kB | Without provenance | Details for blender_notebook-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blender_notebook-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for blender_notebook-0.0.4-py3-none-any.whl |
Total release size: 12.4 kB
Release files / blender_notebook-0.0.4.tar.gz
| Download URL | blender_notebook-0.0.4.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab922d5cc7fd5722be9a0bb81a1e286d8ff11987a7e6c6f0afcede00bb9603b0
|
|
BLAKE2b-256 checksum How to use checksums |
a361f8e92020f497a6e2d8a075c7b98ac50e47f77d300ed5737e3f73457a3654
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.8
|
Release files / blender_notebook-0.0.4-py3-none-any.whl
| Download URL | blender_notebook-0.0.4-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
063f460f6b7f0e06f8b3788fdd64f1ebaf5893926bb4d0f9f350b75c8cd78e6f
|
|
BLAKE2b-256 checksum How to use checksums |
00c4810c020ad7b0b5e4f8d5ef605724b624cedea179061cbfd353ffaa2b121d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.8
|
Security for blender_notebook 0.0.4
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.