Skip to main content

An alternate jsonpickle handler for datetime objects.

Project description

https://badge.fury.io/py/isodatetimehandler.svg https://pypip.in/download/isodatetimehandler/badge.svg https://travis-ci.org/fictorial/jsonpickle-isodatetimehandler.svg?branch=master https://coveralls.io/repos/github/fictorial/jsonpickle-isodatetimehandler/badge.svg?branch=master

An alternate jsonpickle handler for datetime

This jsonpickle handler serializes datetime.datetime objects as ISO-8601 formatted strings. Such strings may be treated as a DATETIME type in a RDBMS such as SQLite allowing date-related query clauses to work with serialized datetime objects directly.

Installation

pip install isodatetimehandler

Usage

import isodatetimehandler

Then use jsonpickle as you normally would.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

isodatetimehandler-1.0.2.tar.gz (2.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page