A small library to backport an OpenStudio OSM model to an older version.
Project description
openstudio-backporter
A small library to backport an OpenStudio OSM model to an older version.
Note: I am only adding backports as old as I need to. Contribution welcomed.
- Documentation: https://jmarrec.github.io/openstudio-backporter
- GitHub: https://github.com/jmarrec/openstudio-backporter
- PyPI: https://pypi.org/project/openstudio-backporter/
- TestPyPI: https://test.pypi.org/project/openstudio-backporter/
Install
pip install openstudio-backporter
Usage
CLI
A CLI feature is provided, that you can invoke via python -m openstudiobackporter
See python -m openstudiobackporter --help for the list of command line parameters and how to use it.
Example:
python -m openstudiobackporter \
--to-version 3.8.0 \
--save-intermediate \
--verbose \
/path/to/model3_10_0.osm
Library
You can also use it as a library:
from pathlib import Path
from openstudiobackporter import Backporter
backporter = Backporter(to_version="3.9.0", save_intermediate=False)
idf_file = backporter.backport_file(osm_path=Path("/path/to/model_3_10_0.osm"))
# or
model = openstudio.model.exampleModel()
idf_file = backporter.backport(idf_file=model) # or model.toIdfFile()
This is free software (MIT License) contributed by EffiBEM.
Leveraging software, EffiBEM specializes in providing new ways to streamline your workflows and create new tools that work with limited inputs for your specific applications. We also offer support and training services on BEM simulation engines (OpenStudio and EnergyPlus).
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 openstudio_backporter-0.1.8.tar.gz.
File metadata
- Download URL: openstudio_backporter-0.1.8.tar.gz
- Upload date:
- Size: 52.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9993f38b1315833109d03666441b011b3213aa8b21cccb6dc083422b51b7dcb6
|
|
| MD5 |
666a910ac7c0f3303291745b3f0860e9
|
|
| BLAKE2b-256 |
5f3d470722dbc31499650ff012a884982e7d212d3a45b1e01197fdc25ecea927
|
Provenance
The following attestation bundles were made for openstudio_backporter-0.1.8.tar.gz:
Publisher:
release.yml on jmarrec/openstudio-backporter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openstudio_backporter-0.1.8.tar.gz -
Subject digest:
9993f38b1315833109d03666441b011b3213aa8b21cccb6dc083422b51b7dcb6 - Sigstore transparency entry: 915887113
- Sigstore integration time:
-
Permalink:
jmarrec/openstudio-backporter@847e16fe8b18855a43d0ba6630db7bc636ab3440 -
Branch / Tag:
refs/tags/v0.1.8 - Owner: https://github.com/jmarrec
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@847e16fe8b18855a43d0ba6630db7bc636ab3440 -
Trigger Event:
push
-
Statement type:
File details
Details for the file openstudio_backporter-0.1.8-py3-none-any.whl.
File metadata
- Download URL: openstudio_backporter-0.1.8-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7883a4205fbf5335e52dd175f820a9aebffa768aaf69dd9d2652a3517fd73564
|
|
| MD5 |
16eb137c7b82f719c438d8a60028a670
|
|
| BLAKE2b-256 |
449d9dfe2e2e4eda75d19f2326b73cb4bd63e4273b1224f6f98b0dc7db4cf1ed
|
Provenance
The following attestation bundles were made for openstudio_backporter-0.1.8-py3-none-any.whl:
Publisher:
release.yml on jmarrec/openstudio-backporter
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openstudio_backporter-0.1.8-py3-none-any.whl -
Subject digest:
7883a4205fbf5335e52dd175f820a9aebffa768aaf69dd9d2652a3517fd73564 - Sigstore transparency entry: 915887200
- Sigstore integration time:
-
Permalink:
jmarrec/openstudio-backporter@847e16fe8b18855a43d0ba6630db7bc636ab3440 -
Branch / Tag:
refs/tags/v0.1.8 - Owner: https://github.com/jmarrec
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@847e16fe8b18855a43d0ba6630db7bc636ab3440 -
Trigger Event:
push
-
Statement type: