def list_actions(action, page): if action.startswith('cert_'): return Extracts.extract_certificates(page, action[5:]) if action == 'card': return Extracts.extract_cards(page) if action == 'other': return Extracts.extract_other_actions(page) if action == 'renewal': return Extracts.extract_pending_renewals(page) if action == 'query': return Query.show_found()
def extracts_comms(): return Extracts.extract_comms()
def extracts_cards_all(): return Extracts.extract_cards_all()
def extracts_for_afcw(): return Extracts.extract_for_afcw()
def extracts_email_junior(): return Extracts.extract_email_junior()
def extracts_juniors(): return Extracts.extract_juniors()
def extracts_junior_birthdays_for_month(month=None): if not month: month = datetime.date.today().month % 12 + 1 return Extracts.extract_junior_birthdays(month)
def extracts_cards(): return Extracts.extract_cards()
def extracts_certs(): return Extracts.extract_certificates()
def extracts_debits_for_ptx(): return Extracts.extract_debits_for_ptx()
def extracts_debits(): return Extracts.extract_debits()
def extracts_renewals(): return Extracts.extract_renewals()