Exemple #1
0
def test():
    tmp = SecWeb('945489', input_data['945489'])
    tmp.fill_data()
    tmp_soup = tmp.search_doc('2007/4/2')
    tmp_form = Form10K(tmp_soup)
    tmp_form.parse()
    print(tmp_form.well_known_seasoned_issuer)
    print(tmp_form.not_required_to_file)
Exemple #2
0
def run():
    sec_webs = []
    for (cik, tmp_dict) in input_data:
        tmp_sec_web = SecWeb(cik,input_data[cik])
        tmp_sec_web.fill_data()
        for (tmp_date, row_data) in tmp_dict:
            tmp_soup = tmp_sec_web.search_doc(tmp_date)
            tmp_form = Form10K(tmp_soup)
            tmp_form.parse()
            tmp_sec_web.form10ks.append(tmp_form)
        sec_webs.append(tmp_sec_web)
    write_result(sec_webs)