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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file XBRLi_converter-1.4.tar.gz.

File metadata

  • Download URL: XBRLi_converter-1.4.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.10

File hashes

Hashes for XBRLi_converter-1.4.tar.gz
Algorithm Hash digest
SHA256 52dd93b4a9eb4665070ba29f7b4ccd84aeb770d7c814d83c2791c9961f2ab59f
MD5 07ccb16d0e9aec15f107894be86714d9
BLAKE2b-256 02a7e9b8bb36a7bb8ad978f9c33998ac804a38545b79f7856729fd9682cb48f2

See more details on using hashes here.

File details

Details for the file XBRLi_converter-1.4-py3-none-any.whl.

File metadata

  • Download URL: XBRLi_converter-1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.10

File hashes

Hashes for XBRLi_converter-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a76279ad3fa0b93604b83fb2d1bfaa3d986d1419477652004f32ce89a13bf4d8
MD5 412e0170b319275dc72cc84f9211f9a4
BLAKE2b-256 0ead35fdaca15f5d3d462c98916729507f3f73bcf1dbc659867266b4a26d2d5b

See more details on using hashes here.

Supported by

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