Skip to main content

BACnet Semantic Interoperability Toolkit - Bob - Building Model Builder

Project description

SI-Builder

Python package

Build ASHRAE 223P–compliant models using YAML and Python. si-builder emits RDF (Turtle) and aligns key concepts with RealEstateCore.

Install

% mkdir my-building
% cd my-building
% uv init --python 3.13
Initialized project `my-building`
% uv add bsit-bob
# or uv pip install ".[tests,validation,templates,doc]", choose what you need
Using CPython 3.13.1
Creating virtual environment at: .venv

Verify import

# ipython
import bob  # si-builder package

Environment

  • Install python-dotenv (recommended). si-builder automatically loads a .env at the project root if present.
  • See doc/environment.md for available variables and effects.

Run tests

  • Windows (PowerShell)
cd d:\0Programmes\Ashrae\si-builder
pytest .\tests\
  • Linux (bash)
cd /path/to/si-builder
pytest tests/

Build documentation (HTML) This runs helpers, executes examples to generate TTL, renders SVG graphs, and builds Sphinx.

Prerequisites (one-time)

  • Windows (PowerShell)
python -m pip install -U sphinx myst-parser rdflib graphviz python-dotenv sphinxawesome-theme
choco install graphviz
  • Linux (bash)
python3 -m pip install -U sphinx myst-parser rdflib graphviz python-dotenv sphinxawesome-theme
sudo apt-get update && sudo apt-get install -y graphviz  # Debian/Ubuntu
# Fedora:
sudo dnf install -y graphviz
# Arch:
sudo pacman -S graphviz

Build and open

  • Windows (PowerShell)
python .\tools\build_docs.py
Start-Process .\doc\_build\html\index.html
  • Linux (bash)
python3 ./tools/build_docs.py
xdg-open ./doc/_build/html/index.html

Docs contents (from doc/index.md)

  • Getting Started
  • Environment
  • Core
  • Enumerations
  • Basics
  • Syntax Operators
  • Syntax
  • Connections
  • Junctions and Boundaries
  • Sensors and Observation
  • Controllers and BACnet
  • References
  • Systems vs Equipment
  • Equipment
  • Spaces
  • Properties
  • External References
  • Templates and Catalog
  • Validation and Export
  • Examples from Tests
  • Operators Implementation

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

bsit_bob-0.1.3.tar.gz (89.3 kB view details)

Uploaded Source

Built Distribution

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

bsit_bob-0.1.3-py3-none-any.whl (112.2 kB view details)

Uploaded Python 3

File details

Details for the file bsit_bob-0.1.3.tar.gz.

File metadata

  • Download URL: bsit_bob-0.1.3.tar.gz
  • Upload date:
  • Size: 89.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for bsit_bob-0.1.3.tar.gz
Algorithm Hash digest
SHA256 271d6e9a945492f081ce3fc05538075b1c88d1f0a8c97cfee39795a248aed6ef
MD5 37fd7a40ce393600a75e5e60cde89277
BLAKE2b-256 8508f62982658fdebcc8661a211e926aba70c47cacad62beb788eab36f3d2ff7

See more details on using hashes here.

File details

Details for the file bsit_bob-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: bsit_bob-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 112.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for bsit_bob-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 17395e2b8abee226aa2cd584e849a650d4650713b8014c81c5be279a15b4cfad
MD5 47ce5845fc79bfeceb33d1dbe598cbdf
BLAKE2b-256 5116e934fd6856664bfbc98cdb7708af60f29669f6204886b4de7177d103252b

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