Skip to content

filippo-ciceri/XBRLI_converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

MIT

About

Convert XBRLi documents into simple XBRL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages