{ "info": { "author": "Ayan Bag", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "``SwitchCaseDev``\n==============\n\n``SwitchCaseDev`` is a command in python command which is similar to switch-case in java and python.\nIt is also a implementation of a simple Switch-Case in Python.\n\nBasic Usage:\n===============\n\n``switch()``:\nBasic Syntax:\n.. code :: python\nswitch(case_list,default_value)\n\n where,\n case_list -> a dictionary item , it contains the dictionary of all the case in which switch will be applied\n default_value -> it is the default value which will excute if any of the given case is not applied.\n\n``case()``:\nBasic Syntax:\n.. code :: python\ncase(value)\n\n where,\n value -> the case the need to be applied.\n\n\nExample :\n.. code-block::python\nimport Switch_Case\nexg=Switch_Case.switch(case_list={\"a\":2,\"b\":4},default_value=0)\nprint(exg.case(\"a\"))\n\nOutput:\n2\n\nNote: All name I tried are unavailable so I switch the name to SwitchCaseDev.\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "SwitchCaseDev", "package_url": "https://pypi.org/project/SwitchCaseDev/", "platform": "", "project_url": "https://pypi.org/project/SwitchCaseDev/", "project_urls": null, "release_url": "https://pypi.org/project/SwitchCaseDev/0.1/", "requires_dist": null, "requires_python": "", "summary": "Python implementation of Switch-Case", "version": "0.1" }, "last_serial": 4381212, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "8ac760e9061e303d6df849f9c597fe82", "sha256": "41f1d1c8378992049f1abd49cd57aab475d34c992cfe7759e14e2fcf43442c1b" }, "downloads": -1, "filename": "SwitchCaseDev-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "8ac760e9061e303d6df849f9c597fe82", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1516, "upload_time": "2018-10-16T12:03:09", "url": "https://files.pythonhosted.org/packages/b1/d0/283b9798880d0d2b86cc7cd426945066682cf5c850773f42c2cbb75a6248/SwitchCaseDev-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "68913592bc9d51446e16ab74963b644c", "sha256": "83fa7a1e407095bd130f31c7cd603eda891a56768165bb6b099cc9a546c31878" }, "downloads": -1, "filename": "SwitchCaseDev-0.1.tar.gz", "has_sig": false, "md5_digest": "68913592bc9d51446e16ab74963b644c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1364, "upload_time": "2018-10-16T12:03:11", "url": "https://files.pythonhosted.org/packages/aa/e5/7a0ec4612d98d3b3ff25e69c2d862ae303b9c2e07f8f14c4823207f060e3/SwitchCaseDev-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8ac760e9061e303d6df849f9c597fe82", "sha256": "41f1d1c8378992049f1abd49cd57aab475d34c992cfe7759e14e2fcf43442c1b" }, "downloads": -1, "filename": "SwitchCaseDev-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "8ac760e9061e303d6df849f9c597fe82", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1516, "upload_time": "2018-10-16T12:03:09", "url": "https://files.pythonhosted.org/packages/b1/d0/283b9798880d0d2b86cc7cd426945066682cf5c850773f42c2cbb75a6248/SwitchCaseDev-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "68913592bc9d51446e16ab74963b644c", "sha256": "83fa7a1e407095bd130f31c7cd603eda891a56768165bb6b099cc9a546c31878" }, "downloads": -1, "filename": "SwitchCaseDev-0.1.tar.gz", "has_sig": false, "md5_digest": "68913592bc9d51446e16ab74963b644c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1364, "upload_time": "2018-10-16T12:03:11", "url": "https://files.pythonhosted.org/packages/aa/e5/7a0ec4612d98d3b3ff25e69c2d862ae303b9c2e07f8f14c4823207f060e3/SwitchCaseDev-0.1.tar.gz" } ] }