callwith

Call function with parameters


Keywords
functools, function, call
License
Other
Install
pip install callwith==0.2.0

Documentation

Call function with parameters
-----------------------------

You can do:

    format(3.1415926, '.2f')

But you can not do:

    parameters = (3.1415926, '.2f')
    format(parameters)

With callwith, you can do similar thing:

    from callwith import CallWith as _

    parameters = _(args, **kwargs)
    parameters(format)

Rename `CallWith` to `Parameters`, `CallWith` is now a subclass of `Parameters`.


Change Log
----------

0.2.0

 - Rename `CallWith` to `Parameters`, `CallWith` is now a subclass of `Parameters`.