{ "info": { "author": "Alex Sansone", "author_email": "alex.sansone@cybergrx.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7" ], "description": "********************************************\nmarshmallow: simplified object serialization\n********************************************\n\n.. image:: https://badgen.net/pypi/v/marshmallow\n :target: https://pypi.org/project/marshmallow/\n :alt: Latest version\n\n.. image:: https://badgen.net/travis/marshmallow-code/marshmallow/dev\n :target: https://travis-ci.org/marshmallow-code/marshmallow\n :alt: Travis-CI\n\n.. image:: https://readthedocs.org/projects/marshmallow/badge/\n :target: https://marshmallow.readthedocs.io/\n :alt: Documentation\n\n**marshmallow** is an ORM/ODM/framework-agnostic library for converting complex datatypes, such as objects, to and from native Python datatypes.\n\n.. code-block:: python\n\n from datetime import date\n from marshmallow import Schema, fields, pprint\n\n class ArtistSchema(Schema):\n name = fields.Str()\n\n class AlbumSchema(Schema):\n title = fields.Str()\n release_date = fields.Date()\n artist = fields.Nested(ArtistSchema())\n\n bowie = dict(name='David Bowie')\n album = dict(artist=bowie, title='Hunky Dory', release_date=date(1971, 12, 17))\n\n schema = AlbumSchema()\n result = schema.dump(album)\n pprint(result, indent=2)\n # { 'artist': {'name': 'David Bowie'},\n # 'release_date': '1971-12-17',\n # 'title': 'Hunky Dory'}\n\n\nIn short, marshmallow schemas can be used to:\n\n- **Validate** input data.\n- **Deserialize** input data to app-level objects.\n- **Serialize** app-level objects to primitive Python types. The serialized objects can then be rendered to standard formats such as JSON for use in an HTTP API.\n\nGet It Now\n==========\n\n::\n\n $ pip install -U marshmallow --pre\n\n\nDocumentation\n=============\n\nFull documentation is available at https://marshmallow.readthedocs.io/ .\n\nRequirements\n============\n\n- Python >= 3.5\n\nmarshmallow has no external dependencies outside of the Python standard library, although `python-dateutil `_ is recommended for robust datetime deserialization.\n\n\nEcosystem\n=========\n\nA list of marshmallow-related libraries can be found at the GitHub wiki here:\n\nhttps://github.com/marshmallow-code/marshmallow/wiki/Ecosystem\n\nCredits\n=======\n\nContributors\n------------\n\nThis project exists thanks to all the people who contribute.\n\nYou're highly encouraged to participate in marshmallow's development.\nCheck out the `Contributing Guidelines `_ to see\nhow you can help.\n\nThank you to all who have already contributed to marshmallow!\n\n.. image:: https://opencollective.com/marshmallow/contributors.svg?width=890&button=false\n :target: https://marshmallow.readthedocs.io/en/latest/authors.html\n :alt: Contributors\n\nBackers\n-------\n\nIf you find marshmallow useful, please consider supporting the team with\na donation. Your donation helps move marshmallow forward.\n\nThank you to all our backers! [`Become a backer`_]\n\n.. _`Become a backer`: https://opencollective.com/marshmallow#backer\n\n.. image:: https://opencollective.com/marshmallow/backers.svg?width=890\n :target: https://opencollective.com/marshmallow#backers\n :alt: Backers\n\nSponsors\n--------\n\nSupport this project by becoming a sponsor (or ask your company to support this project by becoming a sponsor).\nYour logo will show up here with a link to your website. [`Become a sponsor`_]\n\n.. _`Become a sponsor`: https://opencollective.com/marshmallow#sponsor\n\n.. image:: https://opencollective.com/marshmallow/sponsor/0/avatar.svg\n :target: https://opencollective.com/marshmallow/sponsor/0/website\n :alt: Sponsors\n\n.. image:: https://opencollective.com/static/images/become_sponsor.svg\n :target: https://opencollective.com/marshmallow#sponsor\n :alt: Become a sponsor\n\n\nProfessional Support\n====================\n\nProfessionally-supported marshmallow is now available through the\n`Tidelift Subscription `_.\n\nTidelift gives software development teams a single source for purchasing and maintaining their software,\nwith professional-grade assurances from the experts who know it best,\nwhile seamlessly integrating with existing tools. [`Get professional support`_]\n\n.. _`Get professional support`: https://tidelift.com/subscription/pkg/pypi-marshmallow?utm_source=marshmallow&utm_medium=referral&utm_campaign=github\n\n.. image:: https://user-images.githubusercontent.com/2379650/45126032-50b69880-b13f-11e8-9c2c-abd16c433495.png\n :target: https://tidelift.com/subscription/pkg/pypi-marshmallow?utm_source=pypi-marshmallow&utm_medium=readme\n :alt: Get supported marshmallow with Tidelift\n\nSecurity Contact Information\n============================\n\nTo report a security vulnerability, please use the\n`Tidelift security contact `_.\nTidelift will coordinate the fix and disclosure.\n\nProject Links\n=============\n\n- Docs: https://marshmallow.readthedocs.io/\n- Changelog: https://marshmallow.readthedocs.io/en/latest/changelog.html\n- PyPI: https://pypi.python.org/pypi/marshmallow\n- Issues: https://github.com/marshmallow-code/marshmallow/issues\n- Donate: https://opencollective.com/marshmallow\n\nLicense\n=======\n\nMIT licensed. See the bundled `LICENSE `_ file for more details.\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/CyberGRX/marshmallow", "keywords": "marshmallow,orm,model,models,python", "license": "MIT", "maintainer": "Alex Sansone", "maintainer_email": "alex.sansone@cybergrx.com", "name": "marshmallow-muffin", "package_url": "https://pypi.org/project/marshmallow-muffin/", "platform": "", "project_url": "https://pypi.org/project/marshmallow-muffin/", "project_urls": { "Homepage": "https://github.com/CyberGRX/marshmallow", "Repository": "https://github.com/CyberGRX/marshmallow" }, "release_url": "https://pypi.org/project/marshmallow-muffin/3.1.0/", "requires_dist": [ "simplejson (>=3.16.0,<4.0.0)", "pytz (>=2019.1,<2020.0)" ], "requires_python": ">=3.7,<4.0", "summary": "Marshmallow Muffin", "version": "3.1.0" }, "last_serial": 5367972, "releases": { "3.0.0": [ { "comment_text": "", "digests": { "md5": "8f5e5b5a37c466b4319d2da98f82664b", "sha256": "6908e31ee7fdfa47fc0821a000590e63e2d2c8f74dc79da2f2ba3c4e38ba0096" }, "downloads": -1, "filename": "marshmallow-muffin-3.0.0.tar.gz", "has_sig": false, "md5_digest": "8f5e5b5a37c466b4319d2da98f82664b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 41518, "upload_time": "2019-05-23T16:08:52", "url": "https://files.pythonhosted.org/packages/39/50/9e771f774906e6b332317ef1c8dc4d6ac6044fb30d548579aa63500411ab/marshmallow-muffin-3.0.0.tar.gz" } ], "3.0.1": [ { "comment_text": "", "digests": { "md5": "448416471af95d3a163c3f8b9201f9a2", "sha256": "ccc4a2c1d701bc619a04b178805ecdb4c90d7f21169cc64ad8d0fcd5bd48a89e" }, "downloads": -1, "filename": "marshmallow-muffin-3.0.1.tar.gz", "has_sig": false, "md5_digest": "448416471af95d3a163c3f8b9201f9a2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 41510, "upload_time": "2019-05-31T21:53:33", "url": "https://files.pythonhosted.org/packages/0c/ed/7a777282d44caa17ee969ded98eb1566d0f9357478355c71a50b6c7b12e7/marshmallow-muffin-3.0.1.tar.gz" } ], "3.1.0": [ { "comment_text": "", "digests": { "md5": "62cf6a6336b03166bf10ad0212e3db36", "sha256": "5413aa817a7b599b313662e974747373823efff411e736016028a019991740b7" }, "downloads": -1, "filename": "marshmallow-muffin-3.1.0.tar.gz", "has_sig": false, "md5_digest": "62cf6a6336b03166bf10ad0212e3db36", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 41536, "upload_time": "2019-06-06T16:03:24", "url": "https://files.pythonhosted.org/packages/47/3f/70d021cedfe25dc7972273ab4ee594795fa787c94060cd89ce80c6531c32/marshmallow-muffin-3.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "62cf6a6336b03166bf10ad0212e3db36", "sha256": "5413aa817a7b599b313662e974747373823efff411e736016028a019991740b7" }, "downloads": -1, "filename": "marshmallow-muffin-3.1.0.tar.gz", "has_sig": false, "md5_digest": "62cf6a6336b03166bf10ad0212e3db36", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7,<4.0", "size": 41536, "upload_time": "2019-06-06T16:03:24", "url": "https://files.pythonhosted.org/packages/47/3f/70d021cedfe25dc7972273ab4ee594795fa787c94060cd89ce80c6531c32/marshmallow-muffin-3.1.0.tar.gz" } ] }