Skip to main content

BIMORA Open Source

An open-source Python toolkit for reading information out of IFC building models, checking its quality, summarising spaces and areas, exchanging it as JSON / CSV, and comparing model revisions.

Status: v0.1.0 — first release, alpha. The public API may change before v1.0.0. Initiated by ALBE Studio and TO RENDER STUDIO.

Long-term vision of this repository: open-source tools for BIM interoperability, architectural visualization, interactive 3D environments and AI-powered building intelligence. v0.1.0 covers only the IFC data foundation described below; everything else is planned (see ROADMAP.md).

Who it is for

BIM coordinators, architects, engineers and developers who need to look inside IFC files, check whether the information requirements of a project are met, and move that information into spreadsheets, databases or other tools — from the command line or from Python.

What it does (v0.1.0)

Area Capabilities
IFC processing safe opening, schema detection, project metadata, header, units, Project → Site → Building → Storey → Space hierarchy, element classes, GlobalIds, property sets (including type-inherited values), declared quantities with units, materials (layers, profiles, constituents, lists), classification references, element counts
Validation 12 configurable rules: missing / invalid / duplicate identifiers, missing building, floor and room names, empty property values, invalid spatial relationships, missing or mixed units, missing classifications and materials, incomplete property sets, invalid or missing quantities
Spatial hierarchy tree, floors by elevation, room inventory, space categories, element grouping and statistics, area totals per storey, containment relationships, exact metric ↔ imperial conversion
Interoperability IFC → JSON (with a published JSON Schema), IFC → CSV, CSV field mapping, property / value / unit normalisation, GlobalId ↔ UUID mapping, asset manifests with SHA-256, read-only BCF 2.1 / 3.0 metadata reader
Comparison revision comparison by GlobalId: added, removed, changed names, property values, classifications, materials, spatial assignment and declared quantities
Interfaces bimora command-line tool and a typed Python API

Important. Validation results are automated data-quality checks. They are not building-code compliance checking, engineering approval or professional design verification. Revision comparison works on metadata; it does not compare geometry and is not clash detection.

Supported formats

Format Status
IFC2X3, STEP (.ifc) supported — tested with files generated by IfcOpenShell
IFC4, STEP (.ifc) supported — tested with files generated by IfcOpenShell
IFC4X3 and other schemas refused by default; --allow-untested-schema opens them without verified results
IFC-ZIP (.ifczip), ifcXML not supported in v0.1.0 (detected and refused)
BCF-XML 2.1 / 3.0 (.bcf, .bcfzip) metadata read-only
Revit (.rvt), Archicad (.pln), Navisworks not supported — export IFC from the authoring tool

The test files were produced with IfcOpenShell. Files exported by commercial authoring tools have not yet been verified with this release.

Installation

Python 3.11 or newer. The package is not published on PyPI yet; install from a clone:

git clone https://github.com/adelkazemi1/bimora-open-source
cd bimora-open-source
python -m venv .venv
# Windows: .venv\Scripts\activate    macOS / Linux: source .venv/bin/activate
python -m pip install .

Runtime dependencies: IfcOpenShell (LGPL-3.0-or-later, installed separately as a dependency) and jsonschema (MIT).

Quick start (command line)

bimora inspect examples/pavilion-ifc4.ifc
bimora validate examples/pavilion-ifc4-incomplete.ifc
bimora spaces examples/pavilion-ifc4.ifc --area-unit ft2
bimora properties examples/pavilion-ifc4.ifc --ifc-class IfcWall
bimora export examples/pavilion-ifc4.ifc --format json --output model.json
bimora export examples/pavilion-ifc4.ifc --format csv --output csv/
bimora compare examples/pavilion-ifc4.ifc examples/pavilion-ifc4-revision-b.ifc
bimora report examples/pavilion-ifc4.ifc --output report.json

