Skip to main content

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

Project description

This is hopefully a temporary fork of https://github.com/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.

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

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

flask-shell-ptpython2-1.0.7.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

flask_shell_ptpython2-1.0.7-py3-none-any.whl (4.1 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