Skip to main content

Flask Moreshell

Project description

Flask Moreshell

flask shell with IPython, BPython, PTPython!

PyPI Status Python Version License

Read the documentation at https://flask-moreshell.readthedocs.io/ Tests Codecov

pre-commit 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:

$ pip install flask-moreshell

or anything else that can install packages from PyPI. for example, poetry or pipenv.

Usage

after the package is installed, you can use the flask shell command as usual.

$ flask shell

and you can see python REPLs like this, with flask app loaded.

shell_usage

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, Flask Moreshell is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

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_moreshell-0.1.4.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

flask_moreshell-0.1.4-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file flask_moreshell-0.1.4.tar.gz.

File metadata

  • Download URL: flask_moreshell-0.1.4.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for flask_moreshell-0.1.4.tar.gz
Algorithm Hash digest
SHA256 575142f76d9798191b50f424f55aaf92e687c83ac8c4ba1c372944a58e5990d9
MD5 ed1f95c4a0c9c4f6125c64e8963829e8
BLAKE2b-256 7fbc17297f6e97377119d66c3fdf736d9d99d6a3d013b7f98b9f467346446ee1

See more details on using hashes here.

File details

Details for the file flask_moreshell-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for flask_moreshell-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8323fc6e4af5fa9bf685cdc86327a184e2573f33011a9b6c13d716913fa78b27
MD5 058a1d8be063725dea375bee11a1d74f
BLAKE2b-256 3d0c59603e5b804d60b4e769f07377f23599c7242dafcf8144c16b1a588cd5bb

See more details on using hashes here.

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