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).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file visualpy-1.1.1.tar.gz.
File metadata
- Download URL: visualpy-1.1.1.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.13.14 Linux/7.1.4-zen1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b57df1b3b7ee540c5eb05af5ca24388154e9675a996f8161c28de0c147883bf
|
|
| MD5 |
5cec6776a9df510abe08954b0e112155
|
|
| BLAKE2b-256 |
a168b3a5f191c87c45bb6a34d5edd16a48598859620e7fd742b7897bb1e32db3
|
File details
Details for the file visualpy-1.1.1-py3-none-any.whl.
File metadata
- Download URL: visualpy-1.1.1-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.13.14 Linux/7.1.4-zen1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
324128952045b3a59d1c359d18f01c7b06e5940ea3c67ca267b9fbb53d24a20c
|
|
| MD5 |
e3190d9b14bca6c82629ead4bb8ce8af
|
|
| BLAKE2b-256 |
96c8a565f8e99381e23eeb87b8fc7ea10c59bedbc9377ef86442a60980909bbc
|