No project description provided
Project description
Easybake is a library (and cli tool) for using an extended subset of CSS3 to describe and ‘bake-in’ some manipulations of HTML files, in particular collation (moveing content around) and numbering.
INSTALL
To install cnx-easybake:
python setup.py install
Primarily for use as a library to process etree HTML trees. Example:
from lxml import etree from cnxeasybake import Oven oven = Oven(myRuleSet) # an CSS3 based ruleset - see docs myHTML = etree.HTML(myHTMLstring) oven.bake(myHTML)
Example usage:
cnx-easybake poc.css poc-raw.html poc-cooked.html
Test files are available on in the tests folder.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
cnx-easybake-0.6.0.zip
(14.1 kB
view hashes)
cnx-easybake-0.6.0.tar.gz
(10.6 kB
view hashes)