{ "info": { "author": "wilfredinni", "author_email": "carlos.w.montecinos@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Noodle\n\n[![Build Status](https://travis-ci.org/wilfredinni/noodle.svg?branch=master)](https://travis-ci.org/wilfredinni/noodle) [![codecov](https://codecov.io/gh/wilfredinni/noodle/branch/master/graph/badge.svg)](https://codecov.io/gh/wilfredinni/noodle) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/wilfredinni/mary/blob/master/LICENSE)\n\n\nEasily create beautiful and lightweight Command Line tools\n\n```python\n# cli.py\nimport noodle\n\n\nclass Main(noodle.Master):\n \"\"\"\n Sample CLI app written with Noodle.\n \"\"\"\n\n\nclass Greet(noodle.Command):\n \"\"\"\n Greets someone\n \"\"\"\n\n command_name = \"greet\"\n argument = {\"name\": \"Who do you want to greet?\"}\n\n def handler(self):\n noodle.output(f\"Hello {self.argument}\")\n\n\napp = Main()\napp.register(Greet)\n\nif __name__ == \"__main__\":\n app.run()\n```\n\nCalling the script:\n\n```\n$ python cli.py\nSample CLI app written with Noodle.\n\nUsage:\n command [options] [arguments]\n\nCommands:\n greet Greets someone\n```\n\nCalling a command:\n\n```\n$ python cli.py greet\nHelp:\n Greets someone\n\nUsage:\n greet [options] [arguments]\n\nArguments:\n name Who do you want to greet?\n```\n\nCalling the command and the argument:\n\n```\n$ python cli.py greet Charles\nHello Charles\n```", "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/wilfredinni/noodle", "keywords": "cli,commands", "license": "MIT", "maintainer": "wilfredinni", "maintainer_email": "carlos.w.montecinos@gmail.com", "name": "noodle", "package_url": "https://pypi.org/project/noodle/", "platform": "", "project_url": "https://pypi.org/project/noodle/", "project_urls": { "Homepage": "https://github.com/wilfredinni/noodle", "Repository": "https://github.com/wilfredinni/noodle" }, "release_url": "https://pypi.org/project/noodle/0.0.2/", "requires_dist": null, "requires_python": ">=3.6,<4.0", "summary": "Create beautiful and lightweight Command Lines Tools.", "version": "0.0.2" }, "last_serial": 5274821, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "f989d21f0e4c39ab6bcd1e2d35d30c35", "sha256": "70dd8ad5ad614400fcc12d25be789caa3844fe833a8e6d225eb285e4d02c66fa" }, "downloads": -1, "filename": "noodle-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f989d21f0e4c39ab6bcd1e2d35d30c35", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7,<4.0", "size": 6792, "upload_time": "2019-05-15T23:46:22", "url": "https://files.pythonhosted.org/packages/f0/ab/18a1c3531af52097518fdba2d3787798bcc95fada887f706fc51332bc22f/noodle-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b2abc8c86aa1d23c760ed2ff73404282", "sha256": "8d3da82800334bcd460a01f3e4333c25f00db2bcee5dd11bf6cda7802216c008" }, "downloads": -1, "filename": "noodle-0.0.1.tar.gz", "has_sig": false, "md5_digest": "b2abc8c86aa1d23c760ed2ff73404282", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 5861, "upload_time": "2019-05-15T23:46:24", "url": "https://files.pythonhosted.org/packages/36/43/49ce1d4eb36a7f6e66f6d37e2db26dc99544b9f9e51e41dcdee6b6643b19/noodle-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "7caaa34fcaadfa5756789bed57a00d17", "sha256": "908c79e64d07e5c3ead392012f63966bab84f01182e19549e7ebaeff8e8ec316" }, "downloads": -1, "filename": "noodle-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7caaa34fcaadfa5756789bed57a00d17", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 6796, "upload_time": "2019-05-15T23:51:25", "url": "https://files.pythonhosted.org/packages/77/d7/858e10237ad57f36e25cef308a83ed9ee6def0a843c05fc338c6661d8e60/noodle-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8a0c45cbfd56029c0dec47c616e9c9d", "sha256": "cba6c5fda2ae67d938973783c7dc8648d698b8ebea8359dd65e644e10025a035" }, "downloads": -1, "filename": "noodle-0.0.2.tar.gz", "has_sig": false, "md5_digest": "e8a0c45cbfd56029c0dec47c616e9c9d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 5873, "upload_time": "2019-05-15T23:51:26", "url": "https://files.pythonhosted.org/packages/1d/52/f2beb9ab998bba0b1ec10658fb811ce49d497d503b2510d7029bcb52e730/noodle-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7caaa34fcaadfa5756789bed57a00d17", "sha256": "908c79e64d07e5c3ead392012f63966bab84f01182e19549e7ebaeff8e8ec316" }, "downloads": -1, "filename": "noodle-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7caaa34fcaadfa5756789bed57a00d17", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 6796, "upload_time": "2019-05-15T23:51:25", "url": "https://files.pythonhosted.org/packages/77/d7/858e10237ad57f36e25cef308a83ed9ee6def0a843c05fc338c6661d8e60/noodle-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8a0c45cbfd56029c0dec47c616e9c9d", "sha256": "cba6c5fda2ae67d938973783c7dc8648d698b8ebea8359dd65e644e10025a035" }, "downloads": -1, "filename": "noodle-0.0.2.tar.gz", "has_sig": false, "md5_digest": "e8a0c45cbfd56029c0dec47c616e9c9d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 5873, "upload_time": "2019-05-15T23:51:26", "url": "https://files.pythonhosted.org/packages/1d/52/f2beb9ab998bba0b1ec10658fb811ce49d497d503b2510d7029bcb52e730/noodle-0.0.2.tar.gz" } ] }