Skip to main content

A python package for making simple repls

Project description

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()

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

ezrepl-1.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

ezrepl-1.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page