summaryrefslogtreecommitdiffstats
path: root/prompt_toolkit/__init__.py
blob: 28d7d61745022eca12a01db7ff22b54d93d053af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
"""
prompt_toolkit
==============

Author: Jonathan Slenders

Description: prompt_toolkit is a Library for building powerful interactive
             command lines in Python.  It can be a replacement for GNU
             Readline, but it can be much more than that.

See the examples directory to learn about the usage.

Probably, to get started, you might also want to have a look at
`prompt_toolkit.shortcuts.prompt`.
"""
from .application import Application
from .shortcuts import PromptSession, prompt, print_formatted_text
from .formatted_text import HTML, ANSI


# Don't forget to update in `docs/conf.py`!
__version__ = '2.0.2'


__all__ = [
    # Application.
    'Application',

    # Shortcuts.
    'prompt',
    'PromptSession',
    'print_formatted_text',

    # Formatted text.
    'HTML', 'ANSI',
]