More: bimora --help, bimora <command> --help and docs/cli.md. Add --json for machine-readable output. Exit codes: 0 ok, 1 check failed, 2 usage error, 3 input / configuration error, 4 output error.

Quick start (Python)

from bimora import inspect_model, validate_model, compare_models

summary = inspect_model("examples/pavilion-ifc4.ifc")
print(summary["schema"], summary["counts"]["elements"])

results = validate_model("examples/pavilion-ifc4-incomplete.ifc")
for f in results.findings:
    print(f.rule_id, f.severity, f.element_id, f.description)

diff = compare_models("examples/pavilion-ifc4.ifc", "examples/pavilion-ifc4-revision-b.ifc")
print(diff.summary)

See docs/python-api.md.

Architecture

src/bimora/
├── ifc/               loader (safety checks, schema detection), units, extraction → ModelData records
├── validation/        configurable rule engine and configuration loading
├── spatial/           hierarchy, floors, rooms, areas, statistics, unit conversion
├── interoperability/  JSON / CSV export, mapping, identifiers, manifests, BCF reader, revision comparison
├── reporting/         inspection summary and combined report
├── schemas/           JSON Schemas of the exchange formats
├── api.py             public Python API
└── cli.py             `bimora` command

The IFC file is parsed once into plain Python records (ModelData); every other module works on those records.

Known limitations

  • Verified only with IfcOpenShell-generated IFC2X3 / IFC4 files; real exports from authoring tools are untested.
  • No geometry processing: quantities are only those declared in the file; nothing is measured.
  • Large models are processed in memory; the default file size limit is 256 MB (configurable).
  • Revision comparison depends on stable GlobalIds.
  • BCF: metadata only (no snapshots, no writing).
  • Reports may include names and organisations from the IFC header and BCF authors; use --redact-header (IFC) and bimora bcf --no-people (BCF) to redact them.

Documentation

Getting started · IFC processing · Validation · Spatial utilities · Interoperability · Model comparison · CLI reference · Python API · Example datasets · Development

Contributing, security and license

  • Contributions: CONTRIBUTING.md and CODE_OF_CONDUCT.md.
  • Security issues: please report privately — see SECURITY.md.
  • License: MIT. IfcOpenShell is a separately installed dependency under LGPL-3.0-or-later.
  • Trademarks: IFC and BCF are open standards of buildingSMART International. Revit and Navisworks are trademarks of Autodesk, Inc.; Archicad is a trademark of GRAPHISOFT SE. They are named only to describe compatibility; this project is not affiliated with or endorsed by them.
  • Roadmap: ROADMAP.md · Changes: CHANGELOG.md.

Metadata

Release files for bimora-open-source 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bimora-open-source 0.1.0
File Size Uploaded Provenance Actions
bimora_open_source-0.1.0.tar.gz 105.1 kB With provenance Details for bimora_open_source-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bimora-open-source 0.1.0
File Interpreter ABI Platform Actions
bimora_open_source-0.1.0-py3-none-any.whl Python 3 none any Details for bimora_open_source-0.1.0-py3-none-any.whl

Total release size: 158.8 kB

Release files / bimora_open_source-0.1.0.tar.gz

Download URL bimora_open_source-0.1.0.tar.gz
Size 105.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cd630ffad98e0b0e9615731913baf128955ee9cae7543e33859b49e49620824c
BLAKE2b-256 checksum
How to use checksums
8287870ff11ac5a9884e27e2a96a9826b4c312f9a741cc6c1f31e121d33cc896
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / bimora_open_source-0.1.0-py3-none-any.whl

Download URL bimora_open_source-0.1.0-py3-none-any.whl
Size 53.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b5a3b8fd0e75ef243427cddaddc5a80c24fe2cc9942fe05a913c76390e16e54
BLAKE2b-256 checksum
How to use checksums
d3d6c924b334c8544318b09eab4c0a23585171916c8d61ff96ddc54f6e54649a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for bimora-open-source 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bimora_open_source-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page