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.

Files for isodatetimehandler, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size isodatetimehandler-1.0.2.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page