This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Help us improve Python packaging - Donate today!
Project Description
[![Build Status](](

Builds on top of the builtin SafeConfigParser but adds various convenience functionalities.

* Access to all the usual ConfigParser functionality
* Access sections and items via convience objects and dicts instead of `get()`
* Makes accessing items and section via dicts possible on Python 2.7+, ConfigParser has that from Python 3.2 onwards as a default
* Ability to set values via the objects `config.section.item = 'demmmmm'` and dicts `config['section']['item']` all while `write()` still work as normal
* Make a few functions work directly from the section object `config.section.items()`, `config.section.getboolean('item')`
* Strips any quotes on the edgeds of items used in the INI file instead of returning it as part of the values
* Improve the defaults handling on the object to be more sensible

defaults = {
'section': {
'item1': 'boo',
'item2': 'bar'

config = simpleconfigparser(defaults=defaults)

contents of read.ini:
debug = yes
from simpleconfigparser import simpleconfigparser

config = simpleconfigparser()'read.ini')

print(config['app'].getboolean('debug')) = no
with open('new.ini', 'wb') as handle:

MIT - See LICENSE file
Release History

Release History


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

Supported By

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