Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
【PyCon2019】 Python製シェルXonshの紹介
Search
vaaaaanquish
September 17, 2019
Technology
6
9k
【PyCon2019】 Python製シェルXonshの紹介
PyCon2019登壇資料です。
https://pycon.jp/2019/sessions
vaaaaanquish
September 17, 2019
Tweet
Share
More Decks by vaaaaanquish
See All by vaaaaanquish
生成AIによるソフトウェア開発の収束地点 - Hack Fes 2025
vaaaaanquish
35
17k
LLMが機械学習分野と他分野に起こしたキャズムから見極めるエンジニアの未来像
vaaaaanquish
0
180
エムスリー流!難読クイズを作ってPythonの深淵に触れるコツ! - 技育CAMPアカデミア
vaaaaanquish
1
370
pandasはPolarsに性能面で追いつき追い越せるのか
vaaaaanquish
6
6.2k
Pythonのパッケージ管理の中級者の壁を超える stapy#98
vaaaaanquish
19
22k
Tech LT #4 人を選ぶ技術
vaaaaanquish
3
4.6k
CADDi AI LabにおけるマネージドなMLOps
vaaaaanquish
2
3.6k
RustとCADDi AI LabとML
vaaaaanquish
1
1.1k
機械学習OSSの変遷と未来
vaaaaanquish
2
4.4k
Other Decks in Technology
See All in Technology
TypeScript入門
recruitengineers
PRO
27
8.8k
マイクロモビリティシェアサービスを支える プラットフォームアーキテクチャ
grimoh
1
260
退屈なことはDevinにやらせよう〜〜Devin APIを使ったVisual Regression Testの自動追加〜
kawamataryo
4
820
つくって納得、つかって実感! 大規模言語モデルことはじめ
recruitengineers
PRO
26
8.3k
Devinを使ったモバイルアプリ開発 / Mobile app development with Devin
yanzm
0
200
KINTO FACTORYから学ぶ生成AI活用戦略
kintotechdev
0
110
「守る」から「進化させる」セキュリティへ ~AWS re:Inforce 2025参加報告~ / AWS re:Inforce 2025 Participation Report
yuj1osm
1
150
絶対に失敗できないキャンペーンページの高速かつ安全な開発、WINTICKET × microCMS の開発事例
microcms
0
180
新卒(ほぼ)専業Kagglerという選択肢
nocchi1
1
2.4k
Goでマークダウンの独自記法を実装する
lag129
0
230
Jaws-ug名古屋_LT資料_20250829
azoo2024
3
160
実践AIガバナンス
asei
3
160
Featured
See All Featured
Code Review Best Practice
trishagee
70
19k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Rails Girls Zürich Keynote
gr2m
95
14k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Into the Great Unknown - MozCon
thekraken
40
2k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Building Applications with DynamoDB
mza
96
6.6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
900
Gamification - CAS2011
davidbonilla
81
5.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Transcript
【PyCon2019】 Python製シェルXonshの紹介 $ M3, inc. $ Machine Learning Engineer $
Shunsuke Kawai ( @vaaaaanquish )
$ What’s Xonsh ? • Japanese:コンシュ • “Python” + “Shell
Script” on Shell • Made by Python ◦ Cross-platform ◦ Unix-gazing ◦ let’s start:pip install xonsh
$ Why Xonsh ? • Shell Scriptで複雑な処理を行いたくない! • Pythonが持つライブラリ等の資源、簡易な構文を活用できる Shell環境が欲しい!
fish xonsh POSIX-compatible Python Bourne Shell (sh)
$ Settable by Python • .xonshrc by Python and Shell
Script ◦ $PROMPT ◦ Key binding ◦ Completer … and more • Override built-in xonsh function by Python
$ Use Python property
$ Q&A Xonsh Q1 : 既存のshell scriptは読める? A : source_bashコマンドによって概ね使える
Q2 : 遅くない? A : Pythonの起動が遅いためxonshの起動は遅い。 動作はマシンスペック次第なので設定の勘所あり。 現在async/await対応中。 Q3 : Pythonがshellに最適な言語なの? A : 最適とは言っていない。 インタプリタ型言語とshell scriptを混合して資源を活用できているshellという立ち位置。 Q4 : 開発状況は? A : 2019/09/13時点で v0.9.11。いくつかのissueを超えて v1.0.0を予定。
$ Thank you for listening and Xonsh • Refernce ◦
xonsh document: https://xon.sh/index.html ◦ v1.0 Tracking issue: https://github.com/xonsh/xonsh/issues/3234 ◦ logo ▪ bash : https://github.com/odb/official-bash-logo ▪ zsh: http://zsh.sourceforge.net/ ▪ fish: https://github.com/laughedelic/fish_logo ▪ ipython : https://ipython.org/ ▪ jupyter: https://github.com/jupyter/design/tree/master/logos ▪ python: https://www.python.org/community/logos/ ◦ Scopatz - Interview: https://www.johndcook.com/blog/2015/11/15/xonsh/ ◦ Scopatz - PyCon 2016: https://youtu.be/uaje5I22kgE ◦ Scopatz - podcast: https://www.podcastinit.com/episode-29-anthony-scopatz-on-xonsh/ ◦ Forsyth, Scopatz - Scipy 2019 Tutorial: https://youtu.be/ujo9sbqHFqw