This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

sftmpl takes a single file as input and uses the built-in string format method to replace the occurences of brace-enclosed variables by values given on the command-line.

The aim of sftmpl is to simplify the generation of configuration file in computing protocols by providing a command-line enabled customization of these configuration files.

Install

Obtain the distribution file and use

python setup.py install

The source repository is https://github.com/pdebuyl/sftmpl.git and the code may be obtained via the command

git clone https://github.com/pdebuyl/sftmpl.git

Use

sftmpl uses the curly brace named fields defined in PEP 3101.

For the following input file myconfig.txt, you must provide the command-line options -N, –parameter and –N_steps:

# Config for "myprog"
N = {N}
parameter = {parameter}

run {N_steps} steps

The invocation is as follows when sftmpl is installed

sftmpl myconfig.txt -N 10 –parameter 0.1 –N_steps 500

and the following result is output to the standard output:

# Config for "myprog"
N = 10
parameter = 0.1

run 500 steps

Misc

Author: Pierre de Buyl

License: Modified BSD (see LICENSE).

Release History

Release History

0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
sftmpl-0.1.tar.gz (3.6 kB) Copy SHA256 Checksum SHA256 Source Dec 5, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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