Async Python client for ComAp controllers: LAN discovery and the native ECDH/AES-encrypted control protocol
Project description
pycomap
Async Python client for ComAp controllers (InteliLite AMF25 and likely compatible siblings): LAN discovery and the native ECDH/AES-encrypted control protocol on port 23.
Quick start
from ipaddress import IPv4Address
from pycomap import Controller, EthernetTransport
from pycomap.protocol import ComApClient
async with Controller(
ComApClient(EthernetTransport(IPv4Address("192.168.1.9"))),
access_code="0", # factory default (drives ECDH key derivation)
password=1234, # write-protection password (0-9999); omit for read-only
) as ctrl:
values = await ctrl.read_values()
print(values)
await ctrl.set_setpoint("Nominal RPM", 1500)
await ctrl.set_setpoint("Summer Time Mode", "Winter") # STRING_LIST by label
See the API docs for full reference, built with Zensical. just docs-serve to browse locally.
Development
just format # ruff check --fix + ruff format
just typecheck # ty check
just unit # tests/unit (no hardware needed)
just integration # tests/integration (requires .env with PYCOMAP_TEST_HOST)
just docs-serve # browse API docs locally
just ai-docs # regenerate llms.txt and CLAUDE.md
pre-commit runs format + typecheck on every commit:
uv run pre-commit install
Project details
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 pycomap-2.1.1.tar.gz.
File metadata
- Download URL: pycomap-2.1.1.tar.gz
- Upload date:
- Size: 36.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a668359f6379a9f8dc7cbf62770a070933675b60f71d553d79f28bc2fb8ba01e
|
|
| MD5 |
d1a8ffac43c4ffd7589dd7fc610697ec
|
|
| BLAKE2b-256 |
ca40b52725dc038510ff5ad0fb3e99871a3513ee231aad63f1e06fd1d407c635
|
Provenance
The following attestation bundles were made for pycomap-2.1.1.tar.gz:
Publisher:
release.yml on igor-panteleev/pycomap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pycomap-2.1.1.tar.gz -
Subject digest:
a668359f6379a9f8dc7cbf62770a070933675b60f71d553d79f28bc2fb8ba01e - Sigstore transparency entry: 2169714146
- Sigstore integration time:
-
Permalink:
igor-panteleev/pycomap@a8fe367b7bb5dea6437aa33b96bd390623b0d786 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/igor-panteleev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a8fe367b7bb5dea6437aa33b96bd390623b0d786 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pycomap-2.1.1-py3-none-any.whl.
File metadata
- Download URL: pycomap-2.1.1-py3-none-any.whl
- Upload date:
- Size: 44.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
813c85c32bd7374a681f91315406d7ba460d4469cde44a27c35fb6b95b4ae92f
|
|
| MD5 |
9232bfc0fd30d7a838aa8a91a4839f66
|
|
| BLAKE2b-256 |
460cb1906a7f99e1cbbabb012193388ac22b99c8d2b0d35f506266ef3731177b
|
Provenance
The following attestation bundles were made for pycomap-2.1.1-py3-none-any.whl:
Publisher:
release.yml on igor-panteleev/pycomap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pycomap-2.1.1-py3-none-any.whl -
Subject digest:
813c85c32bd7374a681f91315406d7ba460d4469cde44a27c35fb6b95b4ae92f - Sigstore transparency entry: 2169714158
- Sigstore integration time:
-
Permalink:
igor-panteleev/pycomap@a8fe367b7bb5dea6437aa33b96bd390623b0d786 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/igor-panteleev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a8fe367b7bb5dea6437aa33b96bd390623b0d786 -
Trigger Event:
push
-
Statement type: