Skip to content

Releases: entangled/repl-session

repl-session 0.2.0

29 Sep 06:56

Choose a tag to compare

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_prompt to prompt
  • add continuation_prompt setting to handle entry of partial expressions
  • enable logging with -l to allow for debugging REPL settings
  • add environment setting to set environment variables
  • add example that works with Python 3.13 REPL

repl-session 0.1.0

21 Sep 12:48

Choose a tag to compare

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!