{ "info": { "author": "scostesu", "author_email": "scostesu@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "=================================================\ntest_list_cst is test list with embedded lists\n=================================================\nlist2outline will format the contents of a list\n(with or w/o embedded lists) to an outline.\n\nUSEAGE:\nlist2outline(your_list, wiki_style, root_level)\n\nWHERE:\nyour_list is a list\n EG: my_list = ['one', 'two', ['eh', 'bee', \n ['eye', 'aye-aye', 'aiyayai']], 'see']\nwiki_style is:\n 'doku' (dokuwiki) (default)\n 'lion' (lionwiki)\n 'lionhead' (lionwiki headers)\n 'I' (traditional outline style) (set root_level\n to 0 for best results)\n anything else (tab-indented)\nroot_level is beginning level (default 1)\n\nEG:\n>>> scos.testlist()\nHere is a list you can copy and paste:\n['gta', ['locations', ['gi', ['subnets', ['10.10.1.0/24', ['.1 router', '.222 avaya']]], 'rc', 'bh']], 'ppl', ['locations', ['gi', 'sterling', 'jerome']]]\n\n\n>>> cst = ['gta', ['locations', ['gi', ['subnets',\n['10.10.1.0/24', ['.1 router', '.222 avaya']]], \n'rc', 'bh']], 'ppl', ['locations', ['gi', \n'sterling', 'jerome']]]\n\n\n>>> scos.list2outline(cst)\n * gta\n * locations\n * gi\n * subnets\n * 10.10.1.0/24\n * .1 router\n * .222 avaya\n * rc\n * bh\n * ppl\n * locations\n * gi\n * sterling\n * jerome\n\n\n>>> scos.list2outline(cst, 'lion')\n* gta\n** locations\n*** gi\n**** subnets\n***** 10.10.1.0/24\n****** .1 router\n****** .222 avaya\n*** rc\n*** bh\n* ppl\n** locations\n*** gi\n*** sterling\n*** jerome\n\n\n>>> scos.list2outline(cst, 'lionhead')\n! gta\n!! locations\n!!! gi\n!!!! subnets\n!!!!! 10.10.1.0/24\n!!!!!! .1 router\n!!!!!! .222 avaya\n!!! rc\n!!! bh\n! ppl\n!! locations\n!!! gi\n!!! sterling\n!!! jerome\n\n\n>>> scos.list2outline(cst, 'I', 0)\nI. gta\n A. locations\n i. gi\n 1. subnets\n a. 10.10.1.0/24\n aa. .1 router\n bb. .222 avaya\n ii. rc\n iii. bh\nII. ppl\n A. locations\n i. gi\n ii. sterling\n iii. jerome\n\n\n>>> scos.list2outline(cst, 'x')\n\tgta\n\t\tlocations\n\t\t\tgi\n\t\t\t\tsubnets\n\t\t\t\t\t10.10.1.0/24\n\t\t\t\t\t\t.1 router\n\t\t\t\t\t\t.222 avaya\n\t\t\trc\n\t\t\tbh\n\tppl\n\t\tlocations\n\t\t\tgi\n\t\t\tsterling\n\t\t\tjerome\n\n\n=================================================\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "agathering.org", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "scos", "package_url": "https://pypi.org/project/scos/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/scos/", "project_urls": { "Download": "UNKNOWN", "Homepage": "agathering.org" }, "release_url": "https://pypi.org/project/scos/150208.3/", "requires_dist": null, "requires_python": null, "summary": "formats the contents of embedded list to dokuwiki unordered list markup", "version": "150208.3" }, "last_serial": 1415431, "releases": { "150206.5": [ { "comment_text": "", "digests": { "md5": "df15e734b7983cba15d714ee3b73087a", "sha256": "80bf58651211949e94fd130ded124ecfbb8b084ffd743112f62618288be8e6a5" }, "downloads": -1, "filename": "scos-150206.5.tar.gz", "has_sig": false, "md5_digest": "df15e734b7983cba15d714ee3b73087a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 982, "upload_time": "2015-02-07T18:00:36", "url": "https://files.pythonhosted.org/packages/ef/24/4c464c5748f9e89c1de75f64caae0e6cc65fd6cb2f53265c206aec0bc19f/scos-150206.5.tar.gz" } ], "150207.1": [ { "comment_text": "", "digests": { "md5": "388052452cd1376cb1b5faf29155ba66", "sha256": "4908c745ef02f470d61920e89a9cbc6d7fd21287fb2983f2664c8d401cd12e60" }, "downloads": -1, "filename": "scos-150207.1.tar.gz", "has_sig": false, "md5_digest": "388052452cd1376cb1b5faf29155ba66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1005, "upload_time": "2015-02-07T18:21:14", "url": "https://files.pythonhosted.org/packages/88/7e/76c6bf6cf0f5034a03e6e689007f2d76cbd78f5c68e45c6b98a013da8052/scos-150207.1.tar.gz" } ], "150207.2": [ { "comment_text": "", "digests": { "md5": "81b36073e21e8a09b4188e9b05ac900c", "sha256": "5aaefd48ce746477a26f419f59ef0aa19777069f56ccc2194b3b824f6f4ba24b" }, "downloads": -1, "filename": "scos-150207.2.tar.gz", "has_sig": false, "md5_digest": "81b36073e21e8a09b4188e9b05ac900c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 938, "upload_time": "2015-02-08T04:38:27", "url": "https://files.pythonhosted.org/packages/8d/ca/60bb5f748eff699cf93eabad240b9284c4863aef54f84391ae8cd7cf062c/scos-150207.2.tar.gz" } ], "150207.3": [ { "comment_text": "", "digests": { "md5": "a44d80caca20c9ce6de1f5078dd0d940", "sha256": "f71bb08602cd75ed0d86b9e40a9c5a06428ff9617fb1838d30328a29fb14cd5a" }, "downloads": -1, "filename": "scos-150207.3.tar.gz", "has_sig": false, "md5_digest": "a44d80caca20c9ce6de1f5078dd0d940", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1060, "upload_time": "2015-02-08T04:40:37", "url": "https://files.pythonhosted.org/packages/16/34/427f1139c3c0a48e2c91c6ac7b4d2f931b769f6d8bbe32196e36571ce114/scos-150207.3.tar.gz" } ], "150207.4": [ { "comment_text": "", "digests": { "md5": "6026698ff08378373ec736a60c9cc904", "sha256": "29d59669862eb268cb1118737eff41253ca1df2f00da514dd17a38864506f115" }, "downloads": -1, "filename": "scos-150207.4.tar.gz", "has_sig": false, "md5_digest": "6026698ff08378373ec736a60c9cc904", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1069, "upload_time": "2015-02-08T04:45:58", "url": "https://files.pythonhosted.org/packages/a9/b6/5037fd2563b35b90414ec6594ba6f0284e7d52c4f43207ae0023f602cc0e/scos-150207.4.tar.gz" } ], "150207.5": [ { "comment_text": "", "digests": { "md5": "36826712ed88d661ac6bbb91285bc85f", "sha256": "dfec26e01cbdffe2800271b681881568a4b7d1b128173676420274cdc5b2992a" }, "downloads": -1, "filename": "scos-150207.5.tar.gz", "has_sig": false, "md5_digest": "36826712ed88d661ac6bbb91285bc85f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1497, "upload_time": "2015-02-08T15:55:15", "url": "https://files.pythonhosted.org/packages/44/45/587012496e324da5d1e052c8f835c7834988a7e42153336a14bab62c1577/scos-150207.5.tar.gz" } ], "150208.3": [ { "comment_text": "", "digests": { "md5": "824406171e413c4f4e626535ee232f38", "sha256": "10dc579574b746103f5f0f3c7fa2cc9f383a45caa17cc5eb15560b27618cc0f8" }, "downloads": -1, "filename": "scos-150208.3.tar.gz", "has_sig": false, "md5_digest": "824406171e413c4f4e626535ee232f38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1863, "upload_time": "2015-02-08T22:43:12", "url": "https://files.pythonhosted.org/packages/0f/58/e8575d0490a033413c72834be2c236e9086bbf34bbfa230bece154914dff/scos-150208.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "824406171e413c4f4e626535ee232f38", "sha256": "10dc579574b746103f5f0f3c7fa2cc9f383a45caa17cc5eb15560b27618cc0f8" }, "downloads": -1, "filename": "scos-150208.3.tar.gz", "has_sig": false, "md5_digest": "824406171e413c4f4e626535ee232f38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1863, "upload_time": "2015-02-08T22:43:12", "url": "https://files.pythonhosted.org/packages/0f/58/e8575d0490a033413c72834be2c236e9086bbf34bbfa230bece154914dff/scos-150208.3.tar.gz" } ] }