atramentarium

Python3 prompt with simple command completion.


Keywords
command, completion, readline, carlosplanchon, python3
License
GPL-3.0
Install
pip install atramentarium==0.1

Documentation

atramentarium

Python3 prompt with simple command completion.

atramentarium means "inkpot" in late latin.

Installation

Install with pip

pip3 install -U atramentarium

Usage

In [1]: import atramentarium

In [2]: prompt(
    command_processing_function=lambda cmd: print(cmd),
    command_list=["BOB", "ALICE"]
    )
> # Hit tab.
ALICE  BOB
>