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.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file flask-shell-ptpython2-1.0.7.tar.gz
.
File metadata
- Download URL: flask-shell-ptpython2-1.0.7.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d9fa02739f6349fff5506e782c7364f727f74c8709253c24710b928fcb6a31 |
|
MD5 | 4814a9ad860391c23a72924aa3a37f56 |
|
BLAKE2b-256 | 0b7f367f983eae13d14e18626144d6128f612bcac6270c90a9382ac57853f5c3 |
File details
Details for the file flask_shell_ptpython2-1.0.7-py3-none-any.whl
.
File metadata
- Download URL: flask_shell_ptpython2-1.0.7-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81452990758fc3be7df1aaa70e8e65bb701e5e78f83205b97cf142cfb5079f67 |
|
MD5 | 86a5b02f177dcf02918bd2b2fdab0f2f |
|
BLAKE2b-256 | 5a2e0e45ead0e74bcee1277da5913a9456d337a6dfd785f0e0cfae29d9de504e |