GitHunt
XO

xoob/flask-shell-ptpython

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

======================
Flask-Shell-PTPython

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

About

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

.. _flask-shell-ipython: https://github.com/ei-grad/flask-shell-ipython
.. _@ei-grad: https://github.com/ei-grad

Install

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

.. code-block:: console

$ pip install flask-shell-ptpython

Usage

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

.. code-block:: console

$ flask shell

Alternatives

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

.. _flask-shell-bpython: https://github.com/jacquerie/flask-shell-bpython

Author

Jacopo Notarstefano (@Jaconotar_)

.. _@Jaconotar: https://twitter.com/Jaconotar

License

MIT

Languages

Python98.1%Shell1.9%

Contributors

MIT License
Created May 20, 2018
Updated February 6, 2019