flask shell with IPython, BPython, PTPython!
This package provides functionality to allow flask shell commands to be used with the ipython, bpython, and ptpython shells.
- Python 3.9+
- Flask 2.3+
You can install Flask Moreshell via pip from PyPI:
$ pip install flask-moreshellor anything else that can install packages from PyPI. for example, poetry or pipenv.
after the package is installed, you can use the flask shell command as usual.
$ flask shelland you can see python REPLs like this, with flask app loaded.
By default, make sure that ipython, bpython, and ptpython are installed in your current virtual environment. When
you
use the flask shell command, the package will look for and load the Python REPLs in that order.
if you want to use a specific shell, you can use the --shelltype option.
see Usage for more information.
Contributions are very welcome. To learn more, see the Contributor Guide.
Distributed under the terms of the MIT license, Flask Moreshell is free and open source software.
If you encounter any problems, please file an issue along with a detailed description.
