bpython is an interactive Python interpreter that adds useful development features while retaining the simplicity of the standard Python shell. It brings together intelligent completion, syntax highlighting and contextual assistance in a lightweight terminal-based environment.
The application is intended for programmers who frequently test small pieces of code, investigate libraries or experiment with Python expressions. Rather than offering the complexity of a complete integrated development environment, bpython concentrates on making interactive programming more convenient.
Its approach is particularly useful when developing functions and exploring unfamiliar APIs. The interpreter presents information about available attributes and function parameters as users type, reducing the need to consult documentation separately.
bpython also provides facilities for revisiting and modifying earlier work during an interactive session. This makes it more flexible than a conventional command prompt, particularly when experimenting with sequences of related statements.
This is free and open source software.
Key Features
- Readline-style autocompletion with suggestions displayed while typing.
- Inline syntax highlighting using the Pygments library.
- Automatic display of expected function parameters and argument information.
- Intelligent indentation to simplify entering Python blocks.
- Rewind functionality that removes previous input and re-evaluates the session.
- Edit the current session using an external text editor and execute the modified code.
- Save interactive commands to a Python source file.
- Send session contents to a configurable pastebin service.
- Reload imported Python modules and rerun the session to test changes.
- Configurable keyboard shortcuts, colour schemes and interpreter behaviour.
- Support for command history and interactive navigation through previous input.
- Alternative interface using the urwid library.
- Optional enhancements for multiline completion and monitoring imported modules.
- Cross-platform support – runs on Linux and macOS.
Website: www.bpython-interpreter.org
Support:
Developer: Bob Farrell and contributors
License: MIT License

bpython is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Open Source Python Shells | |
|---|---|
| IPython | Enhanced interactive Python shell |
| ptpython | Advanced Python Read-Eval-Print Loop |
| bpython | Fancy interface to the Python interpreter for Linux, BSD, OS X and Windows |
| IDLE | Integrated development environment for Python |
| DreamPie | Python shell which is designed to be reliable and fun |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.