Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/xiaq/jadepy
- Owner: xiaq
- License: mit
- Created: 2013-07-20T06:51:55.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-18T12:32:52.000Z (over 10 years ago)
- Last Synced: 2024-12-02T08:56:42.068Z (23 days ago)
- Language: Python
- Size: 305 KB
- Stars: 1
- Watchers: 3
- 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 precedenceRelevant 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.