Skip to main content

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

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

XBRLi_converter-1.4.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

XBRLi_converter-1.4-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page