Sign inSign up

backplane/bpython

By backplane

Updated about 15 hours ago

python:3-alpine-based dockerization of the bpython interpreter

Image
0

50K+

backplane/bpython repository overview

bpython

python:3-alpine-based dockerization of the bpython interpreter

As their homepage says:

bpython is a fancy interface to the Python interpreter for Linux, BSD, OS X and Windows (with some work). bpython is released under the MIT License. It has the following (special) features:

  • In-line syntax highlighting
  • Readline-like autocomplete with suggestions displayed as you type.
  • Expected parameter list for any Python function.
  • "Rewind" function to pop the last line of code from memory and re-evaluate.
  • Send the code you've entered off to a pastebin.
  • Save the code you've entered to a file.
  • Auto-indentation.
  • Python 3 support.

The source code for this image is hosted on GitHub in the backplane/conex repo.

Usage

Interactive

I use the following shell function to run this image:


bpython() {
  docker run \
    --rm \
    --interactive \
    --tty \
    --volume "$(pwd):/work" \
    "$@" \
    "backplane/bpython"
}

Tag summary

Content type

Image

Digest

sha256:11b882b28

Size

23.5 MB

Last updated

about 15 hours ago

docker pull backplane/bpython