{ "info": { "author": "Alberto Galera Jimenez", "author_email": "galerajimenez@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: English", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Marshmallow plugin\n==================\n\nMarshmallow plugin for bottle\n\ninstallation\n------------\n\nVia pip: ``pip install bottle-marshmallow``\n\nOr clone:\n``git clone https://github.com/agalera/bottle-marshmallow.git``\n\nexample:\n--------\n\n.. code:: python\n\n from bottle import post, install, run\n from bottle_marshmallow import MarshmallowPlugin\n from marshmallow import Schema, fields\n\n\n class ExampleSchema(Schema):\n name = fields.Str()\n\n\n class QuerySchema(Schema):\n name = fields.Str()\n\n\n @post('/marshmallow/', schemas={'body': ExampleSchema,\n 'query_string': QuerySchema})\n def test_marshmallow(validated, ex):\n print(validated)\n\n install(MarshmallowPlugin())\n run(host=\"0.0.0.0\", port=\"9988\")\n\nSchemas\n=======\n\nOptional keys\n-------------\n\nbody: schema for request.json\n\nurl: schema for url (no query string)\n\nquery_string: schema for query strings\n\nSchema\n======\n\nmarshmallow: http://marshmallow.readthedocs.io\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/agalera/bottle-marshmallow", "keywords": "bottle-marshmallow", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "bottle-marshmallow", "package_url": "https://pypi.org/project/bottle-marshmallow/", "platform": "", "project_url": "https://pypi.org/project/bottle-marshmallow/", "project_urls": { "Homepage": "https://github.com/agalera/bottle-marshmallow" }, "release_url": "https://pypi.org/project/bottle-marshmallow/1.0.5/", "requires_dist": null, "requires_python": "", "summary": "marshmallow plugin for bottle", "version": "1.0.5", "yanked": false, "yanked_reason": null }, "last_serial": 6012042, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "8933af1ebf6915463a5ebc81ab75abaa", "sha256": "9da69a61740d7fbc69af2cade031bacf403a8f3157b9d5103d9b76b879fef0f1" }, "downloads": -1, "filename": "bottle-marshmallow-1.0.0.tar.gz", "has_sig": false, "md5_digest": "8933af1ebf6915463a5ebc81ab75abaa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2600, "upload_time": "2018-02-28T17:06:14", "upload_time_iso_8601": "2018-02-28T17:06:14.128533Z", "url": "https://files.pythonhosted.org/packages/51/b9/98b29e14ef354c9c1c3a45f6063328b3ae06e8aea587d1bfe94823894e21/bottle-marshmallow-1.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "2eff1e45ad886a90dfd9415c91f224c4", "sha256": "cfc17b012e4440c1fbebc1a910867d249406cc8db45ccc6f58bc9dfcef22162f" }, "downloads": -1, "filename": "bottle-marshmallow-1.0.1.tar.gz", "has_sig": false, "md5_digest": "2eff1e45ad886a90dfd9415c91f224c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2745, "upload_time": "2018-03-05T15:33:48", "upload_time_iso_8601": "2018-03-05T15:33:48.251596Z", "url": "https://files.pythonhosted.org/packages/35/cf/79a403500160fed3982b9f3974f0c5083b983a06a540066f6af38b28d86a/bottle-marshmallow-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "e2aefc74df911aa058699598e1cb1945", "sha256": "9effcc111b38df22a6c090cd373cfd4d268108e9351fd4d90922e8d32ebaaddd" }, "downloads": -1, "filename": "bottle-marshmallow-1.0.2.tar.gz", "has_sig": false, "md5_digest": "e2aefc74df911aa058699598e1cb1945", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2661, "upload_time": "2018-03-05T16:09:59", "upload_time_iso_8601": "2018-03-05T16:09:59.341524Z", "url": "https://files.pythonhosted.org/packages/03/ab/0b685ff8a96028bfd0bcd768ee0cc2160c629f996b13b273c74b864dac27/bottle-marshmallow-1.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "9b6fbe4e8a4f0d78cc3818e927ebde94", "sha256": "242b6ec796dffa900e46e91fc3c25fe48cf96f69dccf2e0996ffabeb195cc43e" }, "downloads": -1, "filename": "bottle-marshmallow-1.0.3.tar.gz", "has_sig": false, "md5_digest": "9b6fbe4e8a4f0d78cc3818e927ebde94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2613, "upload_time": "2018-04-19T16:58:53", "upload_time_iso_8601": "2018-04-19T16:58:53.832305Z", "url": "https://files.pythonhosted.org/packages/ff/ed/b94079fc96ad91d83cc9bd53c82282ce9fcde9ca58b1da0d388ed25626b2/bottle-marshmallow-1.0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "cf636ceb03566e5ecb1bf5003af69499", "sha256": "deb91abd582d83d24e91b77fab74ac3c136a680097d9095f3353adf1c3dec836" }, "downloads": -1, "filename": "bottle-marshmallow-1.0.5.tar.gz", "has_sig": false, "md5_digest": "cf636ceb03566e5ecb1bf5003af69499", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2618, "upload_time": "2019-10-22T10:20:29", "upload_time_iso_8601": "2019-10-22T10:20:29.162441Z", "url": "https://files.pythonhosted.org/packages/d7/fa/0c5ca13841d7b0d85fbc73bbd11f5eaf4cdee1ca56382d9f16763328fb20/bottle-marshmallow-1.0.5.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cf636ceb03566e5ecb1bf5003af69499", "sha256": "deb91abd582d83d24e91b77fab74ac3c136a680097d9095f3353adf1c3dec836" }, "downloads": -1, "filename": "bottle-marshmallow-1.0.5.tar.gz", "has_sig": false, "md5_digest": "cf636ceb03566e5ecb1bf5003af69499", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2618, "upload_time": "2019-10-22T10:20:29", "upload_time_iso_8601": "2019-10-22T10:20:29.162441Z", "url": "https://files.pythonhosted.org/packages/d7/fa/0c5ca13841d7b0d85fbc73bbd11f5eaf4cdee1ca56382d9f16763328fb20/bottle-marshmallow-1.0.5.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }