Module Import alias Import alias Import alias alias Import alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias Import alias identifier Assign NameStore ListLoad Assign NameStore Num Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Str attr keyword NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad TryFinally body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad finalbody Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Print TupleLoad Str AttributeLoad NameLoad attr ExceptHandler type NameLoad name NameStore body Print TupleLoad Str AttributeLoad NameLoad attr ExceptHandler type NameLoad name NameStore body Print TupleLoad Str AttributeLoad NameLoad attr ExceptHandler type AttributeLoad NameLoad attr body Print Str If UnaryOpNot NameLoad body Print TupleLoad Str NameLoad Return TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Print TupleLoad Str NameLoad TryExcept body Assign NameStore SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr Str Index Num Return Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call NameLoad Num Call NameLoad NameLoad NameLoad body Expr Yield SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call AttributeLoad Call NameLoad NameLoad attr Num Str Assign NameStore NameLoad If UnaryOpNot CompareEq NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr Num comprehension NameStore NameLoad TryExcept body For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad If CompareEq SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Str body If CompareEq NameLoad NameLoad body Assign NameStore NameLoad orelse If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore NameLoad If NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Print TupleLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Call NameLoad ListLoad Str Str Str NameLoad orelse Assign NameStore Call NameLoad ListLoad Str Str Str BinOpAdd Str NameLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Return BinOpAdd BinOpAdd NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Num For NameStore Call NameLoad NameLoad NameLoad body AugAssignAdd NameStore Num Print TupleLoad Str NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad Str Str TryFinally body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str finalbody Expr Call AttributeLoad NameLoad attr Print TupleLoad Str Call NameLoad NameLoad Str Expr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str ListLoad Str Str Str Str Str Str Str handlers ExceptHandler type AttributeLoad NameLoad attr body Print NameLoad Expr Call AttributeLoad NameLoad attr Num For TupleStore NameStore NameStore NameLoad body If CompareEq NameLoad Str body Print NameLoad Expr Call AttributeLoad NameLoad attr orelse If CompareIn NameLoad TupleLoad Str Str body Assign NameStore Call NameLoad NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Assign NameStore Call NameLoad NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Assign NameStore Call NameLoad Call NameLoad NameLoad Call AttributeLoad NameLoad attr Str orelse If CompareIn NameLoad TupleLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad orelse If CompareIn NameLoad TupleLoad Str Str body Assign NameStore NameLoad If UnaryOpNot CompareEq NameLoad NameLoad body Print TupleLoad Str NameLoad If UnaryOpNot CompareEq NameLoad NameLoad body Print TupleLoad Str NameLoad If BoolOpAnd UnaryOpNot NameLoad CompareEq NameLoad Num UnaryOpNot CompareEq NameLoad Num body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If NameLoad body If CompareEq NameLoad Num body Assign NameStore NameLoad If CompareEq NameLoad Num body Assign NameStore NameLoad If CompareLt NameLoad Num body Print Str Print Str Print NameLoad Expr Call AttributeLoad NameLoad attr Num For NameStore Call NameLoad NameLoad BinOpAdd NameLoad Num body Assign NameStore Num If CompareEq NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr For NameStore Call NameLoad Num BinOpAdd NameLoad Num body Expr Call NameLoad NameLoad NameLoad NameLoad orelse If CompareLt NameLoad Num body Print Str Print Str Print NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad NameLoad NameLoad Print TupleLoad Call NameLoad NameLoad Str If CompareGt Call NameLoad NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad orelse Expr Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Print TupleLoad Str BinOpSub NameLoad NameLoad Str decorator_list If CompareEq NameLoad Str body Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num
N/A N/A glob N/A os.path N/A sys getopt N/A time datetime datetime subprocess call N/A zipfile multiprocessing Pool urllib.request urlopen urllib.error URLError HTTPError N/A xml.etree.ElementTree ET N/A joblist N/A N/A job_limit 20 N/A usage_string valSECfilings ( -y <year> | -f <from_year> -t <to_year> ) -m <month> -c <cik> -k <ticker> -s <script> lookup_cik N/A N/A ticker name N/A None N/A N/A good_read False N/A ticker N/A N/A N/A N/A ticker strip upper N/A url N/A N/A http://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK={cik}&count=10&output=xml format cik ticker N/A N/A N/A xmlFile N/A urlopen url N/A N/A N/A xmlData N/A N/A xmlFile read N/A good_read True N/A N/A N/A N/A xmlFile close N/A N/A N/A HTTPError N/A e N/A N/A N/A HTTP Error: N/A e code N/A N/A URLError N/A e N/A N/A N/A URL Error: N/A e reason N/A N/A TimeoutError N/A e N/A N/A N/A Timeout Error: N/A e reason N/A N/A N/A socket timeout N/A N/A Socket Timeout Error N/A N/A good_read N/A N/A N/A Unable to lookup CIK for ticker: ticker N/A N/A N/A N/A root N/A N/A ET fromstring xmlData N/A N/A N/A N/A ET ParseError N/A perr N/A N/A N/A XML Parser Error: perr N/A N/A N/A cikElement N/A N/A list N/A N/A root iter CIK N/A 0 N/A N/A int N/A cikElement text N/A N/A N/A StopIteration N/A N/A N/A chunks N/A N/A l n N/A N/A N/A i N/A range 0 N/A len l n N/A N/A N/A N/A l N/A i N/A i n N/A appendjoblist N/A N/A year month cik N/A None N/A N/A target_dir N/A N/A N/A N/A sec/ N/A str year / N/A N/A N/A str month zfill 2 / N/A cikPattern None N/A N/A N/A cik None N/A N/A cikStr N/A list N/A map str cik N/A cikPattern N/A tuple N/A N/A N/A cs zfill 10 N/A cs cikStr N/A N/A N/A filename N/A N/A os listdir target_dir N/A N/A add_file False N/A N/A N/A N/A N/A N/A os path splitext filename N/A 1 .zip N/A N/A N/A cik None N/A N/A add_file True N/A N/A N/A N/A filename startswith cikPattern N/A N/A add_file True N/A add_file N/A N/A zipname N/A target_dir filename N/A N/A N/A joblist append zipname N/A N/A N/A FileNotFoundError N/A fe N/A N/A N/A Error: no SEC filings found in directory target_dir N/A validatejob N/A N/A joblist script N/A None N/A N/A result None N/A N/A script None N/A N/A result N/A call N/A raptorxmlxbrl xbrl --listfile joblist N/A N/A result N/A call N/A raptorxmlxbrl xbrl --script-api-version=1 N/A --script= script --listfile joblist N/A result N/A xbrlname N/A N/A zipname N/A N/A N/A result None N/A z N/A N/A zipfile ZipFile zipname N/A xmllist N/A f N/A f N/A N/A z namelist N/A N/A f endswith .xml N/A filtered N/A v N/A v xmllist N/A N/A N/A v startswith defnref N/A xbrlname N/A min filtered key len N/A N/A N/A zipname |zip/ xbrlname N/A partitionjoblist N/A N/A joblist script N/A None N/A N/A partition_count 0 N/A c N/A chunks joblist job_limit N/A N/A partition_count 1 N/A N/A Partition: partition_count N/A N/A runjoblist c script N/A runjoblist N/A N/A joblist script N/A None N/A N/A jobfile N/A open valSECfilings.jobs w N/A N/A N/A job joblist N/A N/A N/A N/A jobfile write N/A xbrlname job N/A N/A N/A jobfile write N/A N/A N/A N/A jobfile close N/A N/A Running batch of N/A len joblist validation jobs... N/A N/A validatejob valSECfilings.jobs script N/A main N/A N/A argv N/A N/A N/A year 1999 N/A month 0 N/A from_year 1999 N/A to_year 1999 N/A year_range False N/A one_cik False N/A script None N/A cik None N/A ticker None N/A N/A N/A N/A N/A os path exists sec N/A N/A N/A N/A os makedirs sec N/A start_time N/A N/A time time N/A N/A N/A N/A opts args N/A N/A getopt getopt argv hy:m:f:t:c:k:s: N/A year= month= from= to= cik= ticker= script= N/A N/A N/A N/A getopt GetoptError N/A N/A usage_string N/A N/A N/A sys exit 2 N/A N/A opt arg opts N/A N/A N/A opt -h N/A N/A usage_string N/A N/A N/A sys exit N/A N/A N/A opt N/A -y --year N/A N/A year N/A int arg N/A N/A N/A opt N/A -m --month N/A N/A month N/A int arg N/A N/A N/A opt N/A -f --from N/A N/A from_year N/A int arg N/A year_range True N/A N/A N/A opt N/A -t --to N/A N/A to_year N/A int arg N/A year_range True N/A N/A N/A opt N/A -c --cik N/A N/A cik N/A list N/A map int N/A N/A arg split , N/A N/A N/A opt N/A -k --ticker N/A N/A ticker N/A N/A arg split , N/A cik N/A list N/A map lookup_cik ticker N/A N/A N/A opt N/A -s --script N/A N/A script arg N/A N/A N/A ticker None N/A N/A N/A Tickers:  ticker N/A N/A N/A cik None N/A N/A N/A CIKs:  cik N/A N/A N/A year_range N/A month 0 N/A N/A year 1999 N/A N/A from_year year N/A to_year year N/A year_range True N/A year_range N/A N/A N/A from_year 1999 N/A N/A from_year to_year N/A N/A to_year 1999 N/A N/A to_year from_year N/A N/A from_year 2005 N/A N/A Error: SEC filings only started in 2005 N/A Please specify a year > 2005 for -y or -f argument N/A usage_string N/A N/A N/A sys exit 2 N/A year N/A range from_year N/A to_year 1 N/A N/A last_month 12 N/A N/A year N/A N/A N/A datetime today year N/A N/A last_month N/A N/A N/A datetime today month N/A month N/A range 1 N/A last_month 1 N/A N/A N/A appendjoblist year month cik N/A N/A N/A year 2005 N/A N/A Error: SEC filings only started in 2005 N/A Please specify a year > 2005 for -y or -f argument N/A usage_string N/A N/A N/A sys exit 2 N/A N/A appendjoblist year month cik N/A N/A N/A len joblist validation jobs queued up for RaptorXML+XBRL N/A N/A N/A len joblist job_limit N/A N/A N/A partitionjoblist joblist script N/A N/A N/A runjoblist joblist script N/A end_time N/A N/A time time N/A N/A Elapsed real time: N/A end_time start_time seconds N/A N/A N/A __name__ __main__ N/A N/A N/A main N/A N/A sys argv N/A 1