VisualPy

Cross-platform python interpreter with highlighting, autocompletion and code hints (Like IPython and BPython)


Keywords
ipython, bpython, vpython, highlight, interpreter, interactive, code, console
License
MIT
Install
pip install VisualPy==0.1.2

Documentation

Interactive console with syntax highlighting and tooltips.

Works with both CPython and PyPy.

Installing

pip install VisualPy -U

Usage

python -m vpy

General

CPython

Imports

Dark Theme (Default) Light Theme (-dbg --darkbg flag)

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:
  Highlight Options

  -dbg, --darkbg        depending on the terminal's background

Lexer:
  Lexer Options

  -lex {PythonLexer,PythonConsoleLexer,PythonTracebackLexer,Python2Lexer,Python2TracebackLexer,CythonLexer,DgLexer,NumPyLexer}, --lexer {PythonLexer,PythonConsoleLexer,PythonTracebackLexer,Python2Lexer,Python2TracebackLexer,CythonLexer,DgLexer,NumPyLexer}
  -t-lex {PythonLexer,PythonConsoleLexer,PythonTracebackLexer,Python2Lexer,Python2TracebackLexer,CythonLexer,DgLexer,NumPyLexer}, --traceback-lexer {PythonLexer,PythonConsoleLexer,PythonTracebackLexer,Python2Lexer,Python2TracebackLexer,CythonLexer,DgLexer,NumPyLexer}
  -cr CURSOR, --cursor CURSOR

Python:
  Python Options

  -i INTERACT_IT, --interact-it INTERACT_IT
                        Inspect interactively after running script
  -q, --quiet           Don't print version and copyright messages on interactive startup