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
什麼是社群精神?從 SITCON 到開源社群 / What is Community Spirit? Orientation
rschiang
0
34
有系統最安心?科技手段的正當程序 / “Trust the System?” Due Process Considerations of Algorithmic Decision-Making
rschiang
0
100
Digital Government Landscape in Taiwan: Schnitzels, Whistles, Unicorns
rschiang
0
45
g0v hackath52n proposal: Language Portal
rschiang
0
340
有備無患,先掃再說? / Save for a Rainy Day? Observations and controversies of 1922 SMS registration system
rschiang
0
220
AGPL 與大 SaaS 時代授權的逆襲 / The License Strikes Back!: AGPL and Cloud-Targeting Licenses in the era of SaaS
rschiang
0
300
Plus, and Beyond!: Open source licenses, Creative Commons, & how to use them
rschiang
0
140
簡訊實聯制的開放資料問題 / The Curious Case of 1922 SMS
rschiang
0
130
重構黑箱社會 / Restructuring a Black Box Society
rschiang
0
540
Other Decks in Technology
See All in Technology
第1回 国土交通省 データコンペ参加者向け勉強会③- Snowflake x estie編 -
estie
0
120
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
Platform Engineering for Software Developers and Architects
syntasso
1
510
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
【若手エンジニア応援LT会】ソフトウェアを学んできた私がインフラエンジニアを目指した理由
kazushi_ohata
0
150
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.8k
Terraform Stacks入門 #HashiTalks
msato
0
350
SSMRunbook作成の勘所_20241120
koichiotomo
1
110
Application Development WG Intro at AppDeveloperCon
salaboy
0
180
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
150
地理情報データをデータベースに格納しよう~ GPUを活用した爆速データベース PG-Stromの紹介 ~
sakaik
1
150
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
95
5.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
The World Runs on Bad Software
bkeepers
PRO
65
11k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
120
We Have a Design System, Now What?
morganepeng
50
7.2k
Gamification - CAS2011
davidbonilla
80
5k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
The Cost Of JavaScript in 2023
addyosmani
45
6.7k
The Language of Interfaces
destraynor
154
24k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
410
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