Skip to main content

A software package to help with persisting to and reading from DB for more Python objects

Project description

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.

Quick start

  1. Install the package with pip:

    pip install hackwork-gayson
  2. Import gayson.Convert. It provides class methods value_to_json and json_to_value.

  3. Convert away.

  4. 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.

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 hackwork-gayson, version 0.0.3
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

Supported by

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