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).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

visualpy-1.1.1.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

visualpy-1.1.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

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

Hashes for visualpy-1.1.1.tar.gz
Algorithm Hash digest
SHA256 8b57df1b3b7ee540c5eb05af5ca24388154e9675a996f8161c28de0c147883bf
MD5 5cec6776a9df510abe08954b0e112155
BLAKE2b-256 a168b3a5f191c87c45bb6a34d5edd16a48598859620e7fd742b7897bb1e32db3

See more details on using hashes here.

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

Hashes for visualpy-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 324128952045b3a59d1c359d18f01c7b06e5940ea3c67ca267b9fbb53d24a20c
MD5 e3190d9b14bca6c82629ead4bb8ce8af
BLAKE2b-256 96c8a565f8e99381e23eeb87b8fc7ea10c59bedbc9377ef86442a60980909bbc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page