https://github.com/tgoddessana/flask-moreshell
Flask shell with IPython, BPython, PTPython! 🌈
https://github.com/tgoddessana/flask-moreshell
flask python
Last synced: 2 months ago
JSON representation
Flask shell with IPython, BPython, PTPython! 🌈
- Host: GitHub
- URL: https://github.com/tgoddessana/flask-moreshell
- Owner: TGoddessana
- License: mit
- Created: 2023-02-28T11:13:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-27T12:40:32.000Z (2 months ago)
- Last Synced: 2025-04-27T13:35:24.677Z (2 months ago)
- Topics: flask, python
- Language: Python
- Homepage: https://flask-moreshell.readthedocs.io/en/latest/
- Size: 964 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Flask Moreshell
flask shell with IPython, BPython, PTPython!
[][pypi_]
[][status]
[][python version]
[][license][][read the docs]
[][tests]
[][codecov][][pre-commit]
[][black][pypi_]: https://pypi.org/project/flask-moreshell/
[status]: https://pypi.org/project/flask-moreshell/
[python version]: https://pypi.org/project/flask-moreshell
[read the docs]: https://flask-moreshell.readthedocs.io/
[tests]: https://github.com/tgoddessana/flask-moreshell/actions?workflow=Tests
[codecov]: https://app.codecov.io/gh/tgoddessana/flask-moreshell
[pre-commit]: https://github.com/pre-commit/pre-commit
[black]: https://github.com/psf/black## Features
This package provides functionality to allow flask shell commands to be used with the ipython, bpython, and ptpython
shells.## Requirements
- Python 3.9+
- Flask 2.3+## Installation
You can install _Flask Moreshell_ via [pip] from [PyPI]:
```console
$ pip install flask-moreshell
```or anything else that can install packages from PyPI. for example, [poetry](https://python-poetry.org/)
or [pipenv](https://pipenv.pypa.io/en/latest/).## Usage
after the package is installed, you can use the `flask shell` command as usual.
```shell
$ flask shell
```and 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.
## Contributing
Contributions are very welcome.
To learn more, see the [Contributor Guide].## License
Distributed under the terms of the [MIT license][license],
_Flask Moreshell_ is free and open source software.## Issues
If you encounter any problems,
please [file an issue] along with a detailed description.[pypi]: https://pypi.org/
[file an issue]: https://github.com/tgoddessana/flask-moreshell/issues
[pip]: https://pip.pypa.io/[license]: https://github.com/tgoddessana/flask-moreshell/blob/main/LICENSE
[contributor guide]: https://github.com/tgoddessana/flask-moreshell/blob/main/CONTRIBUTING.md
[usage]: https://flask-moreshell.readthedocs.io/en/latest/usage.html