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

Metadata

Release files for dsbxml 1.2.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.2.0
File Size Uploaded Provenance Actions
dsbxml-1.2.0.tar.gz 17.7 kB With provenance Details for dsbxml-1.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 37.6 kB

Release files / dsbxml-1.2.0.tar.gz

Download URL dsbxml-1.2.0.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
547a9f8cc5563bbf1b6b6d1dc5fdf10f961ae82f9639d3dae01f817e20d1a070
BLAKE2b-256 checksum
How to use checksums
c12a8897f16851027c6e2f4231e293b681a336f9f656bd01e8872849092b0c29
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 29, 2026.

Transparency log

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

Download URL dsbxml-1.2.0-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c9addb49e566846b5c6e187f40c6dd93b37e91dbe6a9b6ca313694e93d54f956
BLAKE2b-256 checksum
How to use checksums
6d7f922cb8677043cfe36c1b710f93fe6f7ce545ea2f02d5442df28f10f48e18
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 29, 2026.

Transparency log

Security for dsbxml 1.2.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.2.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 29, 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