An extended version of addict.
Project description
entity_addict
An extended version of addict.
install via pip
pip install entiry_addict
examples:
from entity_addict import entity_addict
@entity_addict
def get_dict_data_a():
return {"key_name": "value"}
data = get_dict_data_a()
print(data.key_name)
@entity_addict
def get_dict_data_b():
return [{"key_name": "value"}]
for data in get_dict_data_b():
print(data.key_name)
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
entity_addict-1.0.0.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for entity_addict-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b80c9b6eee762bc0cb867c59e2346a0970a43a1da3158428b6c02749684cb948 |
|
MD5 | 182a64c643b2ef09aacd6fc890830650 |
|
BLAKE2b-256 | 2d23169336a3827ee8d24cc5f28c63411cea97ddaa6363cf4b6433a751725aa2 |