Temporal

Framework
Temporal
Publisher
Jetify
{
  "packages": [
    "python310Packages.pip",
    "python310Packages.pylint",
    "python310Packages.black",
    "python310Packages.isort",
    "python310Packages.mypy",
    "temporalite",
    "temporal-cli",
    "python310@latest"
  ],
  "shell": {
    "init_hook": [
      "echo 'Setting flags to allow Python C extension compilation'",
      "export NIX_CFLAGS_COMPILE=\"$NIX_CFLAGS_COMPILE $(cat $(dirname $(command -v clang))/../nix-support/libcxx-cxxflags)\"",
      "echo 'Setting up virtual environment'",
      ". $VENV_DIR/bin/activate"
    ],
    "scripts": {
      "start-temporal": "temporalite start --namespace default --log-level warn --log-format pretty --ephemeral"
    }
  }
}

Temporal

Built with Devbox

Example devbox for testing and developing Temporal workflows using Temporalite and the Python Temporal SDK.

For more details, check out:

Starting Temporal

devbox run start-temporal

This will start the temporalite server for testing.

  • You can view the WebUI at localhost:8233
  • By default, Temporal will listen for activities/requests on port 7233

Starting a Devbox Shell

devbox shell

This will activate a virtual environment and install the Temporal Python SDK.

Testing the Temporal Workflows

From inside your devbox shell

cd temporal_example/hello
python run hello_activity.py

This should start the workflow using temporalite.

README.md

Level up your dev environment

Checkout the Devbox and Launchpad open-source codebases on Github. Feature requests are always welcome.
Try Devbox Cloud
YOUR INPUT COUNTS

Join the community

Discuss ideas, uses and builds with the Jetpack team and others.