Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Pelican: Clean & Simple Page Generation
Poren Chiang
May 17, 2014
Technology
1
130
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
Digital Government Landscape in Taiwan: Schnitzels, Whistles, Unicorns
rschiang
0
6
g0v hackath52n proposal: Language Portal
rschiang
0
20
有備無患,先掃再說? / Save for a Rainy Day? Observations and controversies of 1922 SMS registration system
rschiang
0
140
AGPL 與大 SaaS 時代授權的逆襲 / The License Strikes Back!: AGPL and Cloud-Targeting Licenses in the era of SaaS
rschiang
0
110
Plus, and Beyond!: Open source licenses, Creative Commons, & how to use them
rschiang
0
51
簡訊實聯制的開放資料問題 / The Curious Case of 1922 SMS
rschiang
0
32
重構黑箱社會 / Restructuring a Black Box Society
rschiang
0
320
SITCON LT @ g0v NY
rschiang
0
97
Community and beyond: building a sustainable community
rschiang
0
120
Other Decks in Technology
See All in Technology
創業1年目のスタートアップでAWSコストを抑えるために取り組んでいること / How to Keep AWS Costs Down at a Startup
yuj1osm
3
2.2k
AI Services 概要 / AI Services overview
oracle4engineer
PRO
0
170
WebLogic Server for OCI 概要
oracle4engineer
PRO
3
900
マイクロサービス宣言から8年 振り返りとこれから / Eight Years After the Microservices Declaration A Look Back and A Look Ahead
eisuke
2
250
OpenShiftでスポットVMを使おう.pdf
jpishikawa
1
400
ECSコスト削減のブレイクアウトセッションを聴いてきた話 / joining a breakout session on reducing costs with ECS
yayoi_dd
0
140
Bill One 開発エンジニア 紹介資料
sansantech
PRO
0
120
Cloudflare Workersで動くOG画像生成器
aiji42
1
500
地方自治体業務あるある ーアナログ最適化編-
y150saya
1
280
IoTを始めたきっかけの話と個人でできるIoTの今後 / 新年LT会「私の愛するIoT 2023」
you
0
250
IoT から見る AWS re:invent 2022 ― AWSのIoTの歴史を添えて/Point of view the AWS re:invent 2022 with IoT - with a history of IoT in AWS
ma2shita
0
290
OCI技術資料 : ロード・バランサー 詳細 / Load Balancer 200
ocise
2
7.2k
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
38
7.7k
Designing on Purpose - Digital PM Summit 2013
jponch
108
5.9k
How New CSS Is Changing Everything About Graphic Design on the Web
jensimmons
214
12k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
500
130k
Debugging Ruby Performance
tmm1
67
11k
Learning to Love Humans: Emotional Interface Design
aarron
263
38k
Optimizing for Happiness
mojombo
365
64k
Clear Off the Table
cherdarchuk
79
290k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
152
13k
Done Done
chrislema
178
15k
For a Future-Friendly Web
brad_frost
166
7.8k
Writing Fast Ruby
sferik
613
58k
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