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-3.0.1.tar.gz (59.5 kB view details)

Uploaded Source

Built Distribution

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

py_xbrl-3.0.1-py3-none-any.whl (56.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_xbrl-3.0.1.tar.gz
  • Upload date:
  • Size: 59.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for py_xbrl-3.0.1.tar.gz
Algorithm Hash digest
SHA256 5a79521aafe25148c95018fa7171e0f1bfd46a9a4d1173313c17f96b9572265d
MD5 5ebc2da04fcacc2cf0fbe909c08f8f1e
BLAKE2b-256 02a6b319c8a078557df008995c34017f6af819a3322d4162f129e54a6953dbab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_xbrl-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 56.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for py_xbrl-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9adaca0bd7553376673f1b8942175e1c56b5a78154b80ffabfd1e0e14f14fb5c
MD5 94d8aafd048e35aadf4b907e78a83267
BLAKE2b-256 e30888a868b283667cf720b83bbdd8678c438b4f7e1e17f22a8cc840b9c55a7c

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