Replace the default flask shell
command with a similar one running BPython.
Inspired by flask-shell-ipython by @ei-grad.
flask-shell-bpython
is on PyPI, so all you have to do is:
$ pip install flask-shell-bpython
flask-shell-bpython
hooks itself into Flask through an entry point, so all
you have to do is:
$ flask shell
If you prefer IPython you can use flask-shell-ipython, while if you prefer PTPython you can use flask-shell-ptpython.
Jacopo Notarstefano (@Jaconotar)
MIT