def list_packages() ->None:
    """
    List all packages using xmlrpc
    :return:
    """
    try:
        import xmlrpclib
    except ImportError:
        import xmlrpc.client as xmlrpclib
    client = xmlrpclib.ServerProxy('https://pypi.python.org/pypi')
    packages = client.list_packages()
