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 details)

Uploaded Source

File details

Details for the file isodatetimehandler-1.0.2.tar.gz.

File metadata

File hashes

Hashes for isodatetimehandler-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a745fd75e75f701ad4ce8ce842853f155377b1724b5f1b30b40323b3f5e1740b
MD5 a00e7857e2f3fbdae1829eefebdadba6
BLAKE2b-256 16307d36934954b7b850cd717e81b9cce3faa04ea6a184dbc984e247a247d8af

See more details on using hashes here.

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