def package_roles(self, package_name):
        session = DBSession()
        package = Package.by_name(session, package_name)
        owners = [('Owner', o.name) for o in package.owners]
        maintainers  = [('Maintainer', o.name) for o in package.maintainers]
        return owners + maintainers
Retrieve a list of users and their attributes roles for a given
dataset/ETHPy150Open mardiros/pyshop/pyshop/views/xmlrpc.py/PyPI.package_roles