A commandline utility that allows management of TouchDesigner from UV.
Windows Only. (PR welcome)
Install
use uv add git+https://github.com/PlusPlusOneGmbH/MonkeyBrain or uv add monkeybrain to add to project.
https://docs.derivative.ca/Palette:tdPyEnvManager
Should use "2025.32260" or later for optimal experience!
Commands
It searches the best installed TouchDesigner version and allows for the following commands. To run the project use
uv run mb edit to launch TouchDesigner
uv run mb designer to launch TouchDesigner and set NODE_ENV to production
uv run mb player to launch TouchPlayer and set NODE_ENV to production
To set up a correct pyproject.toml use uv run mb init.files. It will search for the latest installed TD version if not already specified, as for the first .TOE file it finds and add the specified values to the pyproject.toml.
If the defined version does support it, it will also add the correct settings for the EnvHelper to autoload the correct environment. So convinient!
To setup a good vscode settings, run uv run mb init.code which will create links to all important libs defined in the env-settings. and set the defaultInterpreter.
Both functions are combined in uv run mb init
[tool.monkeybrain]
touchdesigner-version = "2025.32260"
projectfile = "Example.toe"
enforce-version = "strict"
[tool.touchdesigner.TDPyEnvManagerContext]
mode = "Python vEnv"
envName = ".venv"
installPath = "."
extraPaths = [ "src", "${UV_PROJECT_ENVIRONMENT}/Lib/site-packages", ".venv/Lib/site-packages"]
PyProject.toml
The touchlauncher package will use the pyproject.toml file to determin the correct TouchDesigner-Installation and path.
[tool.touchdesigner]
touchdesigner-version = "2025.32260"
# Define the projectfile. Should sit in the root-dir of the project.
projectfile = "Project.toe"
# Defines the behaviour how the TD-Install should be searched for
enforce-version="closest-build"
# Options: ( for example we use the following: Set Version: 2300.12000. Available Version [2025.1000, 2023.2000, 2023.4000]
# strict : looks for the exact version set in the .touchdesigner-version file.
# closest-build : looks for the closes build to the set version while ignoring other versions. - Example: Will pick 2023.2000
# latest-build : looks for the latest build in the same version. - Example: Will pick 2023.4000
# latest-version : simply takes the latest available installed version. Def not suggestes! - Example: Will pick 2025.1000
ENV-Variables
.env files will be mounted before TouchDesigner starts.
You can supply additional search paths by setting TD_INSTALLSEARCHPATH as a ; delimited string.
( i.E. TD_INSTALLSEARCHPATH = "D:/TouchDesigner; E:/TouchDsigner")
Metadata
Release files for monkeybrain 0.5.0
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 |
|---|---|---|---|---|
| monkeybrain-0.5.0.tar.gz | 14.7 kB | Without provenance | Details for monkeybrain-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| monkeybrain-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for monkeybrain-0.5.0-py3-none-any.whl |
Total release size: 29.5 kB
Release files / monkeybrain-0.5.0.tar.gz
| Download URL | monkeybrain-0.5.0.tar.gz |
|---|---|
| Size | 14.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a6d79d9abc88c1ece141db03fc437ad763bf9a21866f50c8d631427db12ea08
|
|
BLAKE2b-256 checksum How to use checksums |
e7fe983f340ce1d83c89a00d2fd5efbead62d76c96a7a16a2928c14b8cc61a33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / monkeybrain-0.5.0-py3-none-any.whl
| Download URL | monkeybrain-0.5.0-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2596f33ba889bd24c115695dbee860575eb29a66cdfbd97ae2cb9f65ba37f93
|
|
BLAKE2b-256 checksum How to use checksums |
3cb8bf5fd05dde0e56e43315e1b5a5f42574b1e3fa04013475cfa7a26d9bca7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for monkeybrain 0.5.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.