Skip to main content

flask shell with IPython, BPython, PTPython!

Project description

Flask-Moreshell

Flask-Moreshell is a flask extension which supports ipython, bpython, ptpython shells in flask shell command. inspired by flask-shell-ipython, flask-shell-bpython, flask-shell-ptpython.

Installation

you can install flask-moreshell via pip command.

pip install flask-moreshell

Usage

you can just use this command:

flask shell

and flask-moreshell tries to find this python REPL alternatives:

  1. ipython
  2. bpython
  3. ptpython

if none of them are installed, just default python shell will be executed.

or you can choose specific shell type, via --shelltype option.
ipython, bpython, ptpython are supported.

ipython usage:

flask shell --shelltype ipython

ipython-example.png

bpython usage:

flask shell --shelltype bpython

bpython-example.png

ptpython usage:

flask shell --shelltype ptpython

ptpython-example.png

License

MIT

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.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

flask_moreshell-0.0.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file flask-moreshell-0.0.1.tar.gz.

File metadata

  • Download URL: flask-moreshell-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for flask-moreshell-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5989f7e1390a9baed5e3277fa6af34f98b5552f9c468c1d0044f5fb067c0937f
MD5 ca83637406dbfa430f33c5b330d4d9d6
BLAKE2b-256 2fa0dfd4d38753679678896b1dbbbd1da6c0601e6b537d4d5a35abbb81de8f80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flask_moreshell-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba9ffe3ae38debbb2bf1684837df982b066855f2b556c4933141e7a53189f623
MD5 ef292ffeb1a83baba83114eec93cac20
BLAKE2b-256 e515684de6b51d64f29a76897b5e433f0f973d3c75f488d2afef9f311052ab60

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