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-opento disable browser auto-open--hostto change the bind host--portto 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
versioninpyproject.toml - Publish happens when a GitHub Release is published
Process:
- Update
versioninpyproject.toml - Create a git tag
vX.Y.Z - Publish a GitHub Release from that tag
Notes:
- The PyPI project must be configured for Trusted Publishing with this GitHub repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e2fe8c488e61b39f69b0cd8121729de2c6c50e08c1690592ae4f1a945aaa79d
|
|
| MD5 |
1f0c05955ccdc5d058864d786f1ff723
|
|
| BLAKE2b-256 |
6006f044289395b63f116ffe610aa79cc5c7ab2a86f13766071d075339e03ad2
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pydantic_graph_studio-0.2.0.tar.gz -
Subject digest:
2e2fe8c488e61b39f69b0cd8121729de2c6c50e08c1690592ae4f1a945aaa79d - Sigstore transparency entry: 923845728
- Sigstore integration time:
-
Permalink:
chainyo/pydantic-graph-studio@bf851937d1f4e2afe84619a4088233566e47d45d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/chainyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yml@bf851937d1f4e2afe84619a4088233566e47d45d -
Trigger Event:
release
-
Statement type:
File details
Details for the file pydantic_graph_studio-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pydantic_graph_studio-0.2.0-py3-none-any.whl
- Upload date:
- Size: 202.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1eba99cba6c2d82e61b411a5d50f6c564bdaee2640751924ae514b22bdce08f7
|
|
| MD5 |
be8027cee26862ba89376760cceec085
|
|
| BLAKE2b-256 |
e996a72bfd80b55ef82412b23cbbde3c2b2d6dde9b13e4293080a0b68026afad
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pydantic_graph_studio-0.2.0-py3-none-any.whl -
Subject digest:
1eba99cba6c2d82e61b411a5d50f6c564bdaee2640751924ae514b22bdce08f7 - Sigstore transparency entry: 923845807
- Sigstore integration time:
-
Permalink:
chainyo/pydantic-graph-studio@bf851937d1f4e2afe84619a4088233566e47d45d -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/chainyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yml@bf851937d1f4e2afe84619a4088233566e47d45d -
Trigger Event:
release
-
Statement type: