py-xbrl
py-xbrl copied to clipboard
Python-based parser for parsing XBRL and iXBRL files
Hi I would like to draw your attention to 2 issues I encountered while parsing XBRL documents. I have identified two simple yet effective solutions to these problems. Firstly, I...
Add an __eq__() method to all fact classes to test for equality
How can this be used to develop standardised financial data, the tool looks promising but I am struggling to find good example, thanks so much for your work :)
The logical content of public xbrl can be thought unchangeable lately when it is submited or publiced by the organizations, so its parsed result can be cached in disk to...
Hi, thank you so much for the work you have put into this library. I am using this library to process SEC XBRL filings to fetch information from P&L, Balance...
Got some more unresolved schemas. As I understand these are not real URIs, so what't the official way to resolve them? There must be a way to look these up...
In my application it doesn't make sense to store the data locally since my disk is ephemeral. I also don't pull directly from the web for concurrency and other reasons....
Is there any way to retrieve the textual label corresponding to a fact when it is in a table as follows?  In the above table, under Net Sales, Products,...
Filling has two ixbrl entries, but only the secondary ixbrl carries data: index: https://www.sec.gov/Archives/edgar/data/0000944745/000156459021013168/0001564590-21-013168-index.htm If I try to parse the main one: https://www.sec.gov/Archives/edgar/data/944745/000156459021013168/civb-20201231.htm It says: ``` inst = XbrlParser(cache).parse_instance(url) File...
namespace to taxonomy look up recursion replaced with fast LUT **before** **2 758 449** function calls (2647063 primitive calls) in **1.893 seconds** ncalls tottime percall cumtime percall filename:lineno(function) 419944 0.802...