Skip to main content

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.

Metadata

Release files for flask-moreshell 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flask-moreshell 0.1.5
File Size Uploaded Provenance Actions
flask_moreshell-0.1.5.tar.gz 5.5 kB Without provenance Details for flask_moreshell-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flask-moreshell 0.1.5
File Interpreter ABI Platform Actions
flask_moreshell-0.1.5-py3-none-any.whl Python 3 none any Details for flask_moreshell-0.1.5-py3-none-any.whl

Total release size: 13.4 kB

Release files / flask_moreshell-0.1.5.tar.gz

Download URL flask_moreshell-0.1.5.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
af623514f1c7476a3fdebe8b7c49c02359151a06080c6d14bb21e6b947766fe7
BLAKE2b-256 checksum
How to use checksums
64a890ee7e1549af7b5cda04648b9fc2eed71317403efe233fbdb0a7b1672eff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / flask_moreshell-0.1.5-py3-none-any.whl

Download URL flask_moreshell-0.1.5-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71e6629575e2c04f8fd1ff74645afe6160b47efec7083d91a53e2c9f8cfcbf8f
BLAKE2b-256 checksum
How to use checksums
21bafa2adab81c16f44015bb44bfdb2d6b0209b5af7d97dca755ac56c998f515
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for flask-moreshell 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page