A Python tool for validating RPD files according to a specified version of the ASHRAE 229 schema.
Reason this release was yanked:
Outdated docs
Project description
RECI-RPDValidator
RECI-RPDValidator is a Python utility designed to validate Ruleset Project Description (RPD) files against requirements established by the ASHRAE 229 schema. It supports multiple schema versions, ensuring compatibility and compliance across various releases.
By default, the utility validates RPD files against version 0.1.0 of the ASHRAE 229 schema. If the validation fails, a detailed report of all errors encountered will be provided.
This project is an adaptation of a feature included in the Ruleset Checking Tool, created by PNNL. We have made modifications including explicit support of multiple versions of the schema, and enhance the validation error messages. All credit for the original work goes to PNNL. For more details, visit https://github.com/pnnl/ruleset-checking-tool.
Features
- Validate RPD files for compliance with the ASHRAE 229 schema.
- Support for multiple schema versions.
- Clear and comprehensive error reporting for failed validations.
Installation
Requirements:
- Python 3.7 or newer.
The utility is not yet available on PyPI. To install it, clone the repository and install it locally:
pip install git+https://github.com/Karpman-Consulting/RECI-RPDValidator.git
Once the utility is made available on PyPI. It will be installable using the following command:
pip install rpdvalidator
Usage
Command-Line Utility
RECI-RPDValidator provides a straightforward command-line interface for validating RPD files. Use the following command to validate an RPD file:
validateRPD rpd-filename.json
Specifying a Schema Version
To validate an RPD file against a specific schema version, use the --version flag:
validateRPD rpd-filename.json --version 0.2.0
If no version is specified, the utility defaults to schema version 0.1.0.
Output
- passed: Boolean indicating if the RPD file is valid.
- errors: A list of errors found during validation.
Disclaimer Notice
- Acknowledgment: This material is based upon work supported by the U.S. Department of Energy’s Office of Energy Efficiency and Renewable Energy (EERE) under the Building Technologies Office - DE-FOA-0002813 - Bipartisan Infrastructure Law Resilient and Efficient Codes Implementation.
- Award Number: DE-EE0010949
- Abridged Disclaimer: The views expressed herein do not necessarily represent the view of the U.S. Department of Energy or the United States Government.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rpdvalidator-1.0.tar.gz.
File metadata
- Download URL: rpdvalidator-1.0.tar.gz
- Upload date:
- Size: 53.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0f2493bd5f5cdab64364fbabdf412c2c1e7d0a34b966690592b67667b9abb5b
|
|
| MD5 |
6c49696b0862684033b64071e600472a
|
|
| BLAKE2b-256 |
d13b67e05e248d7df780071b382181852bb74738a543939b7cb2d10326243a00
|
File details
Details for the file rpdvalidator-1.0-py3-none-any.whl.
File metadata
- Download URL: rpdvalidator-1.0-py3-none-any.whl
- Upload date:
- Size: 55.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab6c9ac5896cda93d3854a56529f37efe5357e3e00cc8a38a488cf6a532c6d20
|
|
| MD5 |
8c6575841ed476d31919987b2ec5cbbe
|
|
| BLAKE2b-256 |
2f907af0e31a5949c9fe9d4319873791d934a7f7fdc928f7a9c1102060f431e3
|