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.12.tar.gz (45.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.12-py3-none-any.whl (67.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for metrana_protobuf-0.0.12.tar.gz
Algorithm Hash digest
SHA256 1a00edfc07a907d314ca7b5e1f593dccdf2f5ffb80c0a96cfd423ea8bcce5ba4
MD5 ae57b8f6e07fae3b8c326fcd80da27e1
BLAKE2b-256 5354f45d8d1a80e5c4917ebc14645ef6a9ac8b7a52d62d23ed3be76b07e9aba4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for metrana_protobuf-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 fef83b8cab204bee3b474d322848d4fc1fba4745cf4c296ba629ab7528992536
MD5 257858f29d6cb50b4ba4294e05f5ca3d
BLAKE2b-256 e7419635154218f51bd76e490dccac06a706aa7d320f39942be3e527faa77d13

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