Create a blob.

    Args:

        profile
            A profile generated from ``simplygithub.authentication.profile``.
            Such profiles tell this module (i) the ``repo`` to connect to,
            and (ii) the ``token`` to connect with.

        content
            The (UTF-8 encoded) content to create in the blob.

    Returns:
        A dict with data about the newly created blob.

def create_blob(profile, content):
    """Create a blob.

    Args:

        profile
            A profile generated from ``simplygithub.authentication.profile``.
            Such profiles tell this module (i) the ``repo`` to connect to,
            and (ii) the ``token`` to connect with.

        content
            The (UTF-8 encoded) content to create in the blob.

    Returns:
        A dict with data about the newly created blob.

    """
    resource = "/blobs"
    payload = {"content": content}
    data = api.post_request(profile, resource, payload)
    return data