Arelle is an open-source XBRL platform for creating, validating, and analyzing XBRL, iXBRL, and other financial reporting standards. Current version is 2.39.10, released regularly with updates for taxonomy support and bug fixes.
pip install arelle-releaseVerified import paths — ran on the pinned version, not inferred.
Basic import and setup of Arelle for XBRL processing. Replace 'instance.xbrl' with your file path.
Update imports to use the new top-level module: 'from arelle import Arelle' and call Arelle.main().
Set 'logFile' option to '-' for stdout or '/path/to/log.txt' for a file.
Pass 'validate' as a key in the options dictionary (e.g., options['validate'] = True).