l.r.i.k.IKarmaContext(Interface) : interface documentation

Part of lp.registry.interfaces.karma View In Hierarchy

Known subclasses: lp.registry.interfaces.distribution.IDistributionPublic, lp.registry.interfaces.product.IProductView, lp.registry.interfaces.projectgroup.IProjectGroupPublic

A Launchpad context to which we track karma.
Method getTopContributorsGroupedByCategory Return a dict mapping categories to the top contributors (and their
Method getTopContributors Return the people with the highest amount of Karma, and their
def getTopContributorsGroupedByCategory(limit=None):
Return a dict mapping categories to the top contributors (and their karma) of this context on that specific category.

For each category, limit the number of contributors returned to the given limit, if it's not None.

The results are sorted descending by karma.

def getTopContributors(category=None, limit=None):
Return the people with the highest amount of Karma, and their karma, on this context.

The number of people returned is limited to the given limit, if it's not None.

If the given category is not None, then return the people with the highest amount of karma of the given category on this context.

The results are sorted descending by karma.

API Documentation for Launchpad, generated by pydoctor at 2019-11-21 00:00:04.