https://github.com/jacquerie/flask-shell-ptpython
Replace the default flask shell command with a similar one running PTPython.
https://github.com/jacquerie/flask-shell-ptpython
flask ptpython python
Last synced: 2 months ago
JSON representation
Replace the default flask shell command with a similar one running PTPython.
- Host: GitHub
- URL: https://github.com/jacquerie/flask-shell-ptpython
- Owner: jacquerie
- License: mit
- Created: 2016-07-12T23:16:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T10:50:19.000Z (about 3 years ago)
- Last Synced: 2025-09-02T05:58:14.251Z (7 months ago)
- Topics: flask, ptpython, python
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 13
- Watchers: 2
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
======================
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