Skip to main content

A small packages who allows you to create object from dictionnarys

Project description

Objectify

Common Usage

from objectify import to_object

dictionnary = {
    "some_key": "some_value",
    "some_other_key": {
        "some_sub_key": "some_sub_value"
    }
}

object = dictionnary.to_object()

print(object.some_key)
# output : "some_value"

print(object.some_other_key.some_sub_key)
# output : "some_sub_value"

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

dictionnary-objectify-1.0.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dictionnary_objectify-1.0.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file dictionnary-objectify-1.0.0.tar.gz.

File metadata

  • Download URL: dictionnary-objectify-1.0.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for dictionnary-objectify-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bea90cd7b0c02b68284e9b4ddebafd7fee0b580c046572236595ec76d829eda1
MD5 95a9390008fd61ea6a844a53fa01c6f9
BLAKE2b-256 7100a579e88b41e3eb74db1435e528d6aebd9d6094eecc4c94ad131de65847ae

See more details on using hashes here.

File details

Details for the file dictionnary_objectify-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dictionnary_objectify-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08e9a77f5f5b58b5eeee2fc952a56d5ac3a1d61fe45a7d4723b9d6d6b812338e
MD5 b46ca96959379b7c24702f6d64bb9794
BLAKE2b-256 b9a60d1129fb03bf2c9aa87a2da03a059e9f6f36362c140d8c7268267b0cbf07

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page