serde 0.7.4

A generic serialization/deserialization framework
Documentation
#!/usr/bin/env python

import os
import StringIO

import markdown


def main():
    base = os.path.abspath(os.path.dirname(__file__))
    index = os.path.join(base, "index.html.tmpl")
    readme = os.path.join(os.path.dirname(base), "README.md")

    templ = open(index).read()

    buf = StringIO.StringIO("rw")
    markdown.markdownFromFile(input=readme, output=buf)

    print templ.format(body=buf.getvalue())

if __name__ == '__main__':
    main()