This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
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.

Release History

Release History

This version
History Node

0.6.0

History Node

0.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
cnx-easybake-0.6.0.tar.gz (10.6 kB) Copy SHA256 Checksum SHA256 Source Dec 15, 2016
cnx-easybake-0.6.0.zip (14.1 kB) Copy SHA256 Checksum SHA256 Source Dec 15, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting