Skip to main content

Metrana protobuf models for Python

Project description

Metrana Protobuf Models for Python

This package provides Python bindings for Metrana's protobuf schemas, enabling type-safe communication with Metrana services via gRPC and REST.

Installation

pip install metrana-proto-python

Usage

from metrana_protobuf.common.v1 import attributes_pb2
from metrana_protobuf.ingestion.v1 import svc

# Create protobuf messages
string_set = attributes_pb2.StringSet(values=["tag1", "tag2", "tag3"])

# Use gRPC service stubs
# stub = svc.IngestServiceStub(channel)
# response = stub.CreateRun(request)

Included Schemas

  • common.v1 - Common types for series and attributes
  • ingestion.v1.types - Common types for ingestion (run definitions, and update messages)
  • ingestion.v1.svc - gRPC/REST service definitions for the Ingest API
  • management.v1.types - Common types for management (series processing descriptor)
  • query.v1.svc - gRPC/REST service definitions for the Query API

Requirements

  • Python 3.10+
  • protobuf >= 4.25.0
  • grpcio >= 1.60.0

License

Apache-2.0

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

metrana_protobuf-0.0.2.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

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

metrana_protobuf-0.0.2-py3-none-any.whl (41.0 kB view details)

Uploaded Python 3

File details

Details for the file metrana_protobuf-0.0.2.tar.gz.

File metadata

  • Download URL: metrana_protobuf-0.0.2.tar.gz
  • Upload date:
  • Size: 29.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for metrana_protobuf-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d7c98161b24569f1b982d6d54b74949120eecc3ce7c91b90a9ace9723800397c
MD5 c84e16a4a2b47bde1c2cb696cd55c6a7
BLAKE2b-256 3eeb3e49edba9631364a0692100e741766c9cd12cbb0c4896348488de18fb2c7

See more details on using hashes here.

File details

Details for the file metrana_protobuf-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for metrana_protobuf-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8448d0e54bf493fca94e10048cecd00657609d6775f9de8c5a8b9317f9239c4f
MD5 453956910a1618833822e37ffa5cc431
BLAKE2b-256 ae43d22baea89a881fc78ce894ac890184901060c9cae1236d225fa19cb586e3

See more details on using hashes here.

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