rivet icon indicating copy to clipboard operation
rivet copied to clipboard

[Feature]: Documentation on running graphs created in Rivet using Python

Open sjdemartini opened this issue 2 years ago • 1 comments
trafficstars

Feature Request

Super neat project, thanks for open-sourcing! In the Show HN Hacker News post here, it says:

Finally, Rivet is built to be embedded into a larger application (TypeScript for now, but we've also found a way to run it in Python).

I couldn't find any documentation on how to run a Rivet graph via Python (though I did find the example project for executing Python code via Rivet https://github.com/abrenneke/rivet-plugin-example-python-exec). Would it be possible to share how you're running these graphs with Python instead of TypeScript?

Also, I expect it may not be likely, but are there any plans for first-class Python support in the future?

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

sjdemartini avatar Sep 26 '23 00:09 sjdemartini

The WIP code is here, it's still far from complete though https://github.com/Ironclad/rivet/pull/65. Would definitely appreciate any help from people more fluent in Python than I am to get it finished up.

abrenneke avatar Sep 26 '23 19:09 abrenneke