Skip to main content

TouchDesigner Framework CLI scaffold tool for opinionated State Driven Command and Control/Code Driven project architecture

Project description

Coverage License: MIT

tdfw

TouchDesigner Framework CLI scaffold tool with an opinionated slant towards State Driven/Code Driven project architecture.

About

Hi, I'm Michael. I play guitar and write code. I was introduced to TouchDesigner by my friend Andrew Zolty, who's also known as BREAKFAST. He's an incredible kinetic artist.

Getting started with TouchDesigner as a GUI never really happened for me. I started a few YouTube courses on it but didn't have the time to follow through and learn how to use the interface.

But the concept of a network of nodes and subnodes made sense to my programmer/software engineer brain. I thought "there must be a purely code driven way to architect these TouchDesinger apps". So I looked on YouTube and found this video (read more about that in BACKGROUND.md). I was thrilled and what has resulted is essentially this tool which abstracts out all the boilerplate he gives.

How To Use

# 1. Install prerequisites

# Make sure Python is installed and matches the TouchDesigner distributions version and a package manager like uv is available globally.

# 2. Install tdfw globally
uv pip install --upgrade tdfw

# 3. Confirm installation and explore options
tdfw help

# 4. Doctor check (optional but recommended)
# Ensures uv/pip/conda and TouchDesigner paths are set up correctly.
tdfw doctor

# 5. Scaffold a new TouchDesigner App
tdfw start-app <MyFirstApp>

# 6. Open your app in your editor
cd <MyFirstApp>
code .   # or cursor ., vim ., etc.

# 7. Create Python Extension stubs
# Run from your TouchDesigner Project Root (the dir with <MyFirstApp>.toe)
tdfw create-ext <MyFirstExt>

# 8. Manage environments
# Initialize a uv environment (falls back to pip if uv is missing)
tdfw init-env <MyAppEnv>

# Export reproducible requirements for TouchDesigner
tdfw export-env --manager uv --output requirements.txt

# Import environment from requirements.txt or environment.yml
tdfw import-env requirements.txt

Philosophy

Legibility first: Every scaffolded app reads like a table of contents. Extensions are explicit, declarative, and easy to debug.

Environment reproducibility: uv.lock for developers, requirements.txt or environment.yml for TouchDesigner. Both humans and TD can bootstrap consistently.

Cross‑platform ready: .bat for Windows, .bash for macOS/Linux, with override support for TouchDesigner executable paths.

Doctor mindset: Always check your system before scaffolding — tdfw doctor ensures you’re ready.

Iterative growth: Start simple (one app, one extension), then evolve into complex state‑machine architectures without spaghetti networks.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tdfw-0.1.3.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tdfw-0.1.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file tdfw-0.1.3.tar.gz.

File metadata

  • Download URL: tdfw-0.1.3.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tdfw-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e0117e32c0c44515aa741485ec70a349f8e89c0eb2b2465567433707b7dab9a8
MD5 97e390ad6ce4c902f34678f0eabd4c62
BLAKE2b-256 1c6e261b1ccc80e48387c07eb346f9f6966306c4cb9626e0efcedb269ba0e7c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for tdfw-0.1.3.tar.gz:

Publisher: publish.yaml on MichaelKramerGuitar/tdfw

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tdfw-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: tdfw-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tdfw-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 56b44224ab6d52c7a0492266c177c2ae78d37f465c4085553c3b548589025324
MD5 59f7cb9984f00fbc20285fc303faecfb
BLAKE2b-256 0e36d3336742dd663860e75a150a47cb6d44b72150d1a58da6cc82d20eb82550

See more details on using hashes here.

Provenance

The following attestation bundles were made for tdfw-0.1.3-py3-none-any.whl:

Publisher: publish.yaml on MichaelKramerGuitar/tdfw

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page