Skip to main content

Replace the default ``flask shell`` command with a similar one running PTPython.

Project description

https://travis-ci.org/jacquerie/flask-shell-ptpython.svg?branch=master

About

Replace the default flask shell command with a similar one running PTPython. Inspired by flask-shell-ipython by @ei-grad.

Install

flask-shell-ptpython is on PyPI, so all you have to do is:

$ pip install flask-shell-ptpython

Usage

flask-shell-ptpython hooks itself into Flask through an entry point, so all you have to do is:

$ flask shell

Alternatives

If you prefer BPython you can use flask-shell-bpython, while if you prefer IPython you can use flask-shell-ipython.

Author

Jacopo Notarstefano (@Jaconotar)

License

MIT

Supported by

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