A small packages who allows you to create object from dictionnarys
Project description
Objectify
Common Usage
from dictionnary_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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dictionnary-objectify-1.0.1.tar.gz
.
File metadata
- Download URL: dictionnary-objectify-1.0.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f81c35313bff1c0c3725c4fc67749881daa6c1d6742d8ec85f3e89cab5e70c74 |
|
MD5 | 16658298a1d50e716d60afc6f8a28265 |
|
BLAKE2b-256 | c10419fe3e8c4fb09de12fb8d18f529b273716ab94f3a0d9525c30bce3ce5c5b |
File details
Details for the file dictionnary_objectify-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: dictionnary_objectify-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 366bdb3d928711f65ae8bb4da264318e25223b35819b4c4fcd7b2817ceb6ae23 |
|
MD5 | b6cfcd1b72846790d16ee3bc8069b0e2 |
|
BLAKE2b-256 | 2fe4c45c0e09a03fb43eec9be8d92c6ea3414bc9118b2d4a9d954f882deefe14 |