Skip to main content

SWSG (Static Web Site Generator) is a tool to generate static web pages.

Project description

swsg (static web site generator) is a tool to create static websites using
human-readable markup languages like ReST_. It was highly-inspired by SR_.
The advantage of SWSG against directly using (X)HTML files is that you have one
(or more) templates and do not have to rewrite every your main layout on ebery
single site. You can concentrate on the main content: the text; the content is
seperated from the templates.

- supports many markup languages: Markdown_, Creole_, Textile_, ReST_
- supports many template engines: Jinja2_, Mako_, Genshi_, and also a very
simple template language for those who do not need control structures like
loops or if-conditions
- supports clevercss_ beside the usual CSS as a markup language for the
- provides multiple interfaces: until now, only a CLI is implemented, but
others are planned:

- PIDA_-Plugin
- web interface
- possibly a GTK+ or Qt application, but I think using the PIDA-Plugin is
more comfortable

In order to be able to install swsg, you need `Python`_ (version 2.7 or
2.6 with the Python package `argparse`_ installed) and the
following Python packages:

- texttable_
- py_
- Logbook_
- CleverCSS_
- at least one of the following markup languages: ReST_, markdown_,
creole_, textile_
- optional: one or more of the following template engines: jinja2_, mako_, genshi_

.. _ReST:
.. _SR:
.. _markdown:
.. _creole:
.. _textile:
.. _jinja2:
.. _mako:
.. _Genshi:
.. _clevercss:
.. _PIDA:
.. _argparse:
.. _texttable:
.. _py:
.. _Python:
.. _Logbook:

Project details

Download files

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

Source Distributions (27.0 kB view hashes)

Uploaded source

swsg-0.3.0.tar.gz (19.5 kB view hashes)

Uploaded source

Built Distribution

swsg-0.3.0-py2.6.egg (30.2 kB view hashes)

Uploaded 2 6

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