27 October, 2012

Dict4Ini 0.9.9


Developer:

Website:

License / Price:

Platforms:

Databases:

Language:

Last Updated:

Category:
limodou | More scripts
code.google.com
BSD License 

Windows / Linux / Mac OS / BSD / Solaris
N/A
Python
October 27th, 2012, 18:29 GMT [view history]
C: \ Modules \ Python Modules

The module acts just like a dict, but can access it's sections and options with attribute syntax, just like x.test.

Here are some key features of "Dict4Ini":

· As simple as others
· Can access options according to dict syntax, just like x'name''o' = 1, x'name'.keys(), x'name'.values(), etc.
· Also can access options according to attr syntax, just like x.name.o = 1, x.name.keys(), x.name.values(), etc. So the name must be Identifier or single word.
· Can save comments (but this feature is not tested)
· Support multi level section, subsection name will just like: firsub/secsub
· Can save config items order
· Support multi data types: string, unicode, int, float, list/tuple, dict, etc, can save them to or regain them from config file
· Can convert to dict '''new'''
· Auto detect BOM of utf-8 file '''new'''
· Can encrypt or encode in base64 specified sections

What's New in This Release: [ read full changelog ]

· Using 2to3 convert the source code
· Fixed original str and unicode calls, remove unicode calls, and remove encoding processes
· Removed encrypt processes
· Fixed some syntax bugs, make it more pythonic
· If you want to use dict4ini in python3, you should import dict4ini3 module instead.


Download button
Via: Dict4Ini 0.9.9

0 Comment: