Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
有沒有 Python 可以寫 Native Mobile Apps 的八卦?
Tzu-ping Chung
October 26, 2014
Programming
2
640
有沒有 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
Let’s fix extras in Core Metadata 3.0
uranusjr
0
130
Python Packaging: Why Don’t You Just…?
uranusjr
1
140
這樣的開發環境沒問題嗎?
uranusjr
9
2.1k
Django After Web 2.0
uranusjr
3
1.6k
We Store Cheese in A Warehouse
uranusjr
1
360
The Python You Don’t Know
uranusjr
16
2.3k
Python and Asynchrony
uranusjr
0
270
Graphics on Raspberry Pi with Qt 5
uranusjr
0
96k
You Might Not Want Async
uranusjr
6
2.4k
Other Decks in Programming
See All in Programming
Qiita Night PHP 2023
fuwasegu
0
11k
ECS Service Connectでマイクロサービスを繋いでみた
xblood
0
550
あなたと 「|」 したい・・・
track3jyo
PRO
2
1.1k
僕が考えた超最強のKMMアプリの作り方
spbaya0141
0
180
Enumを自動で網羅的にテストしてみた
estie
0
1.3k
Micro Frontends with Module Federation @MicroFrontend Summit 2023
manfredsteyer
PRO
0
560
T3 Stack and TypeScript ecosystem
quramy
3
760
TypeScript 4.9のas const satisfiesが便利
tonkotsuboy_com
9
2.3k
Cloudflare Workersと状態管理
chimame
3
490
Workshop on Jetpack compose
aldefy
0
140
Writing Greener Java Applications
hollycummins
0
340
Jetpack Compose 完全に理解した
mkeeda
1
470
Featured
See All Featured
Clear Off the Table
cherdarchuk
79
290k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
109
16k
GitHub's CSS Performance
jonrohan
1020
430k
Docker and Python
trallard
30
1.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
224
50k
Done Done
chrislema
178
14k
Music & Morning Musume
bryan
37
4.6k
Happy Clients
brianwarren
90
5.8k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
217
21k
Put a Button on it: Removing Barriers to Going Fast.
kastner
56
2.5k
Debugging Ruby Performance
tmm1
67
11k
StorybookのUI Testing Handbookを読んだ
zakiyama
8
3.2k
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