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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

flask_moreshell-0.0.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for flask_moreshell-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b3a6da39d034722117f4fdcbcc23c7ec78c37eb244434655be03359d24f57ff2
MD5 b74da64a27ad08db78b2f908efdb181b
BLAKE2b-256 3cd3e93d29e3572f57193f5ae2cb47948cae6ae3afcf4c8275f962eaffdea0f4

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