VisualPy
VisualPy is a modern, cross-platform interactive Python console featuring real-time syntax highlighting, autocompletion, import suggestions, and live code hints. Designed as a lightweight alternative to IPython and bpython, it runs seamlessly on both CPython and PyPy runtimes.
Features
- Real-Time Syntax Highlighting: Powered by Pygments with support for dark and light background themes.
- Autocompletion & Tooltips: Code hints for built-ins, standard libraries, and imported modules.
- Dual Runtime Support: Full compatibility with both CPython and PyPy.
- Cross-Platform Clipboard Integration: Effortless code snippet copying and pasting.
- Configurable Lexers: Custom terminal cursor styles and multiple syntax lexer options.
Installation
Via PyPI
pip install VisualPy -U
Via Poetry
poetry add VisualPy
Quick Start
Launch the interactive shell using the installed command-line utility or Python module runner:
vpy
Or via python executable:
python -m vpy
Command-Line Arguments
usage: vpy [-h] [-dbg]
[-lex {PythonLexer,PythonConsoleLexer,PythonTracebackLexer,Python2Lexer,Python2TracebackLexer,CythonLexer,DgLexer,NumPyLexer}]
[-t-lex {PythonLexer,PythonConsoleLexer,PythonTracebackLexer,Python2Lexer,Python2TracebackLexer,CythonLexer,DgLexer,NumPyLexer}]
[-cr CURSOR] [-i INTERACT_IT] [-q]
optional arguments:
-h, --help Show this help message and exit
Highlight Options:
-dbg, --darkbg Adapt syntax colors for dark terminal backgrounds
Lexer Options:
-lex, --lexer Select primary syntax lexer (default: PythonLexer)
-t-lex, --traceback-lexer
Select lexer for traceback formatting (default: PythonTracebackLexer)
-cr, --cursor Set custom interactive prompt cursor string
Python Options:
-i, --interact-it Inspect environment interactively after running script
-q, --quiet Suppress startup version and copyright banner
Screenshots
Interactive Console
CPython Environment
Auto-Completion & Import Hints
Themes
Dark Theme (Default)
Light Theme (--darkbg flag)
License
Distributed under the MIT License. See LICENSE for more details.
Author
Created and maintained by Nikita Denissov (@ndenissov).
Release files for VisualPy 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| visualpy-1.1.1.tar.gz | 10.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| visualpy-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.9 kB
Release files / visualpy-1.1.1.tar.gz
| Download URL | visualpy-1.1.1.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b57df1b3b7ee540c5eb05af5ca24388154e9675a996f8161c28de0c147883bf
|
|
BLAKE2b-256 checksum How to use checksums |
a168b3a5f191c87c45bb6a34d5edd16a48598859620e7fd742b7897bb1e32db3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.13.14 Linux/7.1.4-zen1
|
Release files / visualpy-1.1.1-py3-none-any.whl
| Download URL | visualpy-1.1.1-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
324128952045b3a59d1c359d18f01c7b06e5940ea3c67ca267b9fbb53d24a20c
|
|
BLAKE2b-256 checksum How to use checksums |
96c8a565f8e99381e23eeb87b8fc7ea10c59bedbc9377ef86442a60980909bbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.13.14 Linux/7.1.4-zen1
|