Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> python >> python-iniparse
etiona  ]
[ 原始碼: python-iniparse  ]

套件: python-iniparse (0.4-2.2)

access and modify configuration data in INI files (Python 2)

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. They pass all the unit
   tests in Python-2.4.4.

 * 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.

This is a Python 2 version of the package

其他與 python-iniparse 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python
    interactive high-level object-oriented language (default version)
  • dep: python-six
    Python 2 and 3 compatibility library (Python 2 interface)

下載 python-iniparse

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 19.1 kB88 kB [文件列表]