Skip to main content

Parser for parsing XBRL and iXBRL files (instance documents, taxonomy schemas, taxonomy linkbases).

Project description

XBRL-Parser

PyPI PyPI - Status PyPI - Python Version GitHub PyPI - Downloads GitHub code size in bytes Documentation Status

XBRL-Parser

Py-xbrl is a python library that allows the user to easily parse XBRL-Documents. Py-xbrl is primarily build to parse Instance Documents (originally from the SEC) but can also be used to parse any type of XBRL Document as long as it follows the XBRL 2.1 Specification (2003)^1 or the iXBRL 1.1 Specification(2013)^2.

XBRL is a very information-rich markup language that can have highly complex structures. This library tries to capture as much of the original information as possible. Py-xbrl will automatically download and parse all referenced XBRL-Files like taxonomy schemas and linkbases. After parsing py-xbrl will organize all information in an object structure and return it to the user.

Please read the documentation for more information and examples!: https://py-xbrl.readthedocs.io

Installation

Py-xbrl can be installed via PIP:

pip install py-xbrl

see the documentation for more info.

Questions

If you have questions regarding the library please post them into the GitHub discussion forum.

Contributing

I am always happy to receive contributions. You can either work on an already created issue or create a new pull request. You can also create a pull request if you want to propose a change to the documentation on readthedocs.io. Please keep in mind that the goal of this library is to parse XBRL files correctly. Therefore, it is important that the unit tests work on any pull request. Additionally, py-xbrl should still be able to parse all xbrl files correctly. It is best to create a discussion in the GitHub discussion board before creating the pull request to avoid that a lot of work is done, but the pull request is not merged in the end.

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

py_xbrl-2.2.14.tar.gz (57.9 kB view details)

Uploaded Source

Built Distribution

py_xbrl-2.2.14-py3-none-any.whl (54.3 kB view details)

Uploaded Python 3

File details

Details for the file py_xbrl-2.2.14.tar.gz.

File metadata

  • Download URL: py_xbrl-2.2.14.tar.gz
  • Upload date:
  • Size: 57.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for py_xbrl-2.2.14.tar.gz
Algorithm Hash digest
SHA256 74ca8ae3b81053257fca7fa39f2791491edeb03b5662d3db8a404233dfd5d06f
MD5 fb777a2de358f6f338282a028ebf8f64
BLAKE2b-256 12f2ad4c9f0694d81ae06de0013fb7cac1f1ff12ab51cd5829603ee728769809

See more details on using hashes here.

File details

Details for the file py_xbrl-2.2.14-py3-none-any.whl.

File metadata

  • Download URL: py_xbrl-2.2.14-py3-none-any.whl
  • Upload date:
  • Size: 54.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for py_xbrl-2.2.14-py3-none-any.whl
Algorithm Hash digest
SHA256 48d6a7776c471687b748d6350f6543d8459a3869fc2a558af5df6a57295da192
MD5 aa288ccc41a9fdd2003d51d50d07b3c5
BLAKE2b-256 0ad1d1335b25d04ee38b64f1e03b5f07411481dcaa25f082397aa27807d13178

See more details on using hashes here.

Supported by

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