Skip to main content

A lightweight studio/CLI scaffold for pydantic-graph projects.

Project description

Pydantic Graph Studio

A lightweight studio/CLI scaffold for pydantic-graph projects.

Quickstart with uvx

Run built-in examples without cloning the repo:

uvx pydantic-graph-studio example list
uvx pydantic-graph-studio example graph
uvx pydantic-graph-studio example parallel-joins

Built-in example themes:

  • graph (branching and loops)
  • parallel-joins (parallel/fork-join)
  • error-handling (explicit error path and recovery)
  • tool-usage (tool invocation and result handling)
  • streaming-events (event-rich run)
  • human-in-the-loop (simulated user input step)

The studio opens in your browser automatically. It binds to port 8000 by default and retries 8001 if 8000 is already in use and you did not set --port.

Common flags:

  • --no-open to disable browser auto-open
  • --host to change the bind host
  • --port to choose a specific port

Run your own graph

Use the CLI with a module or file reference:

pgraph module:graph
pgraph path/to/file.py:graph

You can also run with uvx directly:

uvx pydantic-graph-studio module:graph
uvx pydantic-graph-studio path/to/file.py:graph

If the graph has multiple entry nodes, pass --start with the node id.

Examples in this repo

The repository examples are in examples/:

pgraph examples/graph.py:graph
pgraph examples/parallel_joins.py:graph
pgraph examples/error_handling.py:graph
pgraph examples/tool_usage.py:graph
pgraph examples/streaming_events.py:graph
pgraph examples/human_in_the_loop.py:graph

Release

Releases are published automatically to PyPI via GitHub Actions using Trusted Publishing (OIDC).

Release rules:

  • Tag format MUST be vX.Y.Z (e.g., v0.2.0)
  • Tag version MUST match version in pyproject.toml
  • Publish happens when a GitHub Release is published

Process:

  1. Update version in pyproject.toml
  2. Create a git tag vX.Y.Z
  3. Publish a GitHub Release from that tag

Notes:

  • The PyPI project must be configured for Trusted Publishing with this GitHub repository.

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

pydantic_graph_studio-0.2.0.tar.gz (191.6 kB view details)

Uploaded Source

Built Distribution

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

pydantic_graph_studio-0.2.0-py3-none-any.whl (202.1 kB view details)

Uploaded Python 3

File details

Details for the file pydantic_graph_studio-0.2.0.tar.gz.

File metadata

  • Download URL: pydantic_graph_studio-0.2.0.tar.gz
  • Upload date:
  • Size: 191.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pydantic_graph_studio-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2e2fe8c488e61b39f69b0cd8121729de2c6c50e08c1690592ae4f1a945aaa79d
MD5 1f0c05955ccdc5d058864d786f1ff723
BLAKE2b-256 6006f044289395b63f116ffe610aa79cc5c7ab2a86f13766071d075339e03ad2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydantic_graph_studio-0.2.0.tar.gz:

Publisher: pypi-release.yml on chainyo/pydantic-graph-studio

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

File details

Details for the file pydantic_graph_studio-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pydantic_graph_studio-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1eba99cba6c2d82e61b411a5d50f6c564bdaee2640751924ae514b22bdce08f7
MD5 be8027cee26862ba89376760cceec085
BLAKE2b-256 e996a72bfd80b55ef82412b23cbbde3c2b2d6dde9b13e4293080a0b68026afad

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydantic_graph_studio-0.2.0-py3-none-any.whl:

Publisher: pypi-release.yml on chainyo/pydantic-graph-studio

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