#!/usr/bin/env python
import os
from pypixmlrpc import pypi

offline = os.path.join(os.environ["HOME"], ".offline")
if not os.path.exists(offline):
    package_name = "requests"
    list = pypi.package_roles(package_name)
    print(list)
