Anthony Scopatz on Xonsh

The Python Podcast.__init__

Episode | Podcast

Date: Fri, 30 Oct 2015 22:00:00 -0400

<p>Visit our <a href="http://pythonpodcast.com?utm_source=rss&amp;utm_medium=rss">site</a> to listen to past episodes, support the show, and sign up for our mailing list.</p> <h3>Summary</h3> <p>Anthony Scopatz is the creator of the Python shell Xonsh in addition to his work as a professor of nuclear physics. In this episode we talked to him about why he created Xonsh, how it works, and what his goals are for the project. It is definitely worth trying out Xonsh as it greatly simplifies the day-to-day use of your terminal environment by adding easily accessible python interoperability.</p> <h3>Brief Introduction</h3> <ul> <li>Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great.</li> <li>Subscribe on <a href="https://itunes.apple.com/us/podcast/podcast.-init/id981834425?mt=2&amp;uo=6&amp;at=&amp;ct=&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">iTunes</a>, <a href="http://www.stitcher.com/s?fid=64838&amp;refid=stpr&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Stitcher</a>, <a href="http://tunein.com/embed/follow/p726240/#?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">TuneIn</a> or <a href="https://www.pythonpodcast.com/feed/mp3/?utm_source=rss&amp;utm_medium=rss">RSS</a></li> <li>Follow us on <a href="https://twitter.com/Podcast__init__?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Twitter</a> or <a href="https://plus.google.com/+Podcastinit-the-python-podcast?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Google+</a></li> <li>Give us feedback! Leave a review on <a href="https://itunes.apple.com/us/podcast/podcast.-init/id981834425?mt=2&amp;uo=6&amp;at=&amp;ct=&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">iTunes</a>, <a href="https://twitter.com/Podcast__init__?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Tweet</a> to us, send us an <a href="mailto:hosts@podcastinit.com">email</a> or leave us a message on <a href="https://plus.google.com/+Podcastinit-the-python-podcast?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Google+</a></li> <li>I would like to thank everyone who has donated to the show. Your contributions help us make the show sustainable. For details on how to support the show you can visit our site at <a href="http://pythonpodcast.com?utm_source=rss&amp;utm_medium=rss">pythonpodcast.com</a></li> <li>I would also like to thank Hired, a job marketplace for developers, for sponsoring this episode of Podcast.__init__. Use the link <a href="http://hired.com/podcastinit?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">hired.com/podcastinit</a> to double your signing bonus.</li> <li>Linode is also sponsoring us this week. Check them out at <a href="http://linode.com/podcastinit?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">linode.com/podcastinit</a> and get a $10 credit to try out their fast and reliable Linux virtual servers for your next project</li> <li>We are recording today on October 12th, 2015 and your hosts as usual are Tobias Macey and Chris Patti</li> <li>Today we are interviewing Anthony Scopatz about Xonsh</li> </ul> <div class="well"><a href="https://hired.com/?utm_content=shownotes-4k&amp;utm_medium=podcast&amp;utm_source=podcastinit&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank"><img alt="Hired Logo" src="https://i0.wp.com/podcastinit.podbean.com/mf/web/ehi957/hired-logo-dark-padding.png?w=1200&amp;utm_source=rss&amp;utm_medium=rss" /></a>On Hired software engineers &amp; designers can get 5+ interview requests in a week and each offer has salary and equity upfront. With full time and contract opportunities available, users can view the offers and accept or reject them before talking to any company. Work with over 2,500 companies from startups to large public companies hailing from 12 major tech hubs in North America and Europe. Hired is totally free for users and If you get a job you’ll get a $2,000 “thank you” bonus. If you use our <a href="https://hired.com/?utm_content=shownotes-4k&amp;utm_medium=podcast&amp;utm_source=podcastinit&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">special link</a> to signup, then that bonus will double to $4,000 when you accept a job. If you’re not looking for a job but know someone who is, you can refer them to Hired and get a $1,337 bonus when they accept a job.</p> </div> <div class="well"><a href="http://linode.com/podcastinit?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank"><img alt="Linode Sponsor Banner" src="https://i0.wp.com/podcastinit.podbean.com/mf/web/tdegpr/linode-banner-sponsor-large.png?w=1200&amp;utm_source=rss&amp;utm_medium=rss" /></a>Use the promo code <strong>podcastinit10</strong> to get a $10 credit when you sign up!</p> </div> <h3>Interview with Anthony Scopatz</h3> <ul> <li>Introductions</li> <li>How did you get introduced to Python?</li> <li>Can you explain what Xonsh is and your motivation for creating it?</li> <li>For people transitioning to Xonsh from a shell like Bash or Zsh, what are some of the biggest differences that they will see?</li> <li>What are some really powerful one-liners that showcase Xonsh’s capabilities?</li> <li>What is it about Python that lends itself to this kind of a project and what are your thoughts on building something like Xonsh in another language such as Ruby or Node.js?</li> <li>If you had to single out one killer feature that Xonsh brings to the table, what would that be?</li> <li>Is it possible to specify which shell, such as bash or zsh, gets used in subprocess mode?</li> <li>I started using the Xonsh shell as my daily terminal recently and have been enjoying it so far. One of the things that I have been wondering is how to hook into the completion system to provide eldoc style completion from parsing the output of help flags. Do you have any advice on where to start? Perhaps using the docopt library to handle parsing of help output and generate completions from that?</li> <li>What are your thoughts on adding a section to the project documentation for people to list various extension modules that people can take advantage of? Or perhaps creating something along the lines of Oh my Xonsh?</li> <li>How do bash function definitions interoperate with the Xonsh environment and functions defined in Python?</li> <li>It seems as though there could be some potential path or compatibility issues when moving between virtual environments and having access to extension modules loaded into Xonsh. Can you shed some light on that?</li> <li>Do you have any suggestions for people who may not have the privileges to set their own login shell but who want to try Xonsh?</li> <li>What are some of the most interesting uses of Xonsh that you have seen?</li> <li>What does the future hold for the Xonsh project and how can our audience help?</li> </ul> <h3>Picks</h3> <ul> <li>Tobias <ul> <li><a href="http://amzn.to/1N8UWkO?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Mortdecai</a></li> <li><a href="https://alembic.readthedocs.org/en/latest/index.html?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Alembic</a></li> <li><a href="http://www.sqlalchemy.org/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">SQLAlchemy</a></li> <li><a href="http://population.io/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">population.io</a></li> </ul> </li> <li>Chris <ul> <li><a href="http://amzn.to/1WnDQ5h?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Consider Phlebas</a></li> <li><a href="http://www.rottentomatoes.com/m/the_martian/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">The Martian &#8211; Movie</a></li> <li><a href="https://en.wikipedia.org/wiki/Fantastic_Planet?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Fantastic Planet</a></li> </ul> </li> <li>Anthony <ul> <li><a href="http://amzn.to/1N8ViYE?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">The Worst Journey In The World</a></li> </ul> </li> </ul> <h3>Keep In Touch</h3> <ul> <li><a href="mailto:xonsh@googlegroups.com">Mailing List</a></li> <li><a href="http://xonsh.org/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">xonsh.org</a></li> <li><a href="https://webchat.oftc.net/?nick=&amp;channels=%23xonsh&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">#xonsh on OFTC</a></li> <li><a href="https://github.com/scopatz/xonsh?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">GitHub</a></li> <li><a href="https://twitter.com/scopatz?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Twitter: @scopatz</a></li> </ul> <h3>Links</h3> <ul> <li><a href="http://www.dpbolvw.net/ka108y1A719PXYVQXZVPRRSWQRZYPRUTQXVVYXXQQQ?url=http%3A%2F%2Fshop.oreilly.com%2Fproduct%2F0636920033424.do%3Fcmp%3Daf-strata-books-videos-product_cj_9781491901533_%2525zp&amp;cjsku=0636920033424&amp;utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Effective Computation in Physics</a></li> <li><a href="https://github.com/jonathanslenders/python-prompt-toolkit?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">Python Prompt Toolkit</a></li> </ul> <p>The intro and outro music is from Requiem for a Fish <a href="http://freemusicarchive.org/music/The_Freak_Fandango_Orchestra/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">The Freak Fandango Orchestra</a> / <a href="http://creativecommons.org/licenses/by-sa/3.0/?utm_source=rss&amp;utm_medium=rss" rel="noopener" target="_blank">CC BY-SA</a><img alt="" height="0" src="https://analytics.boundlessnotions.com/piwik.php?idsite=1&amp;rec=1&amp;url=https%3A%2F%2Fwww.pythonpodcast.com%2Fepisode-29-anthony-scopatz-on-xonsh%2F&amp;action_name=Anthony+Scopatz+on+Xonsh+-+Episode+29&amp;urlref=https%3A%2F%2Fwww.pythonpodcast.com%2Ffeed%2F&amp;utm_source=rss&amp;utm_medium=rss" style="border: 0; width: 0; height: 0;" width="0" /></p>