PHX (Passive House Exchange):
The Passive House Exchange (PHX) package enables users to move building model data into and out of the Passive House energy modeling software platforms (PHPP or WUFI-Passive).
PHX converts live Honeybee models carrying honeybee-ph data into 'PH-Style' objects and then manages data input to proprietary PH calculators such as PHPP and WUFI-Passive. File-oriented workflows may first read a HBJSON file into that Honeybee model.
PHX itself does not have serialization / deserialization, and is not intended to be stored or written directly: it is an in-memory-only model which is created as a middle-step when moving the building data from the source (usually a HBJSON file) to the destination (PHPP, WUFI-Passive).
This library is designed to be used as part of the Honeybee-PH plugin workflow, or other similar tools which require interfacing with the Passive House modeling platforms.
from PHX.conversion import from_honeybee
phx_project = from_honeybee(hb_model)
Packages:
-
conversion: Public live Honeybee / honeybee-ph
Model→ transientPhxProjectAPI. -
from_HBJSON: Honeybee conversion implementation and HBJSON file-reading helpers retained for existing workflows.
-
from_WUFI_XML: Modules used to create a new PHX model from an existing WUFI-Passive XML file.
-
from_PHPP: Modules used to create a new PHX model from an existing PHPP file.'
-
model: The PHX model classes and structures. These objects are designed to be built by one of the 'from_*' libraries above.
-
to_PHPP: Libraries to allow for the export of PHX data to a PHPP Microsoft Excel spreadsheet.
-
to_WUFI_XML: Libraries to allow for the export of a WUFI-Passive XML file with all of the PHX model data. This XML file can then be opened from within the WUFI-Passive application.
-
to_PPP / to_METr_JSON: Additional exporters for the PPP and METr-JSON target formats.
Development:
- Python: 3.10+ (CPython). Runs as a library/CLI, not inside Rhino (except the
PHX/run.pyGrasshopper shim). - Tests:
python -m pytest tests/. - Commits: conventional commits (
feat(scope):/fix(scope):) drive semantic-release auto-publishing to PyPI. - Agent/contributor orientation:
CLAUDE.md, thecontext/folder, and the deep architecture docs underdocs/dev/anddocs/reference/.
More Information:
For more information on the use of these tools, check out the the Passive House Tools website: https://passivehousetools.com/
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 phx-1.56.98.tar.gz.
File metadata
- Download URL: phx-1.56.98.tar.gz
- Upload date:
- Size: 368.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf6a37649b5274a03de3fae43f25d445454c3417ee6922cc3f11305a61a4165a
|
|
| MD5 |
640a6c68de246577c1ee9c560011eafe
|
|
| BLAKE2b-256 |
7a6c469b631164ae9daa5b8cb6d74f213636cabc74a79838481bfbe378e07041
|
Provenance
The following attestation bundles were made for phx-1.56.98.tar.gz:
Publisher:
ci.yml on PH-Tools/PHX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phx-1.56.98.tar.gz -
Subject digest:
cf6a37649b5274a03de3fae43f25d445454c3417ee6922cc3f11305a61a4165a - Sigstore transparency entry: 2616236196
- Sigstore integration time:
-
Permalink:
PH-Tools/PHX@a5370fb37454c4cb6b35f35f304381201a0c85b4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/PH-Tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@a5370fb37454c4cb6b35f35f304381201a0c85b4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file phx-1.56.98-py3-none-any.whl.
File metadata
- Download URL: phx-1.56.98-py3-none-any.whl
- Upload date:
- Size: 446.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b4361e8bce3ed3c4f95b15c0e48c789c7617a903f758c735e9869488c9a9737
|
|
| MD5 |
b52816d99d91a60e87bb909c3325c50f
|
|
| BLAKE2b-256 |
459bf5da4ca32fdfb6500051e582a3557c850d001e531431d8245fa2ec7882df
|
Provenance
The following attestation bundles were made for phx-1.56.98-py3-none-any.whl:
Publisher:
ci.yml on PH-Tools/PHX
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
phx-1.56.98-py3-none-any.whl -
Subject digest:
3b4361e8bce3ed3c4f95b15c0e48c789c7617a903f758c735e9869488c9a9737 - Sigstore transparency entry: 2616237074
- Sigstore integration time:
-
Permalink:
PH-Tools/PHX@a5370fb37454c4cb6b35f35f304381201a0c85b4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/PH-Tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@a5370fb37454c4cb6b35f35f304381201a0c85b4 -
Trigger Event:
push
-
Statement type: