semvec/pypi-packages huggingface dataset:
eco 1.1.0rc3.1
Python Eco is a bridge to the ECO(CoffeeScript Template) Compiler.
License: MIT License
Keywords: javascript,coffeescript,eco,compiler

Python Eco is a bridge to the `Eco <https://github.com/sstephenson/eco>`_  Compiler.

**Python Eco**
===============

::

    import eco

    eco.compile(open("template.eco"))
    # Out: u"function(...) {...}"

    context = eco.context_for("Hello <%= @name %>")
    context.call("render", {"name": "Sam"})
    # Out: u'Hello Sam'

    eco.render("Hello <%= @name %>", name="world")
    # Out: u'Hello world'


Setup
=====

::

    $ pip install eco

License
========
MIT License