Releases: reeyarn/LeanRL
Releases · reeyarn/LeanRL
0.1.5
Release v0.1.5 - First Official Release
🎉 First official release of LeanRL!
LeanRL is a lightweight, memory-efficient Python library for extracting specific information from XBRL filings and taxonomies without loading the entire DTS (Discovery Tree).
Key Features
- Complete linkbase parsing: Label, Reference, Definition, Presentation, and Calculation linkbases
- Taxonomy schema parsing: Extract concepts, types, and metadata from XBRL schema files
- Hierarchical tree structures: Build and navigate concept hierarchies with
ConceptTreeandCalculationTree - Pandas integration: Convert XBRL structures to pandas DataFrames for easy analysis
- Memory-efficient: Process one file at a time, no full DTS loading required
- Simple API: Clean, intuitive interface returning Python dicts, lists, and DataFrames
What's Included
- All 5 XBRL linkbase parsers (label, reference, definition, presentation, calculation)
- Taxonomy schema parser with concept extraction
- Tree-based hierarchy navigation (get parents, children, ancestors, paths)
- Calculation validation with weights
- Comprehensive documentation and examples
Requirements
- Python 3.9+
- pandas >= 2.2.0
Installation
pip install leanrlDocumentation
See the README and Linkbase Documentation for usage examples.
Funding: Funded by the Deutsche Forschungsgemeinschaft (DFG) – TRR 266 Accounting for Transparency.