Skip to content

l0kix2/catcher

Repository files navigation

Build Status

catcher

Neat lib, which makes your code nicer.

from catcher import wrap, calc, string

@wrap.in_dict
def function():
    yield 'a', 10
    yield 'b', 20

>>> function()
... {'a': 10, 'b': 20}


# full list
@wrap.in_list
@wrap.in_sorted_list
@wrap.in_reversed_list
@wrap.in_dict
@wrap.in_odict
@wrap.chain
@calc.count
@calc.summarize
@calc.maximum
@calc.minimum
@string.cat

About

Neat lib, which makes your python code nicer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages