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
700
2
Share
有沒有 Python 可以寫 Native Mobile Apps 的八卦?
Native GUI programming with Python everywhere with Toga!
Tzu-ping Chung
October 26, 2014
More Decks by Tzu-ping Chung
See All by Tzu-ping Chung
Datasets: What it is, and how it was made
uranusjr
0
200
Let’s fix extras in Core Metadata 3.0
uranusjr
0
650
Python Packaging: Why Don’t You Just…?
uranusjr
1
280
這樣的開發環境沒問題嗎?
uranusjr
9
2.7k
Django After Web 2.0
uranusjr
3
2.2k
We Store Cheese in A Warehouse
uranusjr
1
500
The Python You Don’t Know
uranusjr
17
3.3k
Python and Asynchrony
uranusjr
0
430
Graphics on Raspberry Pi with Qt 5
uranusjr
0
96k
Other Decks in Programming
See All in Programming
AI駆動開発勉強会 広島支部 第一回勉強会 AI駆動開発概要とワークショップ
hayatoshimiu
0
420
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
2.3k
Inside Stream API
skrb
1
440
New "Type" system on PicoRuby
pocke
1
390
自動レビューエンジンの実装と運用 ~レビューのない世界へ~
kurukuru1999
2
300
[KCD Czech] eBPF Meets the GPU: Future of AI Infra Observability
doniacld
0
130
OSもどきOS
arkw
0
350
JavaDoc 再入門
nagise
0
220
RTSPクライアントを自作してみた話
simotin13
0
390
Migrations : C'est une question d'hygiène !
vinceamstoutz
0
2.5k
開発体験を左右するライブラリの API 設計 - GraphQL スキーマ構築ライブラリから考える #tskaigi
izumin5210
2
1.4k
新規プロダクトを高速で生み出すハーネスエンジニアリング
seanchas116
18
7.6k
Featured
See All Featured
Tell your own story through comics
letsgokoyo
1
940
Design in an AI World
tapps
1
220
How to make the Groovebox
asonas
2
2.2k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
300
Everyday Curiosity
cassininazir
0
220
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
240
The World Runs on Bad Software
bkeepers
PRO
72
12k
How STYLIGHT went responsive
nonsquared
100
6.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
The Spectacular Lies of Maps
axbom
PRO
1
770
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