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
9.1k
【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
36
19k
LLMが機械学習分野と他分野に起こしたキャズムから見極めるエンジニアの未来像
vaaaaanquish
0
200
エムスリー流!難読クイズを作ってPythonの深淵に触れるコツ! - 技育CAMPアカデミア
vaaaaanquish
1
390
pandasはPolarsに性能面で追いつき追い越せるのか
vaaaaanquish
6
6.4k
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.6k
Other Decks in Technology
See All in Technology
AIとともに歩んでいくデザイナーの役割の変化
lycorptech_jp
PRO
0
890
Linux カーネルが支えるコンテナの仕組み / LF Japan Community Days 2025 Osaka
tenforward
1
130
20251027_マルチエージェントとは
almondo_event
1
440
ストレージエンジニアの仕事と、近年の計算機について / 第58回 情報科学若手の会
pfn
PRO
3
850
個人でデジタル庁の デザインシステムをVue.jsで 作っている話
nishiharatsubasa
3
5.1k
From Natural Language to K8s Operations: The MCP Architecture and Practice of kubectl-ai
appleboy
0
230
AI駆動で進める依存ライブラリ更新 ─ Vue プロジェクトの品質向上と開発スピード改善の実践録
sayn0
1
320
MCP ✖️ Apps SDKを触ってみた
hisuzuya
0
370
プロファイルとAIエージェントによる効率的なデバッグ / Effective debugging with profiler and AI assistant
ymotongpoo
1
210
激動の時代を爆速リチーミングで乗り越えろ
sansantech
PRO
1
100
Open Table Format (OTF) が必要になった背景とその機能 (2025.10.28)
simosako
2
300
Okta Identity Governanceで実現する最小権限の原則 / Implementing the Principle of Least Privilege with Okta Identity Governance
tatsumin39
0
170
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Mobile First: as difficult as doing things right
swwweet
225
10k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
How to Ace a Technical Interview
jacobian
280
24k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
The Cult of Friendly URLs
andyhume
79
6.6k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Music & Morning Musume
bryan
46
6.9k
Done Done
chrislema
185
16k
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