Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

mechbase

Official Python client for the Mechbase condition-monitoring API.

pip install mechbase
from mechbase import Mechbase

client = Mechbase(token="...")  # defaults to https://app.mechbase.io
# self-hosted: Mechbase(token="...", base_url="https://mechbase.internal.acme.com")

me = client.me()
inst = client.for_installation(me.current_installation_id)

assets = inst.assets.list(q="pump", limit=50)
inst.measurements.create(point_id=42, data={"rms": 2.3}, notes="manual reading")

For edge agents identified by a node_uuid rather than a bearer token, use MaintNode.

Full docs and the other language SDKs (Go, Swift, Kotlin) live in the mechbase-sdk repo.