Skip to main content

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

Metadata

Release files for bsit-bob 0.1.3

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

Source distribution (sdist)

Source distribution for bsit-bob 0.1.3
File Size Uploaded Provenance
bsit_bob-0.1.3.tar.gz 89.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bsit-bob 0.1.3
File Interpreter ABI Platform
bsit_bob-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 201.5 kB

Release files / bsit_bob-0.1.3.tar.gz

Download URL bsit_bob-0.1.3.tar.gz
Size 89.3 kB
Tags Source
SHA-256 checksum
How to use checksums
271d6e9a945492f081ce3fc05538075b1c88d1f0a8c97cfee39795a248aed6ef
BLAKE2b-256 checksum
How to use checksums
8508f62982658fdebcc8661a211e926aba70c47cacad62beb788eab36f3d2ff7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.2

Release files / bsit_bob-0.1.3-py3-none-any.whl

Download URL bsit_bob-0.1.3-py3-none-any.whl
Size 112.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17395e2b8abee226aa2cd584e849a650d4650713b8014c81c5be279a15b4cfad
BLAKE2b-256 checksum
How to use checksums
5116e934fd6856664bfbc98cdb7708af60f29669f6204886b4de7177d103252b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.2

Security for bsit-bob 0.1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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