News for hackers. Stuff that matters.

Python-based static site/blog generators?

Looking for something like Octopress in Python. Of course, I came across a number of options with a simple google search:

http://gistpages.com/2013/08/12/complete_list_of_static_site_generators_for_python

Not included in this is Nikola, which looks interesting:

http://getnikola.com/

I am looking for feedback from first hand experience with any of these (or others).

Why Python? Because I am working with Python for a number of other projects and I'd like to stay in that domain if at all possible. Avoiding PHP for the same and other reasons.

( 11 comments | 10 points | on HN )
Re:Python-based static site/blog generators? by MaDeuce on Friday December 06, 2013 @04:04PM (#6863790)
I've been using Pelican for over a year and have been pleased. It's mature, but still has active development and a strong community. A few major features:

  * markup languages (reStructuredText, Markdown, etc.),
  * code highlighting via pygments
  * themeable
  * simple to use
  * support for automated deployment
http://blog.getpelican.com/
Re:Python-based static site/blog generators? by yummyfajitas on Friday December 06, 2013 @02:42PM (#6863204)
I use Hyde and it works great for me.

http://ringce.com/hyde

My webpage uses it, feel free to steal everything besides the content:

https://github.com/stucchio/homepage

Re:Python-based static site/blog generators? by martincho on Friday December 06, 2013 @03:36PM (#6863611)
Hide does look interesting.

Nice blog BTW. Any issues controlling comment spam?

Re:Python-based static site/blog generators? by yummyfajitas on Friday December 06, 2013 @05:46PM (#6864377)
Nope, I'm using standard free disqus and I rarely see any spam.
Re:Python-based static site/blog generators? by sw1tchf00t on Friday December 06, 2013 @03:07PM (#6863402)
This works well if you want to start from a dynamic application: https://github.com/SimonSapin/Frozen-Flask
Re:Python-based static site/blog generators? by martincho on Friday December 06, 2013 @03:22PM (#6863528)
I'm mostly interested in writing a series of programming and hardware design tutorials for my kid (and anyone else who might find them useful). I don't think I need anything fancy for this. Images, code with syntax highlighting and a few things. Not even sure if I want comments. He's been learning Python, so I'll use it as a way to expand his application of the language.

The rough curriculum I have in mind at the moment is:

    - Basic electronics concepts
    - Digital logic
    - Design a simple 8-bit microprocessor
    - Program it using the custom instruction set
    - Implement basic mass storage in Flash (perhaps via USB)
    - Implement a Threaded Interpretive Language (Forth)
    - Write a text editor using Forth
    - Design a number of I/O peripherals
        - 7-segment display
        - A/D and D/A
        - Dot matrix LED display
        - Various sensors
    - Build something useful, like a clock driving the n x m 
      LED display
Re:Python-based static site/blog generators? by bgilroy26 on Monday December 09, 2013 @08:10PM (#6878343)
This curriculum sounds really cool!

Be sure to post your progress to HN!

Re:Python-based static site/blog generators? by vikrantrathore on Thursday December 19, 2013 @02:04AM (#6933314)
I am using tinkerer http://www.tinkerer.me/, its very simple to change and manage and uses well known sphinx-doc with jinja templates. I like it a lot you can check my live site at http://www.vyomtech.com/, since it uses boilerplate html 5 template its very easy to customize.
Re:Python-based static site/blog generators? by sharmi on Friday December 06, 2013 @05:47PM (#6864380)
I use mynt. https://github.com/Anomareh/mynt It is much simpler compared to hyde. The reason I chose mynt above other similar options is that, it allows for custom urls that made migrating my previous wordpress blog posts easier without having to resort to .htaccess magic.
Re:Python-based static site/blog generators? by martincho on Saturday December 07, 2013 @07:29PM (#6868394)
Ah, that's important. I need to look at the other options and see if they all support custom URL's without .htaccess magic, as you put it.
Re:Python-based static site/blog generators? by amitu on Friday December 06, 2013 @09:28PM (#6865169)
I built and use djangothis[1] for my blog. It gives you most of the power and flexibility of django, like templates, arbitrary urls and views [which gets converted to static html], templatetags and a few other niceties.

[1]: https://github.com/amitu/djangothis/.