{ "info": { "author": "Richie Bendall", "author_email": "richiebendall@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Thank you for installing the modules of ROS Code.\nThe installation adds [these](https://github.com/Richienb/ROS-Code/tree/master/min/ros) ([view unminified](https://github.com/Richienb/ROS-Code/tree/master/src/ros)) files in a folder called `ros` in your Python `site-packages` directory.\nYou can use any commands exposed in that directory\n\n#### Here's an example:\n\nThis is how you'd **normally** check if a number is a prime one.\nYou'd have to create a new function and add a docstring so Python will recognize it when a user executes the `pydoc` command.\nThen you'll need to ask for the user's input and execute the command.\n\n```python\ndef isprime(number):\n \"\"\"\n\n Check if a number is a prime number\n\n number:\n The number to check\n\n \"\"\"\n\n if number == 1:\n return False\n for i in range(2, int(number**0.5) + 1):\n if number % i == 0:\n return False\n return True\n\nif isprime(input(\"Enter a number to check for prime: \")):\n print(\"It is prime!\")\nelse:\n print(\"It isn't prime!\")\n```\n\nWith **ROS Code**, you can simplify this task:\n\n```python\nfrom ros.main import isprime\n\nif isprime(input(\"Enter a number to check for prime: \")):\n print(\"It is prime!\")\nelse:\n print(\"It isn't prime!\")\n```\n\nYou can **find more tasks** which you can simplify related to maths, strings and more [here](https://github.com/Richienb/ROS-Code/tree/master/src/ros).", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Richienb/ROS-Code", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "ros-code-modules", "package_url": "https://pypi.org/project/ros-code-modules/", "platform": "", "project_url": "https://pypi.org/project/ros-code-modules/", "project_urls": { "Homepage": "https://github.com/Richienb/ROS-Code" }, "release_url": "https://pypi.org/project/ros-code-modules/2.0.0.24/", "requires_dist": null, "requires_python": "", "summary": "A Python module/library containing lots of tools to simplify Python development.", "version": "2.0.0.24" }, "last_serial": 4279372, "releases": { "2.0.0.12": [ { "comment_text": "", "digests": { "md5": "420efc70f98512199b693608b8a1fc19", "sha256": "56a93cd70c5f58e3e99928f7b7a83fdb22815ecd302d0d39b5186f6b6c71a04a" }, "downloads": -1, "filename": "ros-code-modules-2.0.0.12.tar.gz", "has_sig": false, "md5_digest": "420efc70f98512199b693608b8a1fc19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11336, "upload_time": "2018-09-03T13:06:45", "url": "https://files.pythonhosted.org/packages/39/ad/3f7c6c39d62198b2f7cbf7faa188937bfd9ff00b9fbeb0aa87560a1be524/ros-code-modules-2.0.0.12.tar.gz" } ], "2.0.0.18": [ { "comment_text": "", "digests": { "md5": "80935ed4e45554a23332f2c519434a46", "sha256": "cf44d93daa56da77e65d68c424abfba1762f89eedae327773f8c59b4dcf103f1" }, "downloads": -1, "filename": "ros-code-modules-2.0.0.18.tar.gz", "has_sig": false, "md5_digest": "80935ed4e45554a23332f2c519434a46", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11144, "upload_time": "2018-09-16T02:48:47", "url": "https://files.pythonhosted.org/packages/0e/8c/fb9f9647e7be8c7f3323a2f0c3c7f35ce45257cb07ba31b837089935a712/ros-code-modules-2.0.0.18.tar.gz" } ], "2.0.0.20": [ { "comment_text": "", "digests": { "md5": "8ef0708f0d3356a61e728523ab9acc0f", "sha256": "393da696b6847faf8da89585fb81b403ff920f954ef7d07f5f937a33617ba9e2" }, "downloads": -1, "filename": "ros-code-modules-2.0.0.20.tar.gz", "has_sig": false, "md5_digest": "8ef0708f0d3356a61e728523ab9acc0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11139, "upload_time": "2018-09-16T04:23:20", "url": "https://files.pythonhosted.org/packages/90/75/0a4633e08cfc0c480fdcd2988f5cf872996a6639973d843dfae7211a6491/ros-code-modules-2.0.0.20.tar.gz" } ], "2.0.0.21": [ { "comment_text": "", "digests": { "md5": "3eefabfd84164e8b21aa2217b45396be", "sha256": "3e17164c710fc43a3a93ab7575793648b84f87595364c07c94f9a89139c7d1c1" }, "downloads": -1, "filename": "ros-code-modules-2.0.0.21.tar.gz", "has_sig": false, "md5_digest": "3eefabfd84164e8b21aa2217b45396be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11144, "upload_time": "2018-09-16T04:36:36", "url": "https://files.pythonhosted.org/packages/38/74/660e13650a9a7902b953d7bef67033d315355eedac71a1e30557f1077509/ros-code-modules-2.0.0.21.tar.gz" } ], "2.0.0.23": [ { "comment_text": "", "digests": { "md5": "4cb576f1f07766cffde1ded1e69a0a58", "sha256": "849364a4934ac799fd3b881003ce798fa59c8d2ea2dabe9baa8d8f5c8703de17" }, "downloads": -1, "filename": "ros-code-modules-2.0.0.23.tar.gz", "has_sig": false, "md5_digest": "4cb576f1f07766cffde1ded1e69a0a58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11347, "upload_time": "2018-09-17T13:11:58", "url": "https://files.pythonhosted.org/packages/db/44/021fed35da49dd16b765582cdd5821e6df4c688a4d87a0c101f23e776603/ros-code-modules-2.0.0.23.tar.gz" } ], "2.0.0.24": [ { "comment_text": "", "digests": { "md5": "041175ce67063298421609633609be09", "sha256": "f609654a3905150717e97c66a3b9f6e44171905c885bd9eeb5f0051fae04440c" }, "downloads": -1, "filename": "ros-code-modules-2.0.0.24.tar.gz", "has_sig": false, "md5_digest": "041175ce67063298421609633609be09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11375, "upload_time": "2018-09-17T13:23:20", "url": "https://files.pythonhosted.org/packages/b9/79/71fc097b04eca620ff8264553af7ca74960f46156519c5d0a04b5595a2d9/ros-code-modules-2.0.0.24.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "041175ce67063298421609633609be09", "sha256": "f609654a3905150717e97c66a3b9f6e44171905c885bd9eeb5f0051fae04440c" }, "downloads": -1, "filename": "ros-code-modules-2.0.0.24.tar.gz", "has_sig": false, "md5_digest": "041175ce67063298421609633609be09", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11375, "upload_time": "2018-09-17T13:23:20", "url": "https://files.pythonhosted.org/packages/b9/79/71fc097b04eca620ff8264553af7ca74960f46156519c5d0a04b5595a2d9/ros-code-modules-2.0.0.24.tar.gz" } ] }