biweeklybudget.wishlist2project module¶
-
class
biweeklybudget.wishlist2project.
WishlistToProject
[source]¶ Bases:
object
-
_do_project
(list_url, project)[source]¶ Update a project with information from its wishlist.
Parameters: Returns: whether or not the update was successful
Return type:
-
_get_wishlist_projects
()[source]¶ Find all projects with descriptions that begin with a wishlist URL.
Returns: list of (url, Project object) tuples Return type: list
-
_project_items
(proj)[source]¶ Return all of the BoMItems for the specified project, as a dict of URL to BoMItem.
Parameters: proj (Project) – the project to get items for Returns: item URLs to BoMItems Return type: dict
-
static
_url_is_wishlist
(url)[source]¶ Determine if the given string or URL matches a wishlist.
Parameters: url (str) – URL or string to test Returns: whether url is a wishlist URL Return type: bool
-