https://github.com/xiaq/jadepy
Another jade implementation in Python
https://github.com/xiaq/jadepy
Last synced: about 1 year ago
JSON representation
Another jade implementation in Python
- Host: GitHub
- URL: https://github.com/xiaq/jadepy
- Owner: xiaq
- License: mit
- Created: 2013-07-20T06:51:55.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-09-18T12:32:52.000Z (over 11 years ago)
- Last Synced: 2025-03-19T19:29:42.528Z (about 1 year ago)
- Language: Python
- Size: 305 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.