(X)KNX Project
Extracts KNX projects and parses the underlying XML.
This project aims to provide a library that can be used to extract and parse KNX project files and read out useful information including the group addresses, devices, their descriptions and possibly more.
Documentation
Currently, xknxproject supports extracting (password protected) ETS 4, 5 and 6 projects and can obtain the following information:
- Areas, Lines, Devices and their individual address and channels
- The tree of channels and folders ETS shows the communication objects of a device in
- CommunicationObjectInstance references for their devices (GA assignments)
- Group Addresses and their DPT type if set
- The application programs communication objects, their respective flags and the DPT Type
- Location information of devices (in which rooms they are)
- Trades and the devices assigned to them
- Functions assigned to rooms
Caution: Loading a middle-sized project with this tool takes about 1.5 seconds. For bigger projects this might as well be >3s.
Not all supported languages are included in project / application data. If the configured language is not found, the default language will be used - which is manufacturer / product dependent.
Installation
pip install xknxproject
Usage
"""Extract and parse a KNX project file."""
from xknxproject.models import KNXProject
from xknxproject import XKNXProj
knxproj: XKNXProj = XKNXProj(
path="path/to/your/file.knxproj",
password="password", # optional
language="de-DE", # optional
)
project: KNXProject = knxproj.parse()
The resulting KNXProject is a typed dictionary and can be used just like a dictionary, or can be exported as JSON.
You can find an example file (exported JSON) in our test suite under https://github.com/XKNX/xknxproject/tree/main/test/resources/stubs
The full type definition can be found here: https://github.com/XKNX/xknxproject/blob/main/xknxproject/models/knxproject.py
Metadata
Release files for xknxproject 3.11.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xknxproject-3.11.1.tar.gz | 72.2 kB | With provenance | Details for xknxproject-3.11.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xknxproject-3.11.1-py3-none-any.whl | Python 3 | none | any | Details for xknxproject-3.11.1-py3-none-any.whl |
Total release size: 133.5 kB
Release files / xknxproject-3.11.1.tar.gz
| Download URL | xknxproject-3.11.1.tar.gz |
|---|---|
| Size | 72.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
545631133fbbae284b83098e3ee47ee0bddb7e8c36783b7b3daa034acbc7abfd
|
|
BLAKE2b-256 checksum How to use checksums |
703f632eb772f6daaf809297847c514ab16b12273958d8f08352974923e33825
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 24, 2026.
Transparency logRelease files / xknxproject-3.11.1-py3-none-any.whl
| Download URL | xknxproject-3.11.1-py3-none-any.whl |
|---|---|
| Size | 61.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
148416273cad8c52d57452bc3f9da921753b2933f34875ac2690f9886cd6d9f2
|
|
BLAKE2b-256 checksum How to use checksums |
b1fa0ae9d9402698efc228c938234eaef0eb1faf7b297e2902e17e9b5939409c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 24, 2026.
Transparency logSecurity for xknxproject 3.11.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for xknxproject-3.11.1.tar.gz
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 Nov 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.