{ "info": { "author": "Magnet S Coop.", "author_email": "info@magnet.coop", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Rasa MetaForm\n\n[![Build Status](https://travis-ci.com/magnetcoop/rasa-metaform.svg?branch=master)](https://travis-ci.com/magnetcoop/rasa-metaform)\n[![PyPI version](https://badge.fury.io/py/rasa-metaform.svg)](https://badge.fury.io/py/rasa-metaform)\n[![Supported Python Versions](https://img.shields.io/pypi/pyversions/rasa-metaform.svg)](https://pypi.python.org/pypi/rasa-metaform)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\nRasa MetForm is a small extension of [Rasa](https://rasa.com)'s [`rasa-sdk`](https://github.com/RasaHQ/rasa-sdk) which introduces a `MetaFormAction`, an extended `FormAction`. Read more in a [blog post](https://medium.com/magnetcoop/rasa-metaform-df9ca99076f3).\n\n## Problem statement\n\n### Forms\n\nCreating Forms in Rasa requires defining a class for each form, inheriting from `FormAction`, specifying few methods, as well as in `domain.yml`, with matching slots and templates.\n\n### Ideal\n\nForm would be specified in a single, human-readable, easy to edit file. From this file we would populate `domain.yml` with all the necessary instances of `forms`, `slots` and `templates`, as well as define a new `FormAction` class, which will implement all the necessary methods, including `name`, `required_slots` (following the logic in the form file), `slot_mappings`, all `validate_{slot}` and `submit`.\n\n### Proposal\n\n`MetaFormAction` allows to create classes from a YAML file and populates the domain with all the needed information.\n\n## Installation\n\nThe easiest way to install the package is through [PyPI](https://pypi.org/project/rasa-metaform).\n\n```sh\npip install rasa-metaform\n```\n\nHowever you might find it more useful to clone the repository and edit the `MetaFormAction` class for your form(s). We will extend the functionality with additional validation methods.\n\n## Form YAML file\n\nSee the [`sample.yml`](https://github.com/magnetcoop/rasa-metaform/blob/master/tests/sample.yml) for an example form YAML file.\n\n## License\n\nLicensed under the Apache License, Version 2.0. Copyright 2019 Magnet S Coop. Copy of the [license](https://github.com/magnetcoop/rasa-metaform/blob/master/LICENSE.txt).\n\nA list of the Licenses of the dependencies of the project can be found at the bottom of the [Libraries Summary](https://libraries.io/github/magnetcoop/rasa-metaform).", "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/magnetcoop/rasa-metaform", "keywords": "", "license": "", "maintainer": "Kamil Hryniewicz", "maintainer_email": "kamil@magnet.coop", "name": "rasa-metaform", "package_url": "https://pypi.org/project/rasa-metaform/", "platform": "", "project_url": "https://pypi.org/project/rasa-metaform/", "project_urls": { "Bug Reports": "https://github.com/magnetcoop/rasa-metaform/issues", "Homepage": "https://github.com/magnetcoop/rasa-metaform", "Source": "https://github.com/magnetcoop/rasa-metaform" }, "release_url": "https://pypi.org/project/rasa-metaform/0.2.7/", "requires_dist": null, "requires_python": "", "summary": "Create a Rasa form from a YAML file", "version": "0.2.7" }, "last_serial": 5873717, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "139d0620c86f1e61bc915221c83a2008", "sha256": "713d61eff29809ab7de0b3db2e8458b987d320bb4a532a09f7824de0726d2727" }, "downloads": -1, "filename": "rasa_metaform-0.1.1.tar.gz", "has_sig": false, "md5_digest": "139d0620c86f1e61bc915221c83a2008", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3940, "upload_time": "2019-09-02T08:48:09", "url": "https://files.pythonhosted.org/packages/9b/dc/a72d1c71562cdc8c8c6c692415e27ed57b179672308e9decb11bed387b5b/rasa_metaform-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "46611767c83294bddc025cb8a2399ab7", "sha256": "7a2ea6183c1fa8e463642f143e2d4120fd61efbad784f561fbb5178abfb20ca5" }, "downloads": -1, "filename": "rasa_metaform-0.1.2.tar.gz", "has_sig": false, "md5_digest": "46611767c83294bddc025cb8a2399ab7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4016, "upload_time": "2019-09-02T10:35:38", "url": "https://files.pythonhosted.org/packages/f2/c2/03f5123671dc8f31dfcc2a4a88155678ac747a59bbcd9a70a90323b2379e/rasa_metaform-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "7d51d1b1a0937b31fef899f3cd5f65b6", "sha256": "5f31aeff0e2c33cd11b0df05617be5a96128fd73d70dda07e393cbc3e8eabb04" }, "downloads": -1, "filename": "rasa_metaform-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7d51d1b1a0937b31fef899f3cd5f65b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3995, "upload_time": "2019-09-05T14:37:50", "url": "https://files.pythonhosted.org/packages/d4/b3/a71267a000ca77757f30193f3bb38bd1c42ba59c67debef8b4e9716d413b/rasa_metaform-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "a6d83ec263ede8e4c8bb82ce4f6044e4", "sha256": "6dcc439b5b396f3f1217de9ee4bdadee6fa8a3f245f2c756d464e878ac625b79" }, "downloads": -1, "filename": "rasa_metaform-0.2.1.tar.gz", "has_sig": false, "md5_digest": "a6d83ec263ede8e4c8bb82ce4f6044e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3864, "upload_time": "2019-09-12T12:59:12", "url": "https://files.pythonhosted.org/packages/ad/86/2de4ca902fd5f25ebe1d76876ad8a292e6626e01916611de44aa64221108/rasa_metaform-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "d83463fd4351b56eac0f4212698534d6", "sha256": "df35cc69ddabe0bc00bac4786efb0a0b384bae17fe9f34b7b6d9232c65d090d1" }, "downloads": -1, "filename": "rasa_metaform-0.2.2.tar.gz", "has_sig": false, "md5_digest": "d83463fd4351b56eac0f4212698534d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3875, "upload_time": "2019-09-12T13:18:58", "url": "https://files.pythonhosted.org/packages/a2/52/f238c8254996564fb07b6d1a080c734870a068184e5b20c75831a0715436/rasa_metaform-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "a6a1ad54f0ae958497a06b5bd6bf73ea", "sha256": "e442e78f8f8bf28a862b7139d46c8d310ffba709483e8af7375ff246276ae954" }, "downloads": -1, "filename": "rasa_metaform-0.2.3.tar.gz", "has_sig": false, "md5_digest": "a6a1ad54f0ae958497a06b5bd6bf73ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3976, "upload_time": "2019-09-13T13:03:05", "url": "https://files.pythonhosted.org/packages/03/db/1507313d36c66a6ff8bae1173b28d215273c4bbc3a016c147a5e88aab7ee/rasa_metaform-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "db3fc3d1d88c167a0e0abf5d1821e271", "sha256": "e6dabb4300c8e44c44b8dcce31e0ca2e41c5bc1125237ee5295eaba236d3420c" }, "downloads": -1, "filename": "rasa_metaform-0.2.4.tar.gz", "has_sig": false, "md5_digest": "db3fc3d1d88c167a0e0abf5d1821e271", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4034, "upload_time": "2019-09-18T14:20:21", "url": "https://files.pythonhosted.org/packages/1d/c4/a7605acc8f5657646034ac6ec73ef877573e55a1135cdae37379b5ce805f/rasa_metaform-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "7cc44f0d0055472fe990e6893668fa41", "sha256": "c8c5ad71ce52c519d9bf28023421e4200b58e8ff151ebeeadbb3ddbe7dcab8e1" }, "downloads": -1, "filename": "rasa_metaform-0.2.5.tar.gz", "has_sig": false, "md5_digest": "7cc44f0d0055472fe990e6893668fa41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4012, "upload_time": "2019-09-18T14:54:12", "url": "https://files.pythonhosted.org/packages/8f/75/ecb1c9f292ff6852758973088b2eeace4d84dac998b93f6533590c3b5993/rasa_metaform-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "1a37233a3e1f6d97678a5751f8e81f73", "sha256": "91ddfe8647cc29f8586ff2f68efdfc743a22ac0bf9e751193978c9b2b9100ae6" }, "downloads": -1, "filename": "rasa_metaform-0.2.6.tar.gz", "has_sig": false, "md5_digest": "1a37233a3e1f6d97678a5751f8e81f73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4024, "upload_time": "2019-09-20T10:21:30", "url": "https://files.pythonhosted.org/packages/d3/95/13393fb03a1ffff3b1175ddcbc8d76cf1edf14ac875d81bfa1374b2bde19/rasa_metaform-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "ad71df81fbaef678cc31a6a27b77b7ea", "sha256": "258dbab7889fde86782f371f0ddd42717962ff8636d25b5f7ca1c46c68bace7f" }, "downloads": -1, "filename": "rasa_metaform-0.2.7.tar.gz", "has_sig": false, "md5_digest": "ad71df81fbaef678cc31a6a27b77b7ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3989, "upload_time": "2019-09-23T13:48:38", "url": "https://files.pythonhosted.org/packages/3d/fb/8331be53ff42738005bca23a5e7c13a478729813ac158e2021961ecad2a3/rasa_metaform-0.2.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ad71df81fbaef678cc31a6a27b77b7ea", "sha256": "258dbab7889fde86782f371f0ddd42717962ff8636d25b5f7ca1c46c68bace7f" }, "downloads": -1, "filename": "rasa_metaform-0.2.7.tar.gz", "has_sig": false, "md5_digest": "ad71df81fbaef678cc31a6a27b77b7ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3989, "upload_time": "2019-09-23T13:48:38", "url": "https://files.pythonhosted.org/packages/3d/fb/8331be53ff42738005bca23a5e7c13a478729813ac158e2021961ecad2a3/rasa_metaform-0.2.7.tar.gz" } ] }