ezrepl

A python package for making simple repls


License
MIT
Install
pip install ezrepl==1.1

Documentation

EZREPL (Python REPL Maker)

made-with-python

Description

A simple REPL maker. For python, made in python. Right now you can make a simple REPL and parse it by making a evaluator class. You can also hook up a HelpMenu class to the repl.

Prerequisites

Installation

pip3 install ezrepl

Contributing

Coming Soon

License

MIT License Here.

Functionality

Simple Repl

import ezrepl

class MyRepl(ezrepl.Repl):
    def evaluator(self, ui):
        if ui == "hello":
            print("sup")

app = MyRepl(prefix="Hi: ", breaker="quit")
app.mainloop()