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
Pelican: Clean & Simple Page Generation
Search
Poren Chiang
May 17, 2014
Technology
1
160
Pelican: Clean & Simple Page Generation
2014/05/17 Lightning Talk @ PyCON APAC 2014, Academia Sinica, Taipei, Taiwan.
Poren Chiang
May 17, 2014
Tweet
Share
More Decks by Poren Chiang
See All by Poren Chiang
Bittersweet: Promoting Digital Democracy with Civic Tech in East Asia
rschiang
0
68
什麼是社群精神?從 SITCON 到開源社群 / What is Community Spirit? Orientation
rschiang
0
76
有系統最安心?科技手段的正當程序 / “Trust the System?” Due Process Considerations of Algorithmic Decision-Making
rschiang
0
130
Digital Government Landscape in Taiwan: Schnitzels, Whistles, Unicorns
rschiang
0
69
g0v hackath52n proposal: Language Portal
rschiang
0
370
有備無患,先掃再說? / Save for a Rainy Day? Observations and controversies of 1922 SMS registration system
rschiang
0
240
AGPL 與大 SaaS 時代授權的逆襲 / The License Strikes Back!: AGPL and Cloud-Targeting Licenses in the era of SaaS
rschiang
0
350
Plus, and Beyond!: Open source licenses, Creative Commons, & how to use them
rschiang
0
170
簡訊實聯制的開放資料問題 / The Curious Case of 1922 SMS
rschiang
0
150
Other Decks in Technology
See All in Technology
Aurora PostgreSQLがCloudWatch Logsに 出力するログの課金を削減してみる #jawsdays2025
non97
1
280
役員・マネージャー・著者・エンジニアそれぞれの立場から見たAWS認定資格
nrinetcom
PRO
5
6.9k
困難を「一般解」で解く
fujiwara3
9
2.9k
アウトカムを最大化させるプロダクトエンジニアの動き
hacomono
PRO
0
120
Codar: Arte ou Ciência?! A Jornada de um DEV na Creator Economy
vclementino
0
150
生成AIがローコードツールになる時代の エンジニアの役割を考える
khwada
0
350
エンジニア主導の企画立案を可能にする組織とは?
recruitengineers
PRO
1
350
社内でKaggle部を作って初学者育成した話
daikon99
1
170
プロダクト開発者目線での Entra ID 活用
sansantech
PRO
0
200
生成AI×財務経理:PoCで挑むSlack AI Bot開発と現場巻き込みのリアル
pohdccoe
1
870
MLflowはどのようにLLMOpsの課題を解決するのか
taka_aki
0
170
データモデルYANGの処理系を再発明した話
tjmtrhs
0
470
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
511
110k
Unsuck your backbone
ammeep
669
57k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Producing Creativity
orderedlist
PRO
344
40k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Raft: Consensus for Rubyists
vanstee
137
6.8k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
Fireside Chat
paigeccino
35
3.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
115
51k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Transcript
Pelican RSChiang @ PyCON APAC 2014 Clean & Simple Page
Generation
Hi, I’m RSChiang • Legal science major at NTU •
SITCON / COSCUP staff • Python advocate • You can reach me at http://poren.tw
Outline • What’s Pelican? • Why not Octopress? • How
does it work • Conclusion
Pelican • Static page generator • Anagram for “calepin” (notebook)
• Support Theming / RSS / Import / IPython / Plugins … • http://docs.getpelican.com
so would you ask. “Why not Jekyll or Octopress?”
None
It just doesn’t feel right to mix all of these
in…
Installing • [sudo] pip install pelican • pip install Markdown
for .md support • Use pelican command to tranform any text file • Interactive ones: pelican-quickstart
None
pelicanconf.py • Just like Django’s settings.py • Available as template
variables • Specify plugins by path or Python import • Control your own naming & pagination patterns!
None
Commands • Available as Fabric fabfile.py or Makefile • make
html (or fab build) • Preview your site using make serve • Publish via make github • make xxx_upload for SSH / FTP / S3 / rsync …
None
Conclusion • Pelican generates page in a clean, Django-like way
• Granular control on naming / folder structure with almost no restriction • Simple build & deployment to multiple targets • It’s written in Python. Good reason to switch from Octopress now
Thanks! RSChiang @ PyCON APAC 2014