{ "info": { "author": "Per Appelgren", "author_email": "per@appgren.se", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "# webcui\n\nA Python package for creating Webcui apps. A Webcui app is to the web what a Command Line Interface app is for the command line.\nThe goal of Webcui is to make it as easy as possible for Python developers to share their Python app with the world.\n\nWebcui idea:\n* A web page with a HTML form is generated from a basic Python function.\n* Function parameters become input fields.\n* The function is executed when the user submit the form.\n* The result is displayed on the web page.\n\n## Installation\nInstall Python 3.6 or later and then webcui using pip.\n```\n$ pip install webcui\n```\n\n## Usage\n\nHere's an example of a simple Webcui app:\n```python\nimport webcui\n\ndef cmd(number_of_spam: int, side: str = \"eggs\"):\n \"\"\"Calculate the price of a breakfast order.\"\"\"\n spams = number_of_spam * [\"spam\"]\n dish = f\"{', '.join(spams)} and {side}\"\n price = number_of_spam * 1.5 + 2\n return f\"The price of an order of {dish} is \u00e2\u201a\u00ac{price:.2f}\"\n\nif __name__ == '__main__':\n webcui.run(cmd)\n```\n\nTo run the Webcui app on your own computer run:\n```\n$ python app.py --run\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://gitlab.com/perapp/webcui", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "webcui", "package_url": "https://pypi.org/project/webcui/", "platform": "", "project_url": "https://pypi.org/project/webcui/", "project_urls": { "Homepage": "https://gitlab.com/perapp/webcui" }, "release_url": "https://pypi.org/project/webcui/0.1.2/", "requires_dist": [ "responder", "pytest", "selenium", "pytest-selenium", "dataclasses" ], "requires_python": "", "summary": "A web command user interface", "version": "0.1.2" }, "last_serial": 5092375, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "6ae5dd254571d3b8d19907d8aeaa454f", "sha256": "8e503ef93f4cae116df16b9099739d3c02c7d13ffcf78f0f50d6ea8bde812e37" }, "downloads": -1, "filename": "webcui-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6ae5dd254571d3b8d19907d8aeaa454f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 14166, "upload_time": "2019-03-25T15:48:23", "url": "https://files.pythonhosted.org/packages/a9/00/068dc5dbc8e4ad8390df8dd732764055d03714c7e80a28f30ca51ca634f1/webcui-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "404795bcc912a6e27aa61cbbf21d4d31", "sha256": "a9b930d48edc36ff1a23c86ca099325b7b20c09e88a5e6091ea16adf88d36eb5" }, "downloads": -1, "filename": "webcui-0.0.1.tar.gz", "has_sig": false, "md5_digest": "404795bcc912a6e27aa61cbbf21d4d31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1513, "upload_time": "2019-03-25T15:48:25", "url": "https://files.pythonhosted.org/packages/4b/69/3e9d355510a7c4f47792c28dbe0bfb6e9d0e4e218321d2a70097bf7c33c9/webcui-0.0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "38b6f22b858bdaba0d5064fa2edf33de", "sha256": "61e446d77ddc48d4f8c0be0cfea5bcf7dd1f275af897d17cafaae32c84ae7c62" }, "downloads": -1, "filename": "webcui-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "38b6f22b858bdaba0d5064fa2edf33de", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15222, "upload_time": "2019-04-01T18:27:56", "url": "https://files.pythonhosted.org/packages/14/6c/85fbf9ac5f7abcf0fb5354a4d2af378c6a25b2dd43ea889e7f0506cfb009/webcui-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "71cb0f10d1fab574f00b917f044007b8", "sha256": "1d186f7b36efca9162e21f5d7a405500c19b00ae1b513565816242afcdcafbb8" }, "downloads": -1, "filename": "webcui-0.1.1.tar.gz", "has_sig": false, "md5_digest": "71cb0f10d1fab574f00b917f044007b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2220, "upload_time": "2019-04-01T18:27:58", "url": "https://files.pythonhosted.org/packages/97/c9/20ab461e74120624180434a488ebdd46cd656df285c4345b7e122818546d/webcui-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "eb4ff6da1338b571c7d6813a97c55f1b", "sha256": "419a5ac28b644a6af1d4744f457d54e813741a3f8a6b1990b81d723a34a10fcf" }, "downloads": -1, "filename": "webcui-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "eb4ff6da1338b571c7d6813a97c55f1b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15269, "upload_time": "2019-04-03T17:58:11", "url": "https://files.pythonhosted.org/packages/53/fe/1a86e18e36ca9723506125b3195d5ef083fd81d11532c8df0adaa444c5e7/webcui-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "291ed51be6b0f9bcede0228f6ab4fd16", "sha256": "6d842c50fc69c027937ae4c48dcbadaf1bd46c763f2bc8a651abd29280d90e20" }, "downloads": -1, "filename": "webcui-0.1.2.tar.gz", "has_sig": false, "md5_digest": "291ed51be6b0f9bcede0228f6ab4fd16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2262, "upload_time": "2019-04-03T17:58:12", "url": "https://files.pythonhosted.org/packages/92/e6/515a7254df1cdda78951de8f7c72884ad622d6a94cb713422689cb03d71d/webcui-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eb4ff6da1338b571c7d6813a97c55f1b", "sha256": "419a5ac28b644a6af1d4744f457d54e813741a3f8a6b1990b81d723a34a10fcf" }, "downloads": -1, "filename": "webcui-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "eb4ff6da1338b571c7d6813a97c55f1b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15269, "upload_time": "2019-04-03T17:58:11", "url": "https://files.pythonhosted.org/packages/53/fe/1a86e18e36ca9723506125b3195d5ef083fd81d11532c8df0adaa444c5e7/webcui-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "291ed51be6b0f9bcede0228f6ab4fd16", "sha256": "6d842c50fc69c027937ae4c48dcbadaf1bd46c763f2bc8a651abd29280d90e20" }, "downloads": -1, "filename": "webcui-0.1.2.tar.gz", "has_sig": false, "md5_digest": "291ed51be6b0f9bcede0228f6ab4fd16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2262, "upload_time": "2019-04-03T17:58:12", "url": "https://files.pythonhosted.org/packages/92/e6/515a7254df1cdda78951de8f7c72884ad622d6a94cb713422689cb03d71d/webcui-0.1.2.tar.gz" } ] }