pyssed: Easily generate CSS from Python

I spent this evening executing an idea that I had a few weeks ago, after looking at Sass and LessCSS.  The idea is this:

Don’t write CSS.  Write Python, and then output it as CSS.

The advantages are that you can do-away with all the annoyingness of CSS, and gain all the fun of Python.  Variables? Check! Functions? Check! Lots of fun syntax and code/style reuse? Check!

I committed it to github, so you can go check it out there.  It’s called pyssed.  Take a look at the README, as well as the source code in examples.  I’d love to hear your feedback.

This entry was posted in General. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>