Skip to main content

Multi-file frontend for single-file code generators.

Project description

https://travis-ci.org/moltob/pymultigen.svg?branch=master https://badge.fury.io/py/pymultigen.svg https://coveralls.io/repos/github/moltob/pymultigen/badge.svg?branch=master

This small library adds multi-file management on top of one or more existing single-file code generators.

Why would I need pymultigen?

Code generators like Mako or Jinja are great and can be used to generate just about any kind of textual output from templates with a nice template language. They are very mature and battle-proven. However, most of those generators have their origin in the web application domain. The typical usecase is to dynamically render a single HTTP response (most of the time an HTML page) from one or more templates. One HTML page.

If you want to use these generators in other scenarious, e.g. to generate code or reports, but not to one but to multiple files in different folders, pymultigen can help. It simply adds an easy to configure file and folder management layer on top of one or more existing code generators.

More docs to come soon.

Project details


Download files

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

Source Distribution

pymultigen-0.0.2.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page