Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install appconfig

How to install appconfig

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install appconfig
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
0.2dev Available View build log
 
Author
License
BSD
Dependencies
Imports
Lastest release
version 0.2dev on Sep 20th, 2013

appconfig

appconfig is a python module that simplifies the usage of ini based config files. It uses the Python ConfigParser module. The advantage of the appconfig module it that it allows defining default values for all config parameters and to provide a description of each parameter. While writing the config file back it will add comments above all of the config values and since we have default values we never need to check if a value is defined.

Features

The appconfig module offers the following features:

  • default values for config values
  • config file generation with parameter description
  • automatic type conversion and type checks for config values
  • config directory handling

Changelog

0.2
  • rename get_s function to get
  • improved test coverage
  • fix for load_default on windows
  • added compatibility for Python 3.x
0.1 (2013-06-19)
  • Initial Version

Subscribe to package updates

Last updated Sep 20th, 2013

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.