Skip to main content

db-schema

Python License Tests

Python package for reading, editing, and writing DesignBuilder XML files using Pydantic and pydantic-xml.

Install

pip install dsbxml

Quick Start

from dsbxml import load_model, save_model

dsb = load_model("building.xml")
dsb.name = "Updated Building"
save_model(dsb, "building_updated.xml")

Features

  • Type-safe XML handling via Pydantic v2
  • XXE attack protection built-in
  • Full DesignBuilder XML schema support including HVAC
  • Load/save XML and JSON formats

Data Model

dsbXML
└── Site
    ├── Attributes / Tables / AssemblyLibrary
    └── Buildings
        └── Building
            ├── BuildingBlocks / Zones / Surfaces
            └── HVACNetwork
                └── HVACLoops / HVACZoneGroups

Development

git clone https://github.com/DesignBuilderSoftware/db-schema
cd db-schema
pip install -e ".[dev]"
pytest

License

MIT — Bartłomiej Tokarzewski

Release files for dsbxml 1.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 dsbxml 1.1.0
File Size Uploaded
dsbxml-1.1.0.tar.gz 16.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dsbxml 1.1.0
File Interpreter ABI Platform
dsbxml-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 35.7 kB

Release files / dsbxml-1.1.0.tar.gz

Download URL dsbxml-1.1.0.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8c985a725c3d88f6f1d963a670e103d1ae7460a070ff217a57f4afe56d30fb83
BLAKE2b-256 checksum
How to use checksums
31461cc7e34270e7e5bcc51954312a6d6b439ac1aef67b83396890d0ffc11ea2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 25, 2026.

Transparency log

Release files / dsbxml-1.1.0-py3-none-any.whl

Download URL dsbxml-1.1.0-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0edbd6fea0085c8fac30c631f0d57cc8f968a152faf054ad731119ffe86b80f8
BLAKE2b-256 checksum
How to use checksums
6f4a76620b866ff6b00c59bf1516d3583a8b24d6b26ff7382424db078dd10625
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.5

2 release files

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