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.

Filename, size & hash SHA256 hash help File type Python version Upload date
isodatetimehandler-1.0.2.tar.gz (2.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page