import json


def dictionary_to_json(dictionary: dict) -> str:
    """Converts a Python dictionary to a JSON string.

    Parameters
    ----------
    dictionary : dict
        The Python dictionary which will be converted to a JSON string.

    Returns
    -------
    json_string : str
        The JSON string.
    """
    json_string = json.dumps(dictionary)
    return json_string