Skip to main content

VisualPy

PyPI version Downloads Python versions License GitHub stars

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

Interactive Console Options Showcase

CPython Environment

CPython Runtime

Auto-Completion & Import Hints

Import Hints Import Completion

Themes

Dark Theme (Default)

Dark Theme

Light Theme (--darkbg flag)

Light Theme

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)

Source distribution for VisualPy 1.1.1
File Size Uploaded
visualpy-1.1.1.tar.gz 10.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for VisualPy 1.1.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page