Skip to main content

Config file reading, writing and validation. DEVELOPMENT VERSION.

Project description

ConfigObj is a simple but powerful config file reader and writer: an ini file round tripper. Its main feature is that it is very easy to use, with a straightforward programmer’s interface and a simple syntax for config files.

List of Features

  • Nested sections (subsections), to any level

  • List values

  • Multiple line values

  • Full Unicode support

  • String interpolation (substitution)

  • Integrated with a powerful validation system

    • including automatic type checking/conversion

    • and allowing default values

    • repeated sections

  • All comments in the file are preserved

  • The order of keys/sections is preserved

  • Powerful unrepr mode for storing/retrieving Python data-types

Changelog

Unreleased

  • Drop support for EOL Python 2.6 and 3.3

  • Add support for Python 3.7

Release 5.1.0

  • Unified modules into the ‘configobj’ package (#72, #31, #32)

  • Added validate v1.1.0 shim to allow a gradual migration, rewrite your imports as from configobj.validate import … to get rid of it

  • Alternative line comment markers for more INI compatibility (#79)

  • More detailed multi-error reports (#73)

  • Added ‘decoupled’ mode to merge() (#115)

  • fix: mixed_list accepts type name variants (#110)

  • fix: Don’t quote git-style section titles (#74)

  • docs: Explicit mention of force_list and its pitfalls (#112)

Older Releases

  • Release 5.0.6 improves error messages in certain edge cases

  • Release 5.0.5 corrects a unicode-bug that still existed in writing files

  • Release 5.0.4 corrects a unicode-bug that still existed in reading files after fixing lists of string in 5.0.3

  • Release 5.0.3 corrects errors related to the incorrectly handling unicode encoding and writing out files

  • Release 5.0.2 adds a specific error message when trying to install on Python versions older than 2.5

  • Release 5.0.1 fixes a regression with unicode conversion not happening in certain cases PY2

  • Release 5.0.0 updates the supported Python versions to 2.6, 2.7, 3.2, 3.3 and is otherwise unchanged

  • Release 4.7.2 fixes several bugs in 4.7.1

  • Release 4.7.1 fixes a bug with the deprecated options keyword in 4.7.0.

  • Release 4.7.0 improves performance adds features for validation and fixes some bugs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

configobj-dev-2019.9.1.zip (174.9 kB view details)

Uploaded Source

File details

Details for the file configobj-dev-2019.9.1.zip.

File metadata

  • Download URL: configobj-dev-2019.9.1.zip
  • Upload date:
  • Size: 174.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4

File hashes

Hashes for configobj-dev-2019.9.1.zip
Algorithm Hash digest
SHA256 5f2948d21263b42098f50c22080338c93ff734cb58f936846f51635afff24d61
MD5 0185d90f45b29d33410f7d93c6184a90
BLAKE2b-256 9edd6e4d947dc70b47d523b422ef4a8cece8ef981416d8fbb3f36e05e50fc4a8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page