Skip to main content

python version PyPI version Downloads Status Downloads License pypi format Maintenance

entity_addict

An extended version of addict.

It can be very useful as a decorator. It can be converted to Dict when the function returns a value. Can support a single dictionary, list dictionary, or multi deep dictionary of list.

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)

@entity_addict
def get_dict_data_c():
    return [
        {"key_name": "value"},
        {"key": [{"sub_key1": 1}, {"sub_key2": 2}]}
    ]
data = get_dict_data_c()
print(data[1].key[1].sub_key2)

Metadata

Release files for entity-addict 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for entity-addict 1.2.1
File Size Uploaded Provenance Actions
entity_addict-1.2.1.tar.gz 3.5 kB Without provenance Details for entity_addict-1.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for entity-addict 1.2.1
File Interpreter ABI Platform Actions
entity_addict-1.2.1-py3-none-any.whl Python 3 none any Details for entity_addict-1.2.1-py3-none-any.whl

Total release size: 7.8 kB

Release files / entity_addict-1.2.1.tar.gz

Download URL entity_addict-1.2.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
eebbfdbc4ec449c12bdfb63a070196865c5b3e77e75b38c3e1551a722a57a49e
BLAKE2b-256 checksum
How to use checksums
331dc11711620181226bb59184c264b303aa3bdf167def5bee6c95b12b01cfd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.10.0 Linux/5.11.0-1021-azure

Release files / entity_addict-1.2.1-py3-none-any.whl

Download URL entity_addict-1.2.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed967519c0f5d5db1ff937df164b38c8d8521a7c9b53340f0847455006730a91
BLAKE2b-256 checksum
How to use checksums
43888b22bc8e34450dc593cc73698a425587a80133c05dcb093d9ad257030c2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.10.0 Linux/5.11.0-1021-azure

Security for entity-addict 1.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page