Fancy Completer

0.11.1 · active · verified Sat Apr 11

Fancy Completer (fancycompleter) is a Python module that enhances the interactive Python prompt with colorful, context-aware TAB completion, extending the functionality of the standard library's `rlcompleter`. It highlights different types of completions (strings, functions, numbers, etc.) with distinct colors, improving readability and user experience. The current version is 0.11.1 and it appears to be actively maintained with recent updates and discussions around its integration into CPython.

Warnings

Install

Imports

Quickstart

The primary way to use fancycompleter is by calling `fancycompleter.interact()` to launch an enhanced interactive console. For automatic activation upon Python startup, use the `python -m fancycompleter install` command, which configures the `PYTHONSTARTUP` environment variable.

import fancycompleter

# To start the fancycompleter-enhanced interactive console:
fancycompleter.interact(persist_history=True)

# Alternatively, to enable it automatically upon Python startup,
# you can run 'python -m fancycompleter install' once,
# which typically creates/updates your PYTHONSTARTUP script.

view raw JSON →