Skip to main content

A tool to generate a static blog, with restructured text input files.

Project description

Pelican is a simple weblog generator, writen in python.

  • Write your weblog entries directly with your editor of choice (vim!) and directly in restructured text.

  • A simple cli-tool to (re)generate the weblog.

  • Easy to interface with DVCSes and web hooks

  • Completely static output, so easy to host anywhere !

Files metadatas

Pelican tries to be smart enough to get the informations he needs from the filesystem (for instance, about the category of your articles), but you need to provide by hand some of those informations in your files.

You could provide the metadata in the restructured text files, using the following syntax:

My super title
##############

:date: 2010-10-03 10:20
:tags: thats, awesome
:category: yeah
:author: Alexis Metaireau

Note that only the date metadata is mandatory, so you just have to add that in i your files. The category can also be determined by the directory where the rst file is. For instance, the category of python/foobar/myfoobar.rst is foobar.

Getting started — Generate your blog

Yeah? You’re ready? Let’s go ! You can install pelican in a lot of different ways, the simpler one is via pip:

$ pip install pelican

Then, you have just to launch pelican, like this:

$ pelican /path/to/your/content/

And… that’s all! You can see your weblog generated on the content/ folder.

This one will just generate a simple output, with the default theme. It’s not really sexy, as it’s a simple HTML output (without any style).

You can create your own style if you want, have a look to the help to see all the options you can use:

$ pelican --help

Why the name “Pelican” ?

Heh, you didnt noticed? “Pelican” is an anagram for “Calepin” ;)

Source code

You can access the source code via mercurial at http://hg.notmyidea.org/pelican/ or via git on http://github.com/ametaireau/pelican/

Feedback !

If you want to see new features in Pelican, dont hesitate to tell me, to clone the repository, etc. That’s open source, dude!

Contact me at “alexis at notmyidea dot org” for any request/feedback !

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pelican-2.1.1.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

pelican-2.1.1-py2.py3-none-any.whl (58.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pelican-2.1.1.tar.gz.

File metadata

  • Download URL: pelican-2.1.1.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pelican-2.1.1.tar.gz
Algorithm Hash digest
SHA256 f91eddf61fae2b2de59e0965f4ab5207ef3149a07c5dc0917640905bea855334
MD5 950a930905b9f05dbba75937af408cb2
BLAKE2b-256 a535b75788b1d3a584ddce7420f7c5c21be1c8fd9a9d4cc9cfb2dedf5ade64dc

See more details on using hashes here.

File details

Details for the file pelican-2.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pelican-2.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c0f69e1ea23dc4e2e7c747ef4612dea1d5d9998471571d512ec04c34d0c29921
MD5 aa167729334f3e626f68843a7a6817ad
BLAKE2b-256 ee8fbe4eb338c5dce1dc7f705053201ef3fdee2da99b390780e439b187e16d58

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page