7

Is there a python publishing system (have no idea whether this is an appropriate name for such a thing, but they're calling it that way) similar to nanoc? Generally, a thing which will convert a lot of markup/asciidoc files to HTML in an orderly fashion?

I know of python-markdown, but one by one page with no support for outside .css pages is not what I'm looking for?

So, is there something python based of more or less this quality?

Rook
  • 60,248
  • 49
  • 165
  • 242
  • 2
    Another discussion on ssgs: http://www.reddit.com/r/Python/comments/jaqn2/pelican_vs_hyde_static_website_generators/ – miku Jan 14 '12 at 16:45
  • 2
    A possible appropriate name: static site generator. – Paolo Jan 14 '12 at 17:14

5 Answers5

5

Some website are built using Sphinx which was for documentation purposes but could be extended to a static website easily. (e.g. http://redhotchilipython.com/)

greut
  • 4,305
  • 1
  • 30
  • 49
5

I know what nanoc is but I never use it, so I can't do comparison. These are some Python generators you can consider:

  • Blogofile: a static website compiler and blog engine (there is #blogofile irc channel on freenode)
  • Chisel: a simple Python static blog generation utility (last update March 2009)
  • Hyde: static website generator powered by Python & Django (version 0.5, which is in development, lacks features if compared to 0.4 and is not well documented, but it should be easier to use).
  • Pelican: a simple weblog generator (there is #pelican irc channel on freenode)
  • poole: an easy to use Markdown driven static website generator (I used it, does its job well)
  • PyGreen: a small framework based on Bottle and Mako to create web sites that can easily be exported as static web sites

From what I can say, at the moment static site generators in Ruby are more feature complete and mature, though you should be able to find a solution right for you in Python, too.

glarrain
  • 8,031
  • 7
  • 31
  • 44
Paolo
  • 20,112
  • 21
  • 72
  • 113
5

I have compiled a list of projects similar to nanoc.

Kevin-Prichard
  • 147
  • 1
  • 7
Denis Defreyne
  • 2,213
  • 15
  • 18
1

The closest equivalent seems to be StrangeCase. The author even mentions the similarity:

I just read about nanoc, and realized that it is the Ruby equivalent to StrangeCase. I commend them! I had considered porting StrangeCase to Ruby (and maybe I will some day, just for kicks), but for now, I would say to Rubyists: use nanoc.

khagler
  • 3,996
  • 29
  • 40
1

Not sure how this compares to nanoc:

miku
  • 181,842
  • 47
  • 306
  • 310
  • 1
    I saw hyde earlier, and kinda liked it ... but the docs for it are horror. Do you know of a tutorial or some "for dummies" docs for it? – Rook Feb 07 '12 at 23:13