A software package to help with persisting to and reading from DB for more Python objects
hackwork_gayson is a library to help with persisting data to and reading data from the database (i.e. a JSONField) by defining JSON conversion for additional Python types.
It’s our lovely gay son.
Install the package with pip:
pip install hackwork-gayson
Import gayson.Convert. It provides class methods value_to_json and json_to_value.
Optionally, derive your own subclasses of Converter to add to the conversion capabilities. Keep in mind that the conversion will only be available when your additional subclasses are imported.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size hackwork_gayson-0.0.3.tar.gz (4.5 kB)||File type Source||Python version None||Upload date||Hashes View|