b.p.l.lp_api : module documentation

Part of bzrlib.plugins.launchpad

Tools for dealing with the Launchpad API.
Function get_cache_directory Return the directory to cache launchpadlib objects in.
Function parse_launchpadlib_version Parse a version number of the style used by launchpadlib.
Function check_launchpadlib_compatibility Raise an error if launchpadlib has the wrong version number.
Class NoLaunchpadBranch Undocumented
Function login Log in to the Launchpad API.
Class LaunchpadBranch Provide bzr and lp API access to a Launchpad branch.
Function canonical_url Return the canonical URL for a branch.
Function _get_api_url Return the root URL of the Launchpad API.
def get_cache_directory():
Return the directory to cache launchpadlib objects in.
def parse_launchpadlib_version(version_number):
Parse a version number of the style used by launchpadlib.
def check_launchpadlib_compatibility():
Raise an error if launchpadlib has the wrong version number.
def _get_api_url(service):
Return the root URL of the Launchpad API.

e.g. For the 'staging' Launchpad service, this function returns launchpadlib.launchpad.STAGING_SERVICE_ROOT.

ParametersserviceA LaunchpadService object.
ReturnsA URL as a string.
def login(service, timeout=None, proxy_info=None):
Log in to the Launchpad API.
ReturnsThe root Launchpad object from launchpadlib.
def canonical_url(object):
Return the canonical URL for a branch.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.