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.2k
【PyCon2019】 Python製シェルXonshの紹介
PyCon2019登壇資料です。
https://pycon.jp/2019/sessions
vaaaaanquish
September 17, 2019
Tweet
Share
More Decks by vaaaaanquish
See All by vaaaaanquish
人はいかにして 確率的な挙動を 受け入れていくのか
vaaaaanquish
6
3.4k
生成AIによるソフトウェア開発の収束地点 - Hack Fes 2025
vaaaaanquish
36
20k
LLMが機械学習分野と他分野に起こしたキャズムから見極めるエンジニアの未来像
vaaaaanquish
1
360
エムスリー流!難読クイズを作ってPythonの深淵に触れるコツ! - 技育CAMPアカデミア
vaaaaanquish
2
470
pandasはPolarsに性能面で追いつき追い越せるのか
vaaaaanquish
6
6.6k
Pythonのパッケージ管理の中級者の壁を超える stapy#98
vaaaaanquish
19
22k
Tech LT #4 人を選ぶ技術
vaaaaanquish
3
4.8k
CADDi AI LabにおけるマネージドなMLOps
vaaaaanquish
2
3.7k
RustとCADDi AI LabとML
vaaaaanquish
1
1.2k
Other Decks in Technology
See All in Technology
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.8k
配列に見る bash と zsh の違い
kazzpapa3
3
160
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
630
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
380
Agent Skils
dip_tech
PRO
0
110
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
0
150
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
240
What happened to RubyGems and what can we learn?
mikemcquaid
0
300
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
960
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
150
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
610
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
2
170
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
4 Signs Your Business is Dying
shpigford
187
22k
Producing Creativity
orderedlist
PRO
348
40k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
67
Discover your Explorer Soul
emna__ayadi
2
1.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
370
Mobile First: as difficult as doing things right
swwweet
225
10k
What does AI have to do with Human Rights?
axbom
PRO
0
2k
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