Skip to main content

https://github.com/serioeseGmbH/hackwork-gayson

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hackwork_gayson-0.0.3.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file hackwork_gayson-0.0.3.tar.gz.

File metadata

  • Download URL: hackwork_gayson-0.0.3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

File hashes

Hashes for hackwork_gayson-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9a1e9b7895e2ab401065fcec8ba0fe84b8ba583d22d82d70e446a86e8eb4e420
MD5 9920a193f6dc028255d17ebbe6762ed7
BLAKE2b-256 465b4b86baf2f69a1be1d64f80b673f807980ef48e84f651d323d6e110a8dbe8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 file

0.0.2

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page