Hacker GitHub

← All repos

prompt-toolkit/python-prompt-toolkit

View on GitHub ↗ ★ 10,607 Python

Library for building powerful interactive command line applications in Python

30 mentions on Hacker News by 28 people: 3 stories, 27 comments · first 2014-09-30 · latest 2025-02-09

Mentions per year 30 mentions · busiest year 2015 (6)
20082026
  1. …TERM in favor of hard-coding escape sequences. Guilty packages include: * ipython/prompt_toolkit ( https://github.com/prompt-toolkit/python-prompt-toolkit ), * chalk ( https://github.com/chalk/chalk ), * linenose (…
    comment by quotemstr · 2025-02-09 · in Some terminal frustrations
  2. …and readline emulation options. Maybe it's something you can integrate with your project. [0] https://github.com/prompt-toolkit/python-prompt-toolkit [1] https://www.pgcli.com/
  3. …instead of visual select): https://gist.github.com/fratajczak/64e32421a43d3b8194d0409ce... [1]: https://github.com/prompt-toolkit/python-prompt-toolkit/blob...
    comment by fratajcz · 2022-11-16 · in Why is the terminal input so weird?
  4. Take a look at prompt_toolkit which is a Python library used by IPython among others: https://github.com/prompt-toolkit/python-prompt-toolkit
  5. …which also handles keyboard and mouse input and can be used to implement editors[2]. [1] https://github.com/prompt-toolkit/python-prompt-toolkit [2] https://github.com/prompt-toolkit/pyvim
    comment by jdnier · 2021-02-16 · in Building Rich Terminal Dashboards
  6. Check out https://github.com/rivo/tview (golang), https://github.com/prompt-toolkit/python-prompt-toolkit (python) and https://github.com/fdehau/tui-rs (rust). Personally I went with prompt toolkit for a work project I had to do in python…
  7. If you know python, there is a package called prompt-toolkit which does what you are looking for https://github.com/prompt-toolkit/python-prompt-toolkit
  8. …go-prompt[0] which is based on python-prompt-toolkit[1] [0] https://github.com/c-bata/go-prompt [1] https://github.com/prompt-toolkit/python-prompt-toolkit
  9. …https://bpython-interpreter.org/ [4] https://github.com/inducer/pudb [5] https://zeitzono.org/ [6] https://github.com/prompt-toolkit/python-prompt-toolkit [7] https://github.com/prompt-toolkit/ptpython
  10. …toolkit [0] and click [1] are used to create tools like pgcli [2], which is utterly wonderful. [0]: https://github.com/prompt-toolkit/python-prompt-toolkit [1]: https://click.palletsprojects.com/en/7.x/ [2]: https://www.pgcli.com/
  11. …[0]: https://github.com/eliangcs/http-prompt [1]: https://github.com/c-bata/go-prompt [2]: https://github.com/prompt-toolkit/python-prompt-toolkit
  12. ▲ 6
    Python-prompt-toolkit: build powerful interactive command line apps
    story by tambourine_man · 2019-01-05 · 0 comments
  13. …IPython like widgets. The %autoreload magic has been improved as well[2]. Great release overall! 1. https://github.com/jonathanslenders/python-prompt-toolkit 2. https://ipython.readthedocs.io/en/stable/whatsnew/version7.h...
    comment by orf · 2018-09-27 · in IPython 7.0 Released
  14. …shell to do something in AWS. [0] https://github.com/awslabs/aws-shell [1] https://www.dbcli.co [2] https://github.com/jonathanslenders/python-prompt-toolkit
  15. I think this is quite popular: https://github.com/jonathanslenders/python-prompt-toolkit For Rust this library seems nice: https://github.com/kbknapp/clap-rs (it generates autocompletion scripts for shells)
  16. Thanks Jonathan Slenders for the solid library backing these: https://github.com/jonathanslenders/python-prompt-toolkit See also: https://github.com/jonathanslenders/ptpython , https://github.com/jonathanslenders/pymux ,…
    comment by git-pull · 2017-12-23 · in DBCLI – Modern Suite of Database CLIs
  17. …native code and static binaries and overall lends a simpler packaging and distribution experience. https://github.com/jonathanslenders/python-prompt-toolkit
  18. Thinking about it now, I think we could get 90% of the way there just using python-prompt-toolkit. https://github.com/jonathanslenders/python-prompt-toolkit
    comment by Cieplak · 2017-05-26 · in Coroutines are now in Clang trunk, libc++
  19. Python prompt toolkit is worth a look https://github.com/jonathanslenders/python-prompt-toolkit/bl...
  20. …[1]: https://github.com/scopatz/xonsh/pull/829 [2]: https://github.com/donnemartin/gitsome [3]: https://github.com/jonathanslenders/python-prompt-toolkit
    comment by donnemartin · 2016-05-11 · in The xonsh shell
  21. ▲ 9
    Python Prompt Toolkit
    story by jaybosamiya · 2016-04-18 · 0 comments
  22. The autocompleter feature looks neat, it's built on top of python-prompt-toolkit [0]. [0] https://github.com/jonathanslenders/python-prompt-toolkit
    comment by daw___ · 2016-04-18 · in Browse Hacker News Like a Haxor
  23. I'm not sure if this particular tool makes use of it but saws uses the python-prompt-toolkit - https://github.com/jonathanslenders/python-prompt-toolkit
  24. …gifs. More generally, build your own tools like this with the excellent Python Prompt Toolkit! ( https://github.com/jonathanslenders/python-prompt-toolkit )
    comment by thomasballinger · 2015-09-27 · in Autocomplete as an interface
  25. The tool looks fantastic. Well done! I like how prompt_toolkit ( https://github.com/jonathanslenders/python-prompt-toolkit ) is inspiring a lot of these user friendly command line tools.
    comment by amjith · 2015-09-21 · in Show HN: SAWS: A Supercharged AWS CLI
  26. …) is also a pretty slick vim clone in python that uses the python prompt toolkit ( https://github.com/jonathanslenders/python-prompt-toolkit )
  27. …scores into large spreadsheets and I want to replace that with sqlite. And thanks for this one: https://github.com/jonathanslenders/python-prompt-toolkit/tr...
  28. …(core library) which is the basis for pyvim (same author), is well structured and modular. https://github.com/jonathanslenders/python-prompt-toolkit There are plenty of examples in the repo that cover most of the features in the library.…
    comment by amjith · 2015-04-26 · in Pure Python Vim clone
  29. …and syntax highlighting. There is a proof of concept of what the integration could look like: https://github.com/jonathanslenders/python-prompt-toolkit/bl... But in the end it would be nice to have this as a part of IPython itself.
  30. ▲ 173
    Python REPL with syntax highlighting, autocomplete and multiline editing
    story by tbrock · 2014-09-30 · 36 comments