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
170
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
91
什麼是社群精神?從 SITCON 到開源社群 / What is Community Spirit? Orientation
rschiang
0
130
有系統最安心?科技手段的正當程序 / “Trust the System?” Due Process Considerations of Algorithmic Decision-Making
rschiang
0
150
Digital Government Landscape in Taiwan: Schnitzels, Whistles, Unicorns
rschiang
0
92
g0v hackath52n proposal: Language Portal
rschiang
0
420
有備無患,先掃再說? / Save for a Rainy Day? Observations and controversies of 1922 SMS registration system
rschiang
0
260
AGPL 與大 SaaS 時代授權的逆襲 / The License Strikes Back!: AGPL and Cloud-Targeting Licenses in the era of SaaS
rschiang
0
410
Plus, and Beyond!: Open source licenses, Creative Commons, & how to use them
rschiang
0
210
簡訊實聯制的開放資料問題 / The Curious Case of 1922 SMS
rschiang
0
190
Other Decks in Technology
See All in Technology
What’s new in Android development tools
yanzm
0
220
品質と速度の両立:生成AI時代の品質保証アプローチ
odasho
1
210
使いたいMCPサーバーはWeb APIをラップして自分で作る #QiitaBash
bengo4com
0
1.6k
なぜ私はいま、ここにいるのか? #もがく中堅デザイナー #プロダクトデザイナー
bengo4com
0
1.3k
ネットワーク保護はどう変わるのか?re:Inforce 2025最新アップデート解説
tokushun
0
190
生まれ変わった AWS Security Hub (Preview) を紹介 #reInforce_osaka / reInforce New Security Hub
masahirokawahara
0
440
ドメイン特化なCLIPモデルとデータセットの紹介
tattaka
2
580
OSSのSNSツール「Misskey」をさわってみよう(右下ワイプで私のOSCの20年を振り返ります) / 20250705-osc2025-do
akkiesoft
0
140
AI専用のリンターを作る #yumemi_patch
bengo4com
5
4.1k
United Airlines Customer Service– Call 1-833-341-3142 Now!
airhelp
0
160
Model Mondays S2E03: SLMs & Reasoning
nitya
0
350
OPENLOGI Company Profile
hr01
0
67k
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
950
Side Projects
sachag
455
42k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
YesSQL, Process and Tooling at Scale
rocio
173
14k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
680
The Straight Up "How To Draw Better" Workshop
denniskardys
234
140k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
Designing for humans not robots
tammielis
253
25k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
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