Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xiaq/jadepy

Another jade implementation in Python
https://github.com/xiaq/jadepy

Last synced: 21 days ago
JSON representation

Another jade implementation in Python

Awesome Lists containing this project

README

        

jade.py
=======

Another Python implementation of the [jade templating language](https://github.com/visionmedia/jade).

Dependencies
------------

Only Python 2.7 is supported. There are no other dependencies.

Feature
-------

* Line-to-line conversion to minimalize debug headaches

Conformity
----------

The goal is to achieve identical behavior for most examples listed on the
[official README](https://github.com/visionmedia/jade/blob/master/Readme.md),
except

* deprecated features
* examples with Javascript code lines
* when certain features conflict with Jinja2 features the latter would usually
take precedence

Relevant examples have been extracted and revised and can be found in the
`conformity-tests/` subdirectory. All omissions and revisions are documented
in individual files there.

Usage
-----

Before I have done proper packaging, use this for testing:

python -m jade.compile < some.jade

The output is Jinja2.

License
-------

MIT license, same as official Jade. See LICENSE for a copy.