Metadata-Version: 2.1
Name: marshmallow-dynamodb
Version: 0.0.9
Summary: Extra fields to integrate Marshmallow and DynamoDb
Home-page: https://github.com/truckpad/marshmallow-dynamodb
Author: Leonardo Santos Monteiro
Author-email: leonardo.monteiro@truckpad.com.br
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
Requires-Dist: marshmallow

### DynamoDBFields:

Example usage:

```python
from datetime import datetime
from marshmallow import Schema
from marshmallow_dynamodb.fields import DynamoDBDateTime

class SchemaFixture(Schema):
    some_field = DynamoDBDateTime()

data, errors = SchemaFixture().load({'some_field': datetime.now().timestamp()})
# UnmarshalResult(data={'some_field': datetime.datetime(2018, 11, 22, 17, 37, 55)}, errors={})

SchemaFixture().dump(data)
# MarshalResult(data={'some_field': 1542915517.0}, errors={})
```

