{ "info": { "author": "limodou", "author_email": "limodou@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 6 - Mature" ], "description": "What's it features\r\n====================\r\n\r\n* as simple as others\r\n* you can access options according to dict syntax, just like x['name']['o'] = 1,\r\nx['name'].keys(), x['name'].values(), etc.\r\n* you also can access options according to attr syntax, just like x.name.o = 1,\r\nx.name.keys(), x.name.values(), etc. So the name must be Identifier or single \r\nword.\r\n* you can save comments in it(but this feature is not tested so much)\r\n* support multi level section, subsection name will just like: [firsub/secsub]\r\n* can save config items order\r\n* support multi data types: string, unicode, int, float, list/tuple, dict, etc,\r\nyou can save them to or regain them from config file\r\n* can convert to dict '''new'''\r\n* auto detect BOM of utf-8 file '''new'''\r\n* It's a little module, just for my mind, so if you like, you could try it, but\r\nif you don't like, just skip it, that's ok\r\n\r\nWhere can I download it?\r\n==========================\r\n\r\n* Visit the http://wiki.woodpecker.org.cn/moin/Dict4Ini site\r\n* Project is in http://code.google.com/p/dict4ini/\r\n\r\nWhat's new?\r\n==============\r\n* 2012/10/14 Version 0.9.9 author:vicwjb {vicwjb@gmail.com}\r\n * Using 2to3 convert the source code\r\n * Fix original str and unicode calls, remove unicode calls, and remove encoding processes\r\n * Remove encrypt processes?\r\n * Fix some syntax bugs, make it more pythonic\r\n * If you want to use dict4ini in python3, you should import dict4ini3 module instead.\r\n\r\n* 2011/11/08 Version 0.9.8\r\n \r\n * Remove read file skip not exsisted judge, instead of raising Exception\r\n * Add __enter__ and __exit__ to DictNode, thanks to yxj <381323646 AT qq.com>\r\n\r\n* 2011/01/18 Version 0.9.7\r\n \r\n * Fix #8 bug\r\n\r\n* 2009/11/02 Version 0.9.6\r\n\r\n * Add update method.\r\n\r\n* 2008/03/14 Version 0.9.5\r\n\r\n * Fix __init__.py bug, and you can import dict4ini from dict4ini package\r\n\r\n* 2008/02/16 Version 0.9.4.1\r\n\r\n * Fix comment process, if you comment with node._comment, then if the comment\r\ndoes not begin with '#'(commentdelimeter), it'll automatically add it. \r\n\r\n* 2007/09/22 Version 0.9.3\r\n\r\n * Improve the comment process\r\n * Improve empty section process\r\n * Add normal format support, so each value should be treated string type \r\n\r\n* 2007/09/19 Version 0.9.2.5\r\n\r\n * Save boolean value to 0 or 1\r\n * Add iterator support, and you can use `for i in ini` to iterator (key,value) \r\nnow\r\n * Add 'in' test support, so you can test if a key is in a ini via `key in\r\nini`, it's the same with `ini.has_key(key)` \r\n\r\n* 2007/09/17 Version 0.9.2.4\r\n\r\n * Fix the end string is \\\" bug\r\n\r\n* 2007/08/08 Version 0.9.2.3\r\n\r\n * Fix sub section bug, for secretSection argument, dict4ini will encrypt all\r\nsubsections of a secretSection, for example, secretSection=['a', 'c'], then all\r\nsubsections of 'a' and 'c' will be encrypted. \r\n * Add missing __init__.py file.\r\n\r\n* 2007/07/09 Version 0.9.2.1 thanks to Mayowa Akinyemi\r\n\r\n * Add the ability to protect specific sections. When use with the secretKey or\r\nhideData only section names listed in the secretSections parameter will be\r\nencrypted \r\n\r\n* 2007/07/03 Version 0.9.2\r\n\r\n * Add clear method\r\n * Added encryption code thanks to Mayowa Akinyemi using the secretKey\r\nparameter will encrypt the values using Paul Rubin's p3.py encryption module\r\nusing the hideData parameter will perform base64 enc/dec of the values\r\n\r\n* 2007/06/26 Version 0.9.1\r\n\r\n * Fix float convert bug\r\n\r\n* 2007/06/13 Version 0.9\r\n\r\n * Thanks for Victor Stinner giving a output format patch, so you can define\r\nyour own output format \"%s = %s\" to anything you want, for example \"%s=%s\" or\r\n\"%s:%s\". And Dict4Ini will auto remove '%s' from the fromat string, and the\r\nstrip() the rest of the string, then use it to split the key and value in Ini\r\nfile. For example, if you using \"%s:%\", Dict4Ini will get \"%s:%s\".replace('%s',\r\n'').strip(), then use ':' to split the line.\r\n\r\n* 2007/04/20 Version 0.8\r\n\r\n * Add exception process when parsing file\r\n * Add BOM detect\r\n\r\n* 2007/04/19 Version 0.7\r\n\r\n * Fix '\\' escape\r\n\r\n* 2006/03/21 Version 0.6\r\n\r\n * Fix ordereditems bug.\r\n\r\n* 2006/01/04 Version 0.5\r\n\r\n * 2006/01/04\r\n\r\n * Add ordereditems() method, so you can get the items according the ini file\r\ndefinition\r\n\r\n * 2005/12/30\r\n\r\n * Support onelevel parameter, you can set it True, than only one level can\r\nbe used, so that the key can include section delimeter char in it.\r\n * Support sectiondelimeter parmeter, you can set the section delimeter to\r\nwhich you want\r\n \r\n* 2005/12/12 Version 0.4\r\n\r\n * Fixed a bug about \"\\\" in option's value, thanks to Andreas Kaiser\r\n\r\n* 2005/12/09 Version 0.3\r\n\r\n * Adding dict() method, then you can change the DictIni object to dict type,\r\nso you can really use it as a dict alternative \r\n\r\n* 2005/10/16 Version 0.2\r\n\r\n * Saving config items order\r\n * Support float format", "description_content_type": null, "docs_url": null, "download_url": "http://dict4ini.googlecode.com/files/dict4ini-0.9.9.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://code.google.com/p/dict4ini/", "keywords": "ini,config", "license": "BSD", "maintainer": "limodou", "maintainer_email": "limodou@gmail.com", "name": "Dict4Ini", "package_url": "https://pypi.org/project/Dict4Ini/", "platform": "anyflatform", "project_url": "https://pypi.org/project/Dict4Ini/", "project_urls": { "Download": "http://dict4ini.googlecode.com/files/dict4ini-0.9.9.zip", "Homepage": "http://code.google.com/p/dict4ini/" }, "release_url": "https://pypi.org/project/Dict4Ini/0.9.9/", "requires_dist": null, "requires_python": null, "summary": "Process config file as a dict", "version": "0.9.9" }, "last_serial": 494641, "releases": { "0.1": [], "0.2": [], "0.3": [], "0.4": [], "0.5": [], "0.6": [], "0.9": [], "0.9.1": [], "0.9.2": [], "0.9.2.1": [], "0.9.2.3": [], "0.9.2.4": [], "0.9.2.5": [], "0.9.3": [], "0.9.4": [], "0.9.4.1": [], "0.9.5": [], "0.9.6": [], "0.9.7": [], "0.9.9": [] }, "urls": [] }