Generating (not parsing) XBRL files programatically, using Arelle as a python library

487 views
Skip to first unread message

jonath...@kwhanalytics.com

unread,
Jan 31, 2018, 12:21:32 AM1/31/18
to Arelle-users
Hi everyone,
I'm trying to implement a service that can read from a database and output XBRL instance files.

Arelle came highly recommended and it's open-source and in Python, like the rest of our stack. I'm hoping I can import some modules from Arelle into my code and use them to generate some instance files.

However, all the documentation I can find on the web about Arelle seems to assume that the use case involves reading in XBRL files and parsing them. I can't find anything about the use case of generating XBRL from other data.

Can Arelle do this, or should I be looking for a different library? If Arelle can do it, is there any sample code or documentation available?  All I can find is this http://arelle.readthedocs.io/en/latest/arelle.html which is not helpful since it only lists module names. I am currently in the process of reading the Arelle source code to figure out whether it can be used to generate files.

Thanks in advance for any help you can give.
--Jonathan Xia

Herm Fischer

unread,
Feb 7, 2018, 10:13:10 AM2/7/18
to arelle...@googlegroups.com
Arelle outputs XBRL instance files in several cases, so the underlying capability is there:  formula linkbase output, rendering forms saving, and OIM (open information model) saving.   Various uses have saved instances from database and Excel files.

   Herm Fischer

--

---
You received this message because you are subscribed to the Google Groups "Arelle-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arelle-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages