Flask-ShellPlus
Flask shell command based on Flask-Script to enhance its shell.
It will automatically use your favorite Python REPL shell instead of the default one. The order is BPython to ptiPython to IPython to ptPython to Python.
Installation
pip is suggested:
pip install flask_shellplus
Usage
Use it with Flask-Script:
from flask_shellplus import Shell
def make_context():
return dict(app=app, db=db, models=models)
manager.add_command('shell', Shell(make_context=make_context))
Run this in your shell:
python manage.py shell
Flask-ShellPlus will find the first available one in BPython, ptiPython, IPython, ptPython, and Python.
Or you can manually define the preferred shell with flag --plain, --bpython, --ptipython, --ipython or --ptpython just like shell_plus in DjangoExtensions.
Enjoy it!
Links
Metadata
Release files for Flask-ShellPlus 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Flask-ShellPlus-0.0.3.tar.gz | 5.6 kB | Without provenance | Details for Flask-ShellPlus-0.0.3.tar.gz |
Release files / Flask-ShellPlus-0.0.3.tar.gz
| Download URL | Flask-ShellPlus-0.0.3.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
149b09b4f27b8ad71abecbbdaefb84ad35b76d45e0d544b5c03e1beb734779be
|
|
BLAKE2b-256 checksum How to use checksums |
27e1570ccbb641a67c8223bc1784a3e7ef75efa48057703591ae1d17c4c91cd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Flask-ShellPlus 0.0.3
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.