Show HN: Pyhoff – Connect Python ML Models to Beckhoff/WAGO IO Hardware

Show HN (score: 6)
Found: July 09, 2025
ID: 212

Description

API/SDK
Show HN: Pyhoff – Connect Python ML Models to Beckhoff/WAGO IO Hardware Built this Python package because I wanted to run hardware controlling ML stuff and other control algorithms directly connected to industrial I/O hardware without jumping into annoying PLC toolchains (Windows only, licensing hassle, no editor choice, proprietary version control - you name it). For sure its not for ms‑cycle loops, or uptime critical production stuff, but in applications with relaxed timing it allows for fast iteration on the setup - making prototyping a pleasure. Its easy to use, has no dependencies beside Python, its fully type annotated and MIT licensed. Internal it uses ModBus/TCP for hardware communication, the implementation is exposed, so it co-serves as ModBus/TCP client library.

I'd love to hear your use cases, feature ideas and PLC toolchain stories ;)

Docs: https://nonannet.github.io/pyhoff

More from Show

Show HN: Aurora – AI Gateway built in Go

Show HN: Aurora – AI Gateway built in Go Every Ai project needs the same infra - API keys, providers SDKs, retry logic, cost tracking. it should be infra layer. Aurora is a Go gateway that handles that layer, ~15MB binary, no dependencies. It proxies requests to OpenaAI, Anthropic, Gemini etc, and can convert between formats - use the OpenAi SDK and Aurora translates to Anthropic&#x27;s wire format automatically. No format conversion code in backend.<p>It helps: - track costs per customer&#x2F;team - switch models and providers without changing code - debug requests and responses flows more easily - reduce costs with exact and semantic caching<p>How its different than other gateways: - auto-discovers providers models - provider pools with automatic failover switch - built in guardials, audit logging with export, analytics, admin dashboard - model aliases, regional deployment to reduce latency. - can be used in infra directly and admin endpoints let control everything, creating managed api keys on user onboard and more.<p>The oss version (Apache 2.0) includes everyhting. Enterprise adds SSO, RBAC, and tenant isolation.<p>npm install -g iaurora<p>website: <a href="https:&#x2F;&#x2F;aurorallm.online" rel="nofollow">https:&#x2F;&#x2F;aurorallm.online</a><p>feedbacks are welcome!

No other tools from this source yet.