{ "info": { "author": "Guillaume Bour", "author_email": "guillaume@bour.cc", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Environment :: X11 Applications", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: English", "Natural Language :: French", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Sample config::\n\n # a value is set with: key : value\n # values are typed. allowed types are:\n # - string (simple or double quotes)\n # - boolean (True or False. is case sensitive)\n # - integer\n\n strval : 'this is a string'\n boolval: True\n intval : 142\n\n # you can define hierarchies with dictionaries\n # ! no comma to se\n orgchart : {\n boss : 'Mr Goldmine'\n \n head_office : {\n VP : 'Miz dho'\n CTO : 'John Bugs'\n }\n }\n\nLoaded from python::\n\n >>> import pyerconf\n >>> cfg = pyerconf.Config('./sample.cfg')\n >>> print cfg.strval\n this is a string\n >>> print cfg.orgchart.boss\n Mr Goldmine\n >>> print cfg.orgchart.head_office\n {'VP': 'Miz dho', 'CTO': 'John Bugs'}\n\n >>> print cfg.foobar\n AttributeError", "description_content_type": null, "docs_url": null, "download_url": "http://devedge.bour.cc/resources/pyerconf/src/pyerconf.latest.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://devedge.bour.cc/wiki/PyerConf", "keywords": null, "license": "GNU General Public License v3", "maintainer": null, "maintainer_email": null, "name": "pyerconf", "package_url": "https://pypi.org/project/pyerconf/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyerconf/", "project_urls": { "Download": "http://devedge.bour.cc/resources/pyerconf/src/pyerconf.latest.tar.gz", "Homepage": "http://devedge.bour.cc/wiki/PyerConf" }, "release_url": "https://pypi.org/project/pyerconf/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Pythonic Hierarchical Configuration parser", "version": "0.1.0" }, "last_serial": 797164, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b80f129e16998bfd35cce6df9967d682", "sha256": "f724cd5b485ef540a0deac3a20e16cae134f8163d8ff31ff1599eaf23aacdf08" }, "downloads": -1, "filename": "pyerconf-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b80f129e16998bfd35cce6df9967d682", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15987, "upload_time": "2011-10-27T19:02:45", "url": "https://files.pythonhosted.org/packages/b6/f0/eea5a19a8d2d1ea462b03e6d85c27e3052f6b5c3b676a538fcf35dcceda5/pyerconf-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b80f129e16998bfd35cce6df9967d682", "sha256": "f724cd5b485ef540a0deac3a20e16cae134f8163d8ff31ff1599eaf23aacdf08" }, "downloads": -1, "filename": "pyerconf-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b80f129e16998bfd35cce6df9967d682", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15987, "upload_time": "2011-10-27T19:02:45", "url": "https://files.pythonhosted.org/packages/b6/f0/eea5a19a8d2d1ea462b03e6d85c27e3052f6b5c3b676a538fcf35dcceda5/pyerconf-0.1.0.tar.gz" } ] }