Skip to main content

Replace the default ``flask shell`` command with a similar one running PTPython.

Project description

https://travis-ci.org/jacquerie/flask-shell-ptpython.svg?branch=master

About

Replace the default flask shell command with a similar one running PTPython. Inspired by flask-shell-ipython by @ei-grad.

Install

flask-shell-ptpython is on PyPI, so all you have to do is:

$ pip install flask-shell-ptpython

Usage

flask-shell-ptpython hooks itself into Flask through an entry point, so all you have to do is:

$ flask shell

Alternatives

If you prefer BPython you can use flask-shell-bpython, while if you prefer IPython you can use flask-shell-ipython.

Author

Jacopo Notarstefano (@Jaconotar)

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-shell-ptpython-1.0.2.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file flask-shell-ptpython-1.0.2.tar.gz.

File metadata

  • Download URL: flask-shell-ptpython-1.0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14

File hashes

Hashes for flask-shell-ptpython-1.0.2.tar.gz
Algorithm Hash digest
SHA256 f6ddfc08484f4263d545859ceafe6f370bf601832a59b4f5d1afb6880b338953
MD5 870631f95454126a2c79ebc923ff3ff7
BLAKE2b-256 fb6aa788d472e488be4343bae5abb01c1d7f6ba634369315dccf5ceb62ea9276

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