configpy 0.1.0
configpy is a Python tool that makes reading configuration files very easy. With support for look-ahead and look-behind variable interpolation, native types such as int, float, dict and list configpy should satisfy your configuration file parsing needs.Example:from configpy import Configcfg = """ nums = [1,2,3,4]nando = "Nando" names = ["Stevie", "${nando}", "Robbie"]planets = { 'planet': '${red_planet}' }red_planet = 'mars'num_items = 5item_cost = 1.
99"""config = Config(cfg)print sum(config.nums) # prints 10print config.planets['planet'] # prints "mars"config.names.sort()print config.names # prints ["Nando", "Robbie", "Stevie"]print config.num_items * config.item_cost # prints 9.95 Requirements:
· Python
Related Downloads:
Today's Top Linux Application
depfinder
1.2.2
depfinder is an utility that scans Slackware packages and outputs a list of their dependencies. The dependency list can be output to stdout, to a comma separated list in a .dep text file or to a slack-required file with or without version information. As of version 1.0.0, depfinder supports x86_64 systems. This can be enabled by passing an extra parameter in the installation scripts (take a look in the INSTALL file in the source tarball...
