Metadata-Version: 1.0
Name: pymtt
Version: 0.1
Summary: Command-line Text Transformer
Home-page: https://github.com/pklemenkov/pymtt
Author: Pavel Klemenkov
Author-email: pklemenkov@gmail.com
License: GPL
Download-URL: https://github.com/pklemenkov/pymtt/tarball/master
Description: PyMTT
        =====
        PyMTT is a command-line text transformer. It allows you to render Jinja2_
        templates using context created from pure Python modules or shell environment
        variables. Primary usage is config generation for deployment.
        
        PyMTT was inspired by Oleg Mamontov's MTT_ but uses Python, not Perl.
        
        Example usage
        -------------
        ::
        
            export DJANGO_SETTINGS_MODULE=settings_test
            pymtt -e -d -b config.py ~/template.proto ~/template
        
        This command creates context from ``settings_test`` Django module (-d switch),
        overwrites it with ``config.py`` and finally overwrites context with environment
        variables if any (-e switch). Then uses context to render ``template`` out of
        ``template.proto``.
        
        Installation
        ------------
        ::
        
            pip install pymtt
        
        .. _Jinja2: http://jinja.pocoo.org/
        .. _MTT: http://svn.mamontov.net/svn/mtt/
Platform: UNKNOWN
