Metadata-Version: 2.1
Name: marshmallow-dumped-order
Version: 1.1.0
Summary: Decorator for `marshmallow.Schema` to sort fields in needed order while dumping
Home-page: https://github.com/maximdanilchenko/marshmallow-dumped-order
Author: Danilchenko Maksim
Author-email: dmax.dev@gmail.com
License: MIT
Description: ## marshmallow-dumped-order
        
        [![PyPI version](https://badge.fury.io/py/marshmallow-dumped-order.svg)](https://badge.fury.io/py/marshmallow-dumped-order)
        [![Build Status](https://travis-ci.org/maximdanilchenko/marshmallow-dumped-order.svg?branch=master)](https://travis-ci.org/maximdanilchenko/marshmallow-dumped-order)
        [![codecov](https://codecov.io/gh/maximdanilchenko/marshmallow-dumped-order/branch/master/graph/badge.svg)](https://codecov.io/gh/maximdanilchenko/marshmallow-dumped-order)
        
        Decorator for `marshmallow.Schema` to sort fields 
        in needed order while dumping (python36+).
        
        ```python
        from marshmallow import Schema, fields
        from marshmallow_dumped_order import dumped_order
        
        
        @dumped_order("name", "age")
        class User(Schema):
            age = fields.Int()
            name = fields.String()
        
        
        dumped = User().dumps({"age": 356, "name": "Jarvis"})
        
        assert dumped.data == '{"name": "Jarvis", "age": 356}'
        ```
        
Keywords: marshmallow schema dump fields order
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3 :: Only
Description-Content-Type: text/markdown
