def create_package(name, data, package_cls=None):
from rez.package_maker__ import PackageMaker<EOL>maker = PackageMaker(name, data, package_cls=package_cls)<EOL>return maker.get_package()<EOL>
Create a package given package data.

    Args:
        name (str): Package name.
        data (dict): Package data. Must conform to `package_maker.package_schema`.

    Returns:
        `Package` object.