Skip to main content

Static site generator

Project description

Cyrax is a static site generator using Jinja2 template engine.

It’s inspired from Jekyll and Hyde site generators and started when I realized that I’m dissatisfied with both of them by different reasons. When I tried to come up with name I remembered my favourite character from Mortal Kombat 3 so here we go.

Installation

Well, it’s quite simple, as usually:

pip install cyrax

Cyrax depends on Jinja2 template library, so you can install it through your OS package system. Also CherryPy is used by Cyrax’ internal web server (if you want to use it at all :).

Note, please, that to use parsers like markdown, or reST, or textile, corresponding libraries should be installed (either python-markdown or python-markdown2 are good enough for markdown).

Usage

Read some docs, run cyrax --help to read about command line options, look at example site.

News

Indeed something happens with each release and you are probably interested what (and too lazy to read changelog).

2.0

  • refactored module system, no more cyraxlib, only cyrax now exists

  • completely refactored internal models system, now it uses usual inheritance instead of some strange composition (which means it’s easier to understand and to extend now)

  • ability to write posts in reStructuredText (which as well could serve as an example to writing your own models).

1.0-1.1

  • now most of urls generated on page (by function url_for) are relative to current page, which means that you mostly can view your site without using web-server (though you’ll need to click on index.html yourself :)

  • some docs, heh. This part needs attention anyway

Project details


Download files

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

Source Distribution

cyrax-2.0.tar.gz (15.8 kB view details)

Uploaded Source

File details

Details for the file cyrax-2.0.tar.gz.

File metadata

  • Download URL: cyrax-2.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cyrax-2.0.tar.gz
Algorithm Hash digest
SHA256 76fd9b8322201d0c31fd1b733bb51a3b29a0db461120fd3855c2a650c93410d4
MD5 ba8b75bb72c33df57b86ecc2ce89f7c2
BLAKE2b-256 46c0b96410a890d25e5f1bf5de86482840f1d0a6f86a59e77b453a6243a8052e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page