Skip to main content

Dictionary to Object hierarchy mapper.

Project description

Dict Objectify (DO) allows specification of python classes hierarchy that are backed by dictionaries. Specification is done similar to ORM frameworks, by declaratively specifying dictionary keys as fields, Every field is defined as either nested (DO) class for nested dictionaries or one of the provided type classes for values of the type: int, float, text, bool, array, datetime or enum.

Mapping between dictionaries and these objects works both ways.

This allows easy parsing of hierarchical documents into python object hierarchy, doing pre processing on dict values, doing any kind of processing on that hierarchy and then transforming root objects back into dictionaries for eventual dumping into same document formats.

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

dict-objectify-0.0.2.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

dict_objectify-0.0.2-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file dict-objectify-0.0.2.tar.gz.

File metadata

  • Download URL: dict-objectify-0.0.2.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for dict-objectify-0.0.2.tar.gz
Algorithm Hash digest
SHA256 13dd0a4e1e5521a5055518345472a34462d6c63238e9d6b17b09192cba81c83e
MD5 505647668c837fea36d8796e6e897058
BLAKE2b-256 ba4427918bc4c57e9c64c99fc22cd6a0faf12061c2b1c2e253b26a7de076c415

See more details on using hashes here.

File details

Details for the file dict_objectify-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for dict_objectify-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5057d26e219334de093228b0a2102ad2c87501d5e97f7d999dcfb19d7de31533
MD5 c652a5fa1f5c647cda4464656ba6dd26
BLAKE2b-256 7179846c682b5993d73052504ea6934ea99da06124766573a2372bb7b0ff8675

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