Lantrane
A python library for interacting with Trane thermostats over the local network
Usage Example
Your thermostat for communicating, variable speed heat pump systems might have a port open that emits data every time the compressor speed changes if you can find the right port via nmap and telnet (usually port 30,000 or so), this example will listen on that port and give you data. The port may change when the device is updated though.
from lantrane import Trane
import asyncio
trane = Trane(args.ip, args.port)
def read(data):
print(data)
trane.on_data(read)
asyncio.run(trane.listen())
Distribution
python3 setup.py bdist_wheel
python3 setup.py sdist
twine check dist/*
twine upload dist/*
Metadata
Release files for lantrane 0.0.5
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 |
|---|---|---|---|---|
| lantrane-0.0.5.tar.gz | 15.7 kB | Without provenance | Details for lantrane-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lantrane-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for lantrane-0.0.5-py3-none-any.whl |
Total release size: 32.4 kB
Release files / lantrane-0.0.5.tar.gz
| Download URL | lantrane-0.0.5.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
703948b6f237d9f4ee97429d89879565bf61aa14055ec6c138d5992edc003ab6
|
|
BLAKE2b-256 checksum How to use checksums |
9344b637e0554a34ec494aaa79e74d3be2366bd6cbe2c40bb77aca63d54dc0b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.6 importlib-metadata/6.6.0 keyring/23.13.1 pkginfo/1.9.6 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.5 CPython/3.10.6
|
Release files / lantrane-0.0.5-py3-none-any.whl
| Download URL | lantrane-0.0.5-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3525c8454eae16d0ea65f74c75c321554c00d71e59cdd8c4034d39c6a9eb2e2
|
|
BLAKE2b-256 checksum How to use checksums |
b667a3d788a30bce9085876823aa0eca9b6eb1678dec3af65cc57a6f2e7f86ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.6 importlib-metadata/6.6.0 keyring/23.13.1 pkginfo/1.9.6 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.64.1 urllib3/1.26.5 CPython/3.10.6
|
Security for lantrane 0.0.5
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.