sknrf.utilities.patterns module

class sknrf.utilities.patterns.CaseInsensitiveDict(*args, **kwargs)

Bases: dict

has_key(key)
pop(k[, d]) v, remove specified key and return the corresponding value.

If the key is not found, return the default if given; otherwise, raise a KeyError.

get(key, *args, **kwargs)

Return the value for key if key is in the dictionary, else default.

setdefault(key, *args, **kwargs)

Insert key with a value of default if key is not in the dictionary.

Return the value for key if key is in the dictionary, else default.

update([E, ]**F) None.  Update D from dict/iterable E and F.

If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]

class sknrf.utilities.patterns.SingletonType

Bases: ObjectType

sknrf.utilities.patterns.synchronized(lock)

Synchronization decorator.

sknrf.utilities.patterns.export(f)
sknrf.utilities.patterns.export_runtime(f)