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.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dict-objectify-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 9443191889b9e9886579c4c27fdc1e60e4749ed219665c03d1db993bdf708874
MD5 a4b048312adb274cab6618e1671b4a8f
BLAKE2b-256 4c4d8da0a06e6b2e05afc24475fed1863b2c5c978e1a723a678354da8cd8995a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for dict_objectify-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5017c232cd1c283613f5ce04e3d0a491891d41af58db0d0670b5f79c0147100b
MD5 bdd84684a5069e2cc9ac8f3a47654742
BLAKE2b-256 07fa7b78124567853bacf05c4abbbbae2151ce1d684e750af25a52e6d6be029e

See more details on using hashes here.

Provenance

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