Skip to main content

Official Python client for the Mechbase condition-monitoring API

Project description

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.

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

mechbase-0.2.2.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mechbase-0.2.2-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file mechbase-0.2.2.tar.gz.

File metadata

  • Download URL: mechbase-0.2.2.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mechbase-0.2.2.tar.gz
Algorithm Hash digest
SHA256 530d88481d6efbb8b8a42c1e3155501119c0f518a4845c27262a75f5120142db
MD5 3c6580d7e7e2017d8aa59510839a30e2
BLAKE2b-256 3f8f085b240cc3f30826b6bb03dccccd7e184a445b4023bc850687d76c5a79cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for mechbase-0.2.2.tar.gz:

Publisher: publish-python.yml on arpedon/mechbase-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mechbase-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: mechbase-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mechbase-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b6dcea4b4dcc372a81bdaac3bb92d7d6eaef8438cd956df30b1711f824f8676c
MD5 b4acecfe106b440ce04fc6a0ccedeb5f
BLAKE2b-256 a984e6a9329b89e33683ed72770beed95216931301addf34285d02adc5ba3742

See more details on using hashes here.

Provenance

The following attestation bundles were made for mechbase-0.2.2-py3-none-any.whl:

Publisher: publish-python.yml on arpedon/mechbase-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page