mjolnir

Handy tools for common tasks

For the lazy typist

Dictionary

Work in progress

date: 2018-07-29 author: karatheodory@gmail.com

A simple class derived from the python built-in dict that allows access to the dictionary values using the syntax for attributes. Specifically, if (key, val) is an item in an EZdict d, then val can be accessed either by d[key] or by d.key.

There are obvious limitations, some of which are summarised in the file examples/oddities.py.

class ezdict.EZDict[source]

A class derived from the built-in dict that allows access to the dictionary values using the dot operator.

Config parser

Work in progress

class ezconfig.EZConfig(fpath, interpolation='extended', sep='.')[source]

Indices and tables