Releases: entangled/repl-session
repl-session 0.2.0
Description
This is script that runs a session on any REPL following a description in a JSON or YAML file. The output contains the commands entered and the results given. This can be useful to drive documentation tests or literate programming tasks. This way we decouple running the commands from rendering or presenting the corresponding results, leading to better reproducibility, caching output and modularity w.r.t. any other tools that you may use.
History
v0.1.0: first release!v0.2.0: hardened against type checker, API changes, now works against Python REPL.
Changes in this release
- rename
next_prompttoprompt - add
continuation_promptsetting to handle entry of partial expressions - enable logging with
-lto allow for debugging REPL settings - add
environmentsetting to set environment variables - add example that works with Python 3.13 REPL
repl-session 0.1.0
Description
This is script that runs a session on any REPL following a description in a JSON file. The output contains the commands entered and the results given. This can be useful to drive documentation tests or literate programming tasks. This way we decouple running the commands from rendering or presenting the corresponding results, leading to better reproducibility, caching output and modularity w.r.t. any other tools that you may use.
History
v0.1.0: first release!