An alternate jsonpickle handler for datetime objects.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file isodatetimehandler-1.0.2.tar.gz
.
File metadata
- Download URL: isodatetimehandler-1.0.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a745fd75e75f701ad4ce8ce842853f155377b1724b5f1b30b40323b3f5e1740b |
|
MD5 | a00e7857e2f3fbdae1829eefebdadba6 |
|
BLAKE2b-256 | 16307d36934954b7b850cd717e81b9cce3faa04ea6a184dbc984e247a247d8af |