{ "info": { "author": "Declan Hoare", "author_email": "declanhoare@exemail.com.au", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Dipswitch\n\nDipswitch is a Python module allowing for switch-case statements with a\nsimilar structure to those in languages that natively support them.\n\n## Usage\n\n```\nfrom dipswitch import switch\nfor case in switch(2):\n\tif case(0):\n\t\tprint(\"doesn't execute\")\n\tif case(1):\n\t\tprint(\"doesn't execute\")\n\t\tbreak\n\tif case(2):\n\t\tprint(\"executes\")\n\tif case(3):\n\t\tprint(\"executes\")\n\t\tbreak\n\tif case(4):\n\t\tprint(\"doesn't execute\")\n\t\tbreak\n\tif case.default():\n\t\tprint(\"doesn't execute\")\n```\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://home.exetel.com.au/declanhoare/projects/dipswitch.git", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "dipswitch", "package_url": "https://pypi.org/project/dipswitch/", "platform": "", "project_url": "https://pypi.org/project/dipswitch/", "project_urls": { "Homepage": "https://home.exetel.com.au/declanhoare/projects/dipswitch.git" }, "release_url": "https://pypi.org/project/dipswitch/1.0/", "requires_dist": null, "requires_python": "", "summary": "Switch statements for Python", "version": "1.0" }, "last_serial": 4012439, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "9c377d3b90ae3469ccb6308bdc2c2098", "sha256": "5e1206bdd8005e844f79e7410b57fa29d42b7ed557613cb5cd762bf07ba6e12b" }, "downloads": -1, "filename": "dipswitch-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9c377d3b90ae3469ccb6308bdc2c2098", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3053, "upload_time": "2018-06-28T18:53:48", "url": "https://files.pythonhosted.org/packages/3e/92/1e8a91a3accf7288788a45f61dabf0c94ac746bc104ec7f8fe3d89b3bb8c/dipswitch-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "91ba784f9c562cf98e34c6d67d196c54", "sha256": "30c53da24640e5a5880af66feb86454c848979ff2a786303c1c7113f1e682ea0" }, "downloads": -1, "filename": "dipswitch-1.0.tar.gz", "has_sig": false, "md5_digest": "91ba784f9c562cf98e34c6d67d196c54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2750, "upload_time": "2018-06-28T18:53:50", "url": "https://files.pythonhosted.org/packages/ca/37/4825fbf31e41d841f87a3a67a7f3ff47f90c197265e87b961f50356dc9c1/dipswitch-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9c377d3b90ae3469ccb6308bdc2c2098", "sha256": "5e1206bdd8005e844f79e7410b57fa29d42b7ed557613cb5cd762bf07ba6e12b" }, "downloads": -1, "filename": "dipswitch-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9c377d3b90ae3469ccb6308bdc2c2098", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3053, "upload_time": "2018-06-28T18:53:48", "url": "https://files.pythonhosted.org/packages/3e/92/1e8a91a3accf7288788a45f61dabf0c94ac746bc104ec7f8fe3d89b3bb8c/dipswitch-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "91ba784f9c562cf98e34c6d67d196c54", "sha256": "30c53da24640e5a5880af66feb86454c848979ff2a786303c1c7113f1e682ea0" }, "downloads": -1, "filename": "dipswitch-1.0.tar.gz", "has_sig": false, "md5_digest": "91ba784f9c562cf98e34c6d67d196c54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2750, "upload_time": "2018-06-28T18:53:50", "url": "https://files.pythonhosted.org/packages/ca/37/4825fbf31e41d841f87a3a67a7f3ff47f90c197265e87b961f50356dc9c1/dipswitch-1.0.tar.gz" } ] }