Skip to main content

openstudio-backporter

pypi python Build Status codecov

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.

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).

Metadata

Release files for openstudio-backporter 0.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 openstudio-backporter 0.2.0
File Size Uploaded
openstudio_backporter-0.2.0.tar.gz 68.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openstudio-backporter 0.2.0
File Interpreter ABI Platform
openstudio_backporter-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 83.9 kB

Release files / openstudio_backporter-0.2.0.tar.gz

Download URL openstudio_backporter-0.2.0.tar.gz
Size 68.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f98ede0d5f6f8917921690b1da9577514c08d864595ce13c9d660ad5fd1d5621
BLAKE2b-256 checksum
How to use checksums
4f9444ed873b77cd8ab92a74f8880f92e6f94e97bc5216b401308ad43e5526c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 22, 2026.

Transparency log

Release files / openstudio_backporter-0.2.0-py3-none-any.whl

Download URL openstudio_backporter-0.2.0-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be91c6d5fa646743056649097f45c9f9e806e06e99a345d8f902a7d6aec2f983
BLAKE2b-256 checksum
How to use checksums
8bab1b0d87afe8914bcc11501a5442d6795285e02079b8ef6efd47234411a6d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jun 22, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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