Skip to content

Python iniparse module with patches from Fedora project

License

Notifications You must be signed in to change notification settings

befeleme/python-iniparse

This branch is up to date with candlepin/python-iniparse:main.

Folders and files

NameName
Last commit message
Last commit date
Dec 16, 2024
Dec 6, 2008
Oct 31, 2022
Dec 16, 2024
Dec 11, 2024
Oct 24, 2022
Dec 11, 2024
Dec 16, 2024
Dec 6, 2008
Oct 3, 2004
Aug 8, 2007
Dec 16, 2024
Dec 16, 2024
Oct 17, 2022
Dec 16, 2024
Sep 6, 2024
Dec 16, 2024
Sep 6, 2024

Repository files navigation

Introduction to iniparse

iniparse is a INI parser for Python which is:

  • Compatible with ConfigParser: Backward compatible implementations of ConfigParser, RawConfigParser, and SafeConfigParser are included that are API-compatible with the Python standard library.

  • Preserves structure of INI files: Order of sections & options, indentation, comments, and blank lines are preserved as far as possible when data is updated.

  • More convenient: Values can be accessed using dotted notation (cfg.user.name), or using container syntax (cfg['user']['name']).

It is very useful for config files that are updated both by users and by programs, since it is very disorienting for a user to have her config file completely rearranged whenever a program changes it. iniparse also allows making the order of entries in a config file significant, which is desirable in applications like image galleries.

Website: https://github.com/candlepin/python-iniparse/

Copyright (c) 2001-2008 Python Software Foundation

Copyright (c) 2004-2009 Paramjit Oberoi <param.cs.wisc.edu>

Copyright (c) 2007 Tim Lauridsen tla@rasmil.dk

All Rights Reserved. See LICENSE-PSF & LICENSE for details.

About

Python iniparse module with patches from Fedora project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.9%
  • HTML 4.6%
  • CSS 1.6%
  • Other 0.9%