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 — DesignBuilder, Bartłomiej Tokarzewski

Metadata

Release files for dsbxml 1.3.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.3.0
File Size Uploaded Provenance Actions
dsbxml-1.3.0.tar.gz 36.3 kB With provenance Details for dsbxml-1.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 76.9 kB

Release files / dsbxml-1.3.0.tar.gz

Download URL dsbxml-1.3.0.tar.gz
Size 36.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3851f235efbf8fb0bf6ce8748c27b43850e7964cfa5f9895cbcec155bb337f71
BLAKE2b-256 checksum
How to use checksums
858181a5edfa361fbc18c26d81e66eb4ad611ac19ea99f7abb126a35afc135e1
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 30, 2026.

Transparency log

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

Download URL dsbxml-1.3.0-py3-none-any.whl
Size 40.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5230a1ad674526ae328e86a4a6c7a7ea1b0653a9b992895e55614a5050fa43e0
BLAKE2b-256 checksum
How to use checksums
eaead3c5333a55083191170d4851a01c76b3b40e1870b2592f37e4770ba297b4
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 30, 2026.

Transparency log

Security for dsbxml 1.3.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 dsbxml-1.3.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 Sep 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.

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