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.0.tar.gz (22.6 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.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mechbase-0.2.0.tar.gz
  • Upload date:
  • Size: 22.6 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.0.tar.gz
Algorithm Hash digest
SHA256 966fb529a6b74308aab3bb9d3f280283dd76bf6356dbaab251b6768a2b1447da
MD5 93e932361e2d285ff6433f4a5a65f347
BLAKE2b-256 543627eb6aa64c19098043eae6d8515983e13e2af552d74c225ab3281f013d68

See more details on using hashes here.

Provenance

The following attestation bundles were made for mechbase-0.2.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: mechbase-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 109bce1ec4f4668e4e50475db602a7b7d8aeeb34b85112f935f9097803e9e2c9
MD5 4e6bcee0c3becdffd26d5c0870ce7fe7
BLAKE2b-256 e8a9e110680a93382e9c06c8fcdb75522600454569b52315ce3ca2b60980cb36

See more details on using hashes here.

Provenance

The following attestation bundles were made for mechbase-0.2.0-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