Xonsh is a Python-ish, BASHwards-looking shell language and command prompt. The language is a superset of Python 3.4+ with additional shell primitives that you are used to from Bash and IPython. It works on all major systems including Linux, Mac OSX, and Windows. Xonsh is meant for the daily use of experts and novices alike.
At a glance
- Tutorial: History
- Tutorial: Extensions
- Bash to Xonsh Translation Guide
- Python Virtual Environments
Configuration & Setup:
- Run Control File
- Snippets for xonshrc
- Static Configuration File
- Environment Variables
- Built-in Aliases
Xonsh is significantly different from most other shells or shell tools. The following table lists features and capabilities that various tools may or may not share.
|Native cross-platform support||✓||✓||✓||✓|
|Meant as a shell||✓||✓||✓||✓|
|Large standard library||✓||✓||✓|
|Syntax highlighting||✓||in notebook||w/ prompt-toolkit|
|Pun in name||✓||✓||✓|
Xonsh currently has the following external dependencies,
- Python v3.4+
- PLY (optional, included with xonsh)
- prompt-toolkit (optional)
- Jupyter (optional)
- setproctitle (optional)
- distro (optional)
We highly encourage contributions to xonsh! If you would like to contribute, it is as easy as forking the repository on GitHub, making your changes, and issuing a pull request. If you have any questions about this process don’t hesitate to ask the mailing list ( xonsh @ googlegroups . com ).
If you have questions or comments, please send them to the mailing list xonsh @ googlegroups . com , page us on IRC, contact the author directly, or open an issue on GitHub. Join the mailing list here!
转载本站任何文章请注明：转载至神刀安全网，谢谢神刀安全网 » Xonsh: a Python-ish, BASHwards-looking shell language and command prompt