Skip to content

yosukesan/ya_python_xbrl

Repository files navigation

Yet Another Python XBRL Parser

CI script

Top down parser for XBRL.

Sample Code (sample.py)

This is a sample to read and convert a xbrl file to json.

 import sys
 from xbrl\_parser import XbrlApp
 
 if __name__ == "__main__":
 
     xbrl_app : XbrlApp = XbrlApp()
 
     filename : str = sys.argv[1]
     text = open(filename).read()
     xbrl_app.to_json(text)

To run

    python3 sample.py ${xbrl_file}

xbrl files are available from sec, edinet and others.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published