Skip to main content

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

Project description

About
=====
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.

Features
========
- 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
stylesheets
- 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

Requirements
============
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: http://docutils.sourceforge.net/rst.html
.. _SR: http://bitbucket.org/tiax/sr/overview
.. _markdown: http://daringfireball.net/projects/markdown/
.. _creole: http://www.wikicreole.org/
.. _textile: http://textile.thresholdstate.com/
.. _jinja2: http://jinja.pocoo.org/2/
.. _mako: http://www.makotemplates.org/
.. _Genshi: http://genshi.edgewall.org/
.. _clevercss: http://sandbox.pocoo.org/clevercss/
.. _PIDA: http://pida.co.uk/
.. _argparse: http://code.google.com/p/argparse/
.. _texttable: http://pypi.python.org/pypi/texttable
.. _py: http://pypi.python.org/pypi/py
.. _Python: http://python.org
.. _Logbook: http://packages.python.org/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

swsg-0.3.0.zip (27.0 kB view details)

Uploaded Source

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

Uploaded Source

Built Distribution

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

Uploaded Source

File details

Details for the file swsg-0.3.0.zip.

File metadata

  • Download URL: swsg-0.3.0.zip
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for swsg-0.3.0.zip
Algorithm Hash digest
SHA256 1f4e19e48c0f9e7597a24a12ad4f21c7a8db1bd60de675c2d28f65448d925e11
MD5 794edb8ed4603e4a96e015492c242d16
BLAKE2b-256 c3b63ad3bbd5589b8190a979083410aedc3bb567f94f5bf4e30e52ca7eeb2b47

See more details on using hashes here.

File details

Details for the file swsg-0.3.0.tar.gz.

File metadata

  • Download URL: swsg-0.3.0.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for swsg-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2ffcc17bd3e68489605ec83ff6695c04282d52219c03fef33c57a414e98005a1
MD5 b1c7a70f670ae0cfb24c38286f83da12
BLAKE2b-256 3d2ac6bccc8f3901887372459230de152d30438c298d323ae4bc9a08a9d1c5b6

See more details on using hashes here.

File details

Details for the file swsg-0.3.0-py2.6.egg.

File metadata

  • Download URL: swsg-0.3.0-py2.6.egg
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for swsg-0.3.0-py2.6.egg
Algorithm Hash digest
SHA256 1cb0dbc5e67c1056f56d9653091058caf2b316b346527c29476bec8145ff896c
MD5 3dc0a63a31978bfd9ef5097124724287
BLAKE2b-256 29d70c8ceb2fd64989cc0ceb04d8ba31c518f1e98eeccccde1552b754b572c21

See more details on using hashes here.

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