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
Metadata
Release files for cyrax 2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cyrax-2.0.tar.gz | 15.8 kB | Details |
Release files / cyrax-2.0.tar.gz
| Download URL | cyrax-2.0.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76fd9b8322201d0c31fd1b733bb51a3b29a0db461120fd3855c2a650c93410d4
|
|
BLAKE2b-256 checksum How to use checksums |
46c0b96410a890d25e5f1bf5de86482840f1d0a6f86a59e77b453a6243a8052e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |