def all(ctx, bucket): d = ProductDownloader() check_result(d.dl_drugbank(drugbank_url, bucket, "drugbank")) check_result(d.dl_indications(indications_url, bucket, "indications")) check_result(d.dl_cms(cms_url, bucket, "cms")) check_result(d.dl_gudid(gudid_url, bucket, "gudid")) check_result(d.dl_ndc(ndc_url, bucket, "ndc")) check_result(d.dl_orange(orange_url, bucket, "orangebook")) check_result(d.dl_marketing_codes(marketing_codes_url, bucket, "marketingcodes"))
def drugbank(ctx, bucket, prefix): d = ProductDownloader() check_result(d.dl_drugbank(drugbank_url, bucket, prefix))