Skip to content

Install_Ubuntu_Linux

Toby Chaloner edited this page Mar 23, 2026 · 3 revisions

View the ixbrl tags in remote file

This is relevant to Linux

linux install

This assumes you are working in a python virtual environment (venv)

git clone https://github.com/cybermaggedon/ixbrl-parse
pip install number-parser rdflib aiohttp 
cd ixbrl-parse
pip install .

using

assuming your xhtml output is in ../my-accounts/accts-ct.xhtml

ixbrl-dump ../my-accounts/accts-ct.xhtml

It produced output like

Entity: 02842556 (http://www.companieshouse.gov.uk/)
    Instant: 2025-09-01
        Dimension: {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}BusinessTypeDimension = {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}Company
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}NameOfProductionSoftware: ixbrl-reporter
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}VersionOfProductionSoftware: 1.2.0
        Dimension: {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}BusinessTypeDimension = {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}Company
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}CompanyIsAPartnerInAFirm: false
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}FinancialYear1CoveredByTheReturn: 2025
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}FinancialYear2CoveredByTheReturn: 2025
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}OffPayrollWorkingApplicable: true
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}AdjustedTradingProfitOfThisPeriod: 0.0 (GBP)
        - {http://www.hmrc.gov.uk/schemas/ct/comp/2024-01-01}TradingLossesBroughtForward: 0.0 (GBP)

Install Issues

ModuleNotFoundError: No module named 'ixbrl_parse'

Need to install ixbrl-parse

git clone git@github.com:cybermaggedon/ixbrl-parse.git ixbrl-parse

linux

    export PYTHONPATH=$/path/to/ixbrl-parse//:$PYTHONPATH

Windows

    set PYTHONPATH=C:\path\to\dirWithScripts\;%PYTHONPATH%

ModuleNotFoundError: No module named 'number_parser'

pip install number-parser

ModuleNotFoundError: No module named 'rdflib'

https://pypi.org/project/rdflib/

pip install rdflib

ModuleNotFoundError: No module named 'aiohttp'

https://pypi.org/project/aiohttp/

pip install aiohttp

Versions

  • ixbrl-parse 0.11.0
  • Python 3.12.3

Clone this wiki locally