Anthony Scopatz - xonsh - PyCon 2016
Channel:PyCon 2016 · Length:30:37 · Published:2016-05-31 · Views:21804
Summary
Anthony Scopatz presents xonsh at PyCon 2016, a shell that is a superset of Python combining the best features of bash, zsh and fish. It covers rich history, tab completion, and how the language compiles to a Python AST.
Why HN recommends it
Recommended as the author's own explanation of xonsh's design and how Python and shell interplay.
It's very easy to switch if you're willing to spend 30 minutes to go through this talk about its design by the author — HN, 2025
Python, Ruby & scripting languages · Testing, debugging & developer tools
Subtitles (excerpt)
(host) Hello everyone. Our next speaker will be Anthony Scopatz, and he will be speaking to us about a new command-line shell that you might be interested in. So please join me in welcoming Anthony. Thank you. [applause] (Anthony Scopatz) All right. All right. Hello everyone. I'm Anthony Scopatz and this is xonsh. So what is xonsh? Xonsh is meant as a general purpose shell language to replace things like bash or fish or Z shell, but it also is simultaneously a Python superset language. And some of the features of this are that we have no external dependencies other than the Python library, Python itself. And so if you have Python, you also have the ability to have xonsh. And because of that, we support, you know, the big three major platforms, Linux, Mac, and Windows. And sort of the purpose of xonsh, at least in my mind, is to trick scientists and engineers into being more reproducible, but I don't have time to go into that into this talk, so you'll just have to talk to me about that later. There's a lot of fancy features, especially if you're willing to install some other code, and we'll see some of that in this talk. But before that, I just wanted to give some motivating examples
On Hacker News
Xonsh is a fantastic shell. I literally think they are most hindered by the name at this point, since it's one of those clever names that are pronounced in a peculiar way and one that doesn't convey too well that it's really Python + sh in a beautifully consistent design. It's very easy to switch if you're willing to spend 30 minutes to go through this talk about its design by the author: [VIDEO]… — ambivalence, 2025-02
I'd highly recommend the xonsh shell for scripting if you're familiar with python: [LINK] Once you do tutorial and learn the rules for going between shell and python, it's super easy to slice and dice. I have always disliked that moment of "yes, a shell script is probably the best tool for this job" that then leads me to banging my head against bash syntax for an hour. Python libraries like `sh` … — mycelium, 2018-04
> BTW, i recall Intel showing off a variant of the python interpreter being run directly from GRUB. That was me: [LINK] , presented at Pycon 2015: [LINK] and 2016 with networking: [LINK] > Also, i think there was someone working on a Python CLI that could replace bash etc. That was "xonsh" ( [LINK] , pronounced "conch"), by Anthony Scopatz, presented at PyCon 2016: [VIDEO] — JoshTriplett, 2016-11
Related videos
- Glass engineering - designing and making photochromic glass · Applied Science · 38:17
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- The spelled-out intro to neural networks and backpropagation: building micrograd · Andrej Karpathy · 2:25:52
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- "Testing Distributed Systems w/ Deterministic Simulation" by Will Wilson · Strange Loop Conference · 40:20
- 🚀 TDD, Where Did It All Go Wrong (Ian Cooper) · DevTernity Conference · 1:03:55
- Bret Victor - Inventing on Principle · Rui Oliveira · 54:20
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Problem with Time & Timezones - Computerphile · Computerphile · 10:12
- Solving Problems the Clojure Way - Rafal Dittwald · Clojure/north · 1:02:26
- Debugging Under Fire: Keep your Head when Systems have Lost their Mind • Bryan Cantrill • GOTO 2017 · GOTO Conferences · 52:34
- "Performance Matters" by Emery Berger · Strange Loop Conference · 42:15
- RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam Stephenson · Confreaks · 37:37
- Brian Goetz - Stewardship: the Sobering Parts · ClojureTV · 1:03:30