0.06.3 MIT/X Consortium License    




Cytoplasm is a simple-ish static site compiler written in Python. It's meant to be used mostly as a blogging engine, though it can be used for more than that. Here are some things you might like about it:

Cytoplasm is Portable

A Cytoplasm site is defined completely by its configuration and its contents. The output is just a set of plain html files, and so can be hosted just about anywhere. cytoplasm, the script, will run anywhere where Python is installed -- it's tested and works in Pythons 2.7.2 and 3.2.

Cytoplasm is Pretty Simple

Install Cytoplasm and run cytoplasm init bare to get the basis of your future blog. Add some posts in _posts, edit your templates in _templates, and cytoplasm build to generate some html files.

Cytoplasm is Easily Extensible

Cytoplasm interpreters are python functions in your configuration file. The markdown one, for example, is just:

import markdown
markdown_extensions = ['abbr', 'footnotes', 'toc', 'fenced_code', 'headerid']

@Interpreter("markdown", "md")
def markdown_interpreter(file, destination):
 markdown.markdownFromFile(input=file, output=destination,
 extensions = markdown_extensions, encoding="utf8", safe=False)

Similarly, Cytoplasm controllers are classes that inherit from a base class in the cytoplasm module.

Cytoplasm Integrates Well With Git

This source of this site (compiled by Cytoplasm, of course) can be cloned from Everything works within a git repository; in fact, you'll be missing a lot if you don't use one. Controllers can be installed as git submodules. Pull and push wherever you want!
Last updated on March 15th, 2012

0 User reviews so far.

A static, blog-aware website generator written in Python


#website generator #site generator #blogging engine #blog-aware #website #generator #Python