Kraken
![]() |
|
![]() |
|
One of the requirements I had for Nikola my static site/blog generator, was that it should build image galleries. And that it should show the images sorted by date, and that it should be functional and nice.
Well, the nice part has been lacking for a long time. But I think I have a grasp on it now.
Here's before:
PyAr organiza muchos eventos. Tipo media docena al año, o más. Esos eventos incluyen PyCamp, PyCon y varios PyDays.
Los PyDays son especiales, son normalmente un solo track, un solo día (obvio), y organizados en universidades, para estudiantes, y muchas veces por estudiantes. Un obstáculo es cómo armar la infraestructua web para un evento así. Hay una app web2py hecha por Mariano Reingart, pero siento que es como demasiado. Además, armar hosting, bases de datos, customizarla, etc... ¡Es mucho laburo! Así que pensé, empujado por Juan Rodriguez Monti, ver qué se puede hacer sin armar nada tan complicado. Y es bastante. Basado en Nikola mi generador de sitios estáticos, creé un sitio template para eventos chicos, como PyDays, llamado Nikola Event Kit
La meta es que puedas armar el contenido básico, formulario de inscripción, calendario, y lo obvio que haga falta, en un día. Y después te tomás un día o una semana para cutomizar el "look" del sitio.
Y listo, no hay que hacer deployments mas allá de copiar HTML a alguna parte.
Si querés probarlo, acá hay un sitio demo y acá está el código listo para forkear para un evento.
¡Diviértanse!
I'm thrilled to announce version 5.5.1 of Nikola my static site/blog generator is out, with bugfixes and new features (including nice and easy charts) and you can get it from the usual places or from PyPI.
I can't sleep, so I just whipped together a docutils directive that wraps pygal for Nikola, my static site and blog generator.
So, how do you use it? LIke this:
.. chart:: Bar :title: 'Browser usage evolution (in %)' :x_labels: ["2002", "2003", "2004", "2005", "2006", "2007"] 'Firefox', [None, None, 0, 16.6, 25, 31] 'Chrome', [None, None, None, None, None, None] 'IE', [85.8, 84.6, 84.7, 74.5, 66, 58.6] 'Others', [14.2, 15.4, 15.3, 8.9, 9, 10.4]