Timberborn HTTP API Wrapper
A Python library for interacting with the Timberborn HTTP automation API. Supports both direct API control and webhook-based event handling.
Features
- Get the state of levers and adapters from Timberborn
- Change lever states
- Receive webhook events and trigger actions
- Find timberborn instances via zeroconf/mDNS
Installation
pip install timberborn-http
pypi.org/project/timberborn-http
Quickstart
Direct API Control
from timberborn_http import TimberbornAPI
api = TimberbornAPI("http://localhost:8080")
# Get all levers
for lever in api.get_levers():
print(f"Lever {lever.name} is currently {lever.state}")
# Control a lever
api.switch_on("HTTP Lever 1")
api.set_color("HTTP Lever 1", "ff0000")
Webhook Events
import time
from timberborn_http import TimberbornWebhookServer
server = TimberbornWebhookServer(port=8081)
@server.on_event("HTTP Lever 1")
def handle_on(name):
print(f"{name} turned ON!")
while True:
time.sleep(1)
Discover instances
from timberborn_http import TimberbornAPI
instances = TimberbornAPI.discover(timeout=3.0)
api = instances[0]
More examples & details in the examples folder
Getting Help
- GitHub Issues
- Discord in
#⏱️automationor#🤖mod-creators
Release files for timberborn-http 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| timberborn_http-0.0.6.tar.gz | 18.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| timberborn_http-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.4 kB
Release files / timberborn_http-0.0.6.tar.gz
| Download URL | timberborn_http-0.0.6.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad7ef0b990d24dee6628f7541191be6cffcdb3c5ccb46c3531f7c7b1f923d511
|
|
BLAKE2b-256 checksum How to use checksums |
71c939c81b38ccfd36ba35c5a0097ebef76fd539907b60a3d8560a41b889fc44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 15, 2026.
Transparency logRelease files / timberborn_http-0.0.6-py3-none-any.whl
| Download URL | timberborn_http-0.0.6-py3-none-any.whl |
|---|---|
| Size | 18.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79ea78bee6cd49e52cb7731251429f10817f2ce2fed0157237951d8aa788d9bf
|
|
BLAKE2b-256 checksum How to use checksums |
47d2ecac019d001cd25e3ec7089f3da0d04cc93bf7e10b52f6e041509333b078
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 15, 2026.
Transparency log