Skip to main content

Execution graph middleware for Styx

Project description

Project name

Build codecov Ruff stability-stable MIT License pages

Usage

from styxdefs import set_global_runner, get_global_runner
from styxgraph import GraphRunner

set_global_runner(DockerRunner())  # (Optional) Use any Styx runner like usual
set_global_runner(GraphRunner(get_global_runner()))  # Use GraphRunner middleware

# Use any Styx functions as usual
# ...

print(get_global_runner().mermaid())  # Print mermaid diagram

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

styxgraph-0.5.0.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

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

styxgraph-0.5.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file styxgraph-0.5.0.tar.gz.

File metadata

  • Download URL: styxgraph-0.5.0.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for styxgraph-0.5.0.tar.gz
Algorithm Hash digest
SHA256 c38c10e35572a850a093d3d49686ccc0021341d9b963f5313672970683b5c338
MD5 551dc54ba2087619faba5f4427cfa875
BLAKE2b-256 05a0e5c72800008bfe3c6f26e1017eea9acf4a8a20f5bf8ca74fe13bbe386772

See more details on using hashes here.

File details

Details for the file styxgraph-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: styxgraph-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for styxgraph-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca401270455494d9d3d55ab60e6b83d1ba6d6cb64bd531a089e490d898521741
MD5 0580efbe0d5055023bd3fdeea64279d0
BLAKE2b-256 561b4185552e4e013ed555be6709df9b9be8b3146850384d5f8bfa548f71a439

See more details on using hashes here.

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