import six


def get_process_signature(process, input_parameters):
    """ Generate the process signature.

    Parameters
    ----------
    process: Process
        a capsul process object
    input_parameters: dict
        the process input_parameters.

    Returns
    -------
    signature: string
        the process signature.
    """
    kwargs = ["{0}={1}".format(name, value)
              for name, value in six.iteritems(input_parameters)]
    return "{0}({1})".format(process.id, ", ".join(kwargs))