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.0.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.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file visualpy-1.1.0.tar.gz.

File metadata

  • Download URL: visualpy-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 b940a79207d7f5fcd3bed7cb4b9ad5aba7a2d17dedbc34a5e4c1e9992ad3fac0
MD5 746d3481ccaf9d49cac810b5c81eaf6c
BLAKE2b-256 66bf143e21be0c1e2cde2b134051bc2bc83391d5c31a057ac7dff6d562bf1506

See more details on using hashes here.

File details

Details for the file visualpy-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: visualpy-1.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2bf58b157adf137ec7a7459f287e045aef34470a291bb9d2fd51e079c3d52710
MD5 35d4a2636ad2baec34368106ee6537c9
BLAKE2b-256 4e242574df8288ae1223ee03e84f7ca486bc9dfa060d2a2b4eff6bc14666f867

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