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
有沒有 Python 可以寫 Native Mobile Apps 的八卦?
Search
Tzu-ping Chung
October 26, 2014
Programming
2
680
有沒有 Python 可以寫 Native Mobile Apps 的八卦?
Native GUI programming with Python everywhere with Toga!
Tzu-ping Chung
October 26, 2014
Tweet
Share
More Decks by Tzu-ping Chung
See All by Tzu-ping Chung
Datasets: What it is, and how it was made
uranusjr
0
120
Let’s fix extras in Core Metadata 3.0
uranusjr
0
510
Python Packaging: Why Don’t You Just…?
uranusjr
1
220
這樣的開發環境沒問題嗎?
uranusjr
9
2.6k
Django After Web 2.0
uranusjr
3
2.1k
We Store Cheese in A Warehouse
uranusjr
1
450
The Python You Don’t Know
uranusjr
17
3.1k
Python and Asynchrony
uranusjr
0
360
Graphics on Raspberry Pi with Qt 5
uranusjr
0
96k
Other Decks in Programming
See All in Programming
データベースのオペレーターであるCloudNativePGがStatefulSetを使わない理由に迫る
nnaka2992
0
230
Grafana Loki によるサーバログのコスト削減
mot_techtalk
1
150
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
190
2025.2.14_Developers Summit 2025_登壇資料
0101unite
0
180
Bedrock Agentsレスポンス解析によるAgentのOps
licux
3
920
React 19アップデートのために必要なこと
uhyo
8
1.5k
Honoとフロントエンドの 型安全性について
yodaka
7
1.4k
Django NinjaによるAPI開発の効率化とリプレースの実践
kashewnuts
1
250
パスキーのすべて ── 導入・UX設計・実装の紹介 / 20250213 パスキー開発者の集い
kuralab
3
880
Go 1.24でジェネリックになった型エイリアスの紹介
syumai
2
280
技術を改善し続ける
gumioji
0
120
Honoのおもしろいミドルウェアをみてみよう
yusukebe
1
230
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
133
33k
Faster Mobile Websites
deanohume
306
31k
The World Runs on Bad Software
bkeepers
PRO
67
11k
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
430
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
The Language of Interfaces
destraynor
156
24k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
GitHub's CSS Performance
jonrohan
1030
460k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Adopting Sorbet at Scale
ufuk
74
9.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Transcript
剤尝剤1ZUIPO〳⟃㻨/BUJWF .PCJMF"QQT涸Ⱄ⽚
Live Demo!!!!1
Me • Call me TP • Follow @uranusjr • https://uranusjr.com
http://macdown.uranusjr.com
IUUQQZCFFPSHUPHB
Python code Platform-dependent implementation Native libraries
Toga • No dependencies • Except a custom interpreter •
Pure Python • ctypes • Any OS you want • Write your own backend
Your code Native libraries Toga implementation Toga
Your code Foundation + UIKit + … Toga-iOS + Rubicon-ObjC
Toga
Live Coding!!!!1
Cassowary
None
Cassowary • Constraint-solving • Foundation of Auto Layout • Other
implementations available
50 50 50 50 or more
container.constrain( button.TOP == container.TOP + 50,
button.LEADING == container.LEADING + 50, button.TRAILING + 50 == container.TRAILING, button.BOTTOM + 50 <= container.BOTTOM, )
Join the Conversation • https://github.com/pybee • https://groups.google.com/forum/#!forum/beeware-users • https://groups.google.com/forum/#!forum/beeware-developers •
https://groups.google.com/forum/#!forum/overconstrained • https://twitter.com/pybeeware