{ "info": { "author": "Omer Shelef", "author_email": "shlaflaf@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "lynx\n====\n\nSimple python configuration library and format. The format is very similar to YAML with the enhancment of sections.\n\n##Installation\n\nInstall the ``lynx`` package with [pip]():\n\n pip install lynx\n\n\n\n\n\n##Example use\n\nConfiguration example:\n```\n# section example\nsection {\n\t# fields\n\tfield1: myfield1 value\n\tfield2: Another field value\n\t\n\t# lists\n\tmylist: [5, mystr, value, 8]\n}\n\n\n# Another section\nsection2 {\n\t\n\t# sub section example\n\tmy_section {\n\t\tname: lynx\n\t}\n\n\t# sections can have same name.\t\n\tmy_section {\n\t # multiline fields\n\t\tLibrary description:|\n\t\t Lynx is a python\n\t\t Configuration library\n\t\t supporting many features\n\t\t including multiline fields!$%$!%#@\n\t\t Yay!\n\n\t\tmyfloat: 5.3\n\t}\n}\n\n```\n\nLoad the configuration:\n```\n>>> import lynx\n\n# Load file\n>>> with open(\"config.conf\", \"r\") as fp:\n... config = lynx.load(fp)\n\n# Get the first section\n>>> config[0].name()\n'section'\n>>> config[0].fields()\n{'field2': 'Another field value', 'field1': 'myfield1 value', 'mylist': [5, 'mystr', 'value', 8]}\n\n# Get sub sections\n>>> config[1].sub_sections()\n[, ]\n>>> config[1].sub_sections()[0].name()\n'my_section'\n```\n\n\n\n## Features\n\nFeatures include:\n* Sections\n* Sub sections\n* Lists\n* Multiline fields\n* Load & dump\n* Types:\n * Strings\n * Integers\n * Floats", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/omershelef/lynx/", "keywords": null, "license": "The MIT License (MIT)", "maintainer": null, "maintainer_email": null, "name": "lynx", "package_url": "https://pypi.org/project/lynx/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/lynx/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/omershelef/lynx/" }, "release_url": "https://pypi.org/project/lynx/0.3.1/", "requires_dist": null, "requires_python": null, "summary": "Python configuration library", "version": "0.3.1" }, "last_serial": 1324436, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "b1b8ba4213842c4a8a15d73e7600bad8", "sha256": "1947520d6a9b2caa2ef16526c467221af3e27e3f8e2bdc74d63932f939188735" }, "downloads": -1, "filename": "lynx-0.1.tar.gz", "has_sig": false, "md5_digest": "b1b8ba4213842c4a8a15d73e7600bad8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1129, "upload_time": "2014-11-09T15:00:06", "url": "https://files.pythonhosted.org/packages/17/fb/f363aabde3b952c62f09b66257bc0c78f1d52b0235b637ab9270463d5b1c/lynx-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "b68d048a157ac86134876af9af04c6de", "sha256": "1c01408df82110e763a1ff40d9f468468884e219bbc0074888a3340ede87d2df" }, "downloads": -1, "filename": "lynx-0.2.tar.gz", "has_sig": false, "md5_digest": "b68d048a157ac86134876af9af04c6de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1834, "upload_time": "2014-11-09T17:33:22", "url": "https://files.pythonhosted.org/packages/96/56/b269f2e51c1cf19c3110725f3d60946a1960a529acafe3151531b96e9f33/lynx-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "949ef4fce27f1390fc02c787ddbafc8f", "sha256": "e9f056b3ef1567115b60a4fe32951fb9ca5dce337d071c23a1b343d771da58a3" }, "downloads": -1, "filename": "lynx-0.2.1.tar.gz", "has_sig": false, "md5_digest": "949ef4fce27f1390fc02c787ddbafc8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1258, "upload_time": "2014-11-09T17:38:04", "url": "https://files.pythonhosted.org/packages/bd/17/16b9253abec3014955301b0f24198a5a6d18f8aaa2aa3b969697ee9c8358/lynx-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "d12006bf8d27c4a7c25dfeaa8b2607f0", "sha256": "147e66be6997af9f430ce2224b05a48343f0fed5dfe8bdac91d478f7eeac98c8" }, "downloads": -1, "filename": "lynx-0.2.2.tar.gz", "has_sig": false, "md5_digest": "d12006bf8d27c4a7c25dfeaa8b2607f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2801, "upload_time": "2014-11-09T21:27:59", "url": "https://files.pythonhosted.org/packages/ba/f7/9e764da3e653453aae22b37a7d03c6718f4bce931010f1f5ffce2fb369d0/lynx-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "869996f77703aac9726e76d45fcbfdde", "sha256": "be9fb81b4722b8c09d03c906f7ad8dab6620dabdb4b73eb0e4184b7cecb38421" }, "downloads": -1, "filename": "lynx-0.2.3.tar.gz", "has_sig": false, "md5_digest": "869996f77703aac9726e76d45fcbfdde", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3526, "upload_time": "2014-11-10T15:23:03", "url": "https://files.pythonhosted.org/packages/d2/44/fb3e50cb3ad11ddcc01f0369fe659b5058410beeeb9ef086d5bffeffdbc7/lynx-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "e6a40f5a437b3c5e0f801653e3b2ad2d", "sha256": "ef34d6d58d47819ea39967cc31cfdec88a4b1f82629f5d31bdab916c49acae35" }, "downloads": -1, "filename": "lynx-0.2.4.tar.gz", "has_sig": false, "md5_digest": "e6a40f5a437b3c5e0f801653e3b2ad2d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3729, "upload_time": "2014-11-10T18:35:27", "url": "https://files.pythonhosted.org/packages/93/2a/589b192a01317bf3961a4764d1d5e3ed21b8b5e2a5e09afcf68e0f8b00db/lynx-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "f16b34acf6a8e91774e5ab0d60ebb44b", "sha256": "2bf1f6df913a8b27fd9f1ea68f12728ee6bc38e3757a8f5573d0d530616c8add" }, "downloads": -1, "filename": "lynx-0.2.5.tar.gz", "has_sig": false, "md5_digest": "f16b34acf6a8e91774e5ab0d60ebb44b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4587, "upload_time": "2014-11-13T17:04:10", "url": "https://files.pythonhosted.org/packages/29/29/4c82b8f537b2d1dfab082ac79719fea3adeb857bc45741264c41387ee1df/lynx-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "3302de3a46fa82a0559e188a8f3a2617", "sha256": "debe750571344bfd5267a7e86e2b83975ed623bfd69173adbbc9c67e9bd1ea3c" }, "downloads": -1, "filename": "lynx-0.2.6.tar.gz", "has_sig": false, "md5_digest": "3302de3a46fa82a0559e188a8f3a2617", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4755, "upload_time": "2014-11-14T13:39:34", "url": "https://files.pythonhosted.org/packages/05/c2/b5e6f97238e00673862987615a9062bd90184187eb5707ffc66489bc06e1/lynx-0.2.6.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "8900bf9197303f50ccd0ea60a02902ba", "sha256": "43b15698c2103dbc324df39c7ad34cc3a398e6f4116a9fdbd9b8428e803a3bc1" }, "downloads": -1, "filename": "lynx-0.3.tar.gz", "has_sig": false, "md5_digest": "8900bf9197303f50ccd0ea60a02902ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5397, "upload_time": "2014-11-26T21:47:11", "url": "https://files.pythonhosted.org/packages/3a/c3/fbf68180f37747415c7469e84f9f608d9c3aaeeac5427d3d4ef7e79000a7/lynx-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "7b8222feb5e012922d9be26e58f6b400", "sha256": "3d1d17d367ed340bb805e827926340a46bde346dbd9cb3565aad4083c0ae1a48" }, "downloads": -1, "filename": "lynx-0.3.1.tar.gz", "has_sig": false, "md5_digest": "7b8222feb5e012922d9be26e58f6b400", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5622, "upload_time": "2014-11-28T20:42:29", "url": "https://files.pythonhosted.org/packages/ae/ad/82353da78e6ab95fce445c44afce6a1230fffe25f57c4652f27c2ecfc447/lynx-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7b8222feb5e012922d9be26e58f6b400", "sha256": "3d1d17d367ed340bb805e827926340a46bde346dbd9cb3565aad4083c0ae1a48" }, "downloads": -1, "filename": "lynx-0.3.1.tar.gz", "has_sig": false, "md5_digest": "7b8222feb5e012922d9be26e58f6b400", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5622, "upload_time": "2014-11-28T20:42:29", "url": "https://files.pythonhosted.org/packages/ae/ad/82353da78e6ab95fce445c44afce6a1230fffe25f57c4652f27c2ecfc447/lynx-0.3.1.tar.gz" } ] }