Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 924 Bytes

File metadata and controls

36 lines (23 loc) · 924 Bytes

md.python.dict

md.python.dict component defines contracts to perform operations over native python dict type, and provides few useful tools out from box.

Architecture overview

Architecture overview

Component overview

def flat(dict_: dict, initial_key: tuple = ()) -> dict: ...

def inline_index(
    dict_: typing.Dict[typing.Union[typing.Hashable, typing.Sequence], typing.Any],
    glue: str = '.'
) -> typing.Dict[str, typing.Any]:  ...

def merge(left: dict, right: dict) -> dict: ...

Install

pip install md.python.dict --index-url https://source.md.land/python/

Read documentation with examples: https://development.md.land/python/md.python.dict/