Skip to main content

HPXML Version Translator

This package converts an HPXML file to a newer version.

Requirements

Python >=3.6

Installation

In general, we recommended to use a virtual environment or conda environment and then installing with pip, like so:

pip install hpxml-version-translator

Developer Installation

If you want to do work on the repo, clone this repo and install in development mode.

cd path/to/repo
pip install -e ".[dev]"

How to use

Command Line

hpxml_version_translator -h
usage: hpxml_version_translator [-h] [-o OUTPUT] [-v {2.0,2.1,2.2,2.2.1,2.3,3.0,3.1,4.0,4.1,4.2,5.0}] hpxml_input

HPXML Version Translator, convert an HPXML file to a newer version

positional arguments:
  hpxml_input           Filename of hpxml file

options:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Filename of output HPXML file. If not provided, will go to stdout
  -v {2.0,2.1,2.2,2.2.1,2.3,3.0,3.1,4.0,4.1,4.2,5.0}, --to_hpxml_version {2.0,2.1,2.2,2.2.1,2.3,3.0,3.1,4.0,4.1,4.2,5.0}
                        Version of HPXML to translate to, default: 5.0

In a Python script

from hpxml_version_translator import convert_hpxml_to_version

convert_hpxml_to_version("5.0", "path/to/in.xml", "path/to/out.xml")

It also works with path-like objects and binary file-like objects.

Metadata

Release files for hpxml-version-translator 3.0.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 hpxml-version-translator 3.0.0
File Size Uploaded
hpxml_version_translator-3.0.0.tar.gz 269.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hpxml-version-translator 3.0.0
File Interpreter ABI Platform
hpxml_version_translator-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 540.3 kB

Release files / hpxml_version_translator-3.0.0.tar.gz

Download URL hpxml_version_translator-3.0.0.tar.gz
Size 269.1 kB
Tags Source
SHA-256 checksum
How to use checksums
60f44de045c9e5c6eefc450ec5f911b28fbcb16e007180fa74faf2f9cf542972
BLAKE2b-256 checksum
How to use checksums
a4067b4e1e8d5755016b1f8d69257c97a446300cbfcd9ee5833e39c7359a982d
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 2, 2026.

Transparency log

Release files / hpxml_version_translator-3.0.0-py3-none-any.whl

Download URL hpxml_version_translator-3.0.0-py3-none-any.whl
Size 271.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
434f1c2c509170cbb94e490345e49ec2c572456e09db1c1694b6e1d684c54bff
BLAKE2b-256 checksum
How to use checksums
17a3eda093eca557c2aede6fb2d3df50a28022d1818186aa1c9357e41244f35d
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 2, 2026.

Transparency log

Release history Release notifications | RSS feed

3.0.1

2 release files

This release

3.0.0 This release

2 release files

2.0.0

2 release files

1.0.1

2 release files

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