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
190
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
為專案取名永遠是最困難的 / The Eternal Struggle of Naming a Project
rschiang
0
140
2026 g0v 零時政府年會啟動提案 / g0v Summit 2026 Kickstart
rschiang
0
490
Bittersweet: Promoting Digital Democracy with Civic Tech in East Asia
rschiang
0
130
什麼是社群精神?從 SITCON 到開源社群 / What is Community Spirit? Orientation
rschiang
0
170
有系統最安心?科技手段的正當程序 / “Trust the System?” Due Process Considerations of Algorithmic Decision-Making
rschiang
0
180
Digital Government Landscape in Taiwan: Schnitzels, Whistles, Unicorns
rschiang
0
130
g0v hackath52n proposal: Language Portal
rschiang
0
480
有備無患,先掃再說? / Save for a Rainy Day? Observations and controversies of 1922 SMS registration system
rschiang
0
280
AGPL 與大 SaaS 時代授權的逆襲 / The License Strikes Back!: AGPL and Cloud-Targeting Licenses in the era of SaaS
rschiang
0
470
Other Decks in Technology
See All in Technology
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
670
Agent Skils
dip_tech
PRO
0
120
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
650
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.4k
SchooでVue.js/Nuxtを技術選定している理由
yamanoku
3
120
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.6k
【Ubie】AIを活用した広告アセット「爆速」生成事例 | AI_Ops_Community_Vol.2
yoshiki_0316
1
110
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
380
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
250
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
230
Digitization部 紹介資料
sansan33
PRO
1
6.8k
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
432
66k
Tell your own story through comics
letsgokoyo
1
810
Amusing Abliteration
ianozsvald
0
100
Ethics towards AI in product and experience design
skipperchong
2
200
A better future with KSS
kneath
240
18k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
940
Done Done
chrislema
186
16k
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
67
Thoughts on Productivity
jonyablonski
74
5k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
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