Convert XBRLi documents into simple XBRL
Project description
XBRLI_converter
XBRLi_converter is a Python package for conversion of XBRLi filings into simpler XBRL documents.
XBRLi_converter is one of the tools used to build www.financialdatatree.com, an XBRL-powered website offering easy and free access to fundamental data from publicly traded US companies. Visit www.financialdatatree.com for more details.
GitHub repository for the project: github.com/filippo-ciceri/XBRLI_converter.
Installation
Use the package manager pip to install XBRLi_converter.
pip install XBRLi_converter
Usage
import XBRLi_converter
files = ['goog-20201231.htm']
process_files(files)
To sort alphabetically the content of the resulting simplified XBRL file:
process_files(files, sort=True)
The output files can be also automatically renamed using the names
option:
names = ['output_xbrl.xml']
process_files(files, sort=True, names=names)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for XBRLi_converter-1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a76279ad3fa0b93604b83fb2d1bfaa3d986d1419477652004f32ce89a13bf4d8 |
|
MD5 | 412e0170b319275dc72cc84f9211f9a4 |
|
BLAKE2b-256 | 0ead35fdaca15f5d3d462c98916729507f3f73bcf1dbc659867266b4a26d2d5b |