A library to gather information from ETS project files used for KNX
Project description
(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 and their descriptions and possibly more.
Note: The specified KNX project file will be extracted to /tmp during the process. Once parsing is done all files will be deleted from /tmp again.
Documentation
Currently, xknxproject supports extracting (password protected) ETS5 and ETS6 files and can obtain the following information from your project:
- Areas, Lines, Devices and their individual address
- CommunicationObjectInstance references for their devices (GA assignments)
- Group Addresses and their DPT type if set
Installation:
pip install xknxproject
Usage:
from xknxproject import KNXProj
def main():
"""Extract and parse a KNX project file."""
knxproj: KNXProj = KNXProj("path/to/your/file.knxproj", "optional_password")
areas, group_addresses = knxproj.parse()
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 xknxproject-0.0.1.tar.gz.
File metadata
- Download URL: xknxproject-0.0.1.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29a316f2c121198c511deb07256727b8e87fff55c90e1c8b6590da0222489070
|
|
| MD5 |
572336d34602aeafb1bd37c4b6c7cd8f
|
|
| BLAKE2b-256 |
041c4db4ab5718360e570123ca0aef200de94594406afdf9b703ab53bd9fdd1f
|
File details
Details for the file xknxproject-0.0.1-py3-none-any.whl.
File metadata
- Download URL: xknxproject-0.0.1-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e081929cbc452566a7d60a76792a318ee9a263ea3c31466ca96667553d7b789
|
|
| MD5 |
277d030993a2cd9605f980defa0bb550
|
|
| BLAKE2b-256 |
39991ea991c9e2432f6f37e619b8ac4497cf51dcf011ed36731461c34aa366fc
|