DynamoDBFields:
Example usage:
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={})
Metadata
Release files for marshmallow-dynamodb 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| marshmallow-dynamodb-0.0.9.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| marshmallow_dynamodb-0.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.9 kB
Release files / marshmallow-dynamodb-0.0.9.tar.gz
| Download URL | marshmallow-dynamodb-0.0.9.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64c34b8e06830099ad917d34c0b98beceac3f39178294152725c403e0d06db30
|
|
BLAKE2b-256 checksum How to use checksums |
119c480fa2a8528cfd0e30e0ff16b7972fe954edc0371ea0969e40b02d7e423a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
|
Release files / marshmallow_dynamodb-0.0.9-py3-none-any.whl
| Download URL | marshmallow_dynamodb-0.0.9-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05d7c021cd29715f1b10e375b74c59a250cd80eef2fda35c22f19af881a91c2c
|
|
BLAKE2b-256 checksum How to use checksums |
da43663af3087b1896d069f8ab088f9790746163fd6877421f12227ade5426fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
|