Represent a gratipackage. :-)
Packages are entities on open source package managers; npm is the only one we support so far. Each package on npm has a page on Gratipay with an URL of the form
/on/npm/foo/. Packages can be claimed by Gratipay participants, at which point we create a
Teamfor them under the hood so they can start accepting payments.
The path part of the URL for this package on Gratipay.
The URL for the main page for this package on its package manager.
The main API URL for this package on its package manager.
Return an existing package based on id.
from_names(package_manager, name, cursor=None)¶
Return an existing package based on package manager and package names.
Upsert a package. Required keyword arguments:
emails(list of strings)
Optional keyword argument:
Delete the package, unlinking any team (the team itself lives on) and clearing any claim.