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.3.tar.gz (33.5 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.3-py3-none-any.whl (46.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metrana_protobuf-0.0.3.tar.gz
  • Upload date:
  • Size: 33.5 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.3.tar.gz
Algorithm Hash digest
SHA256 61333da90c37f14e1cc7000a0490c0172e472ad5c7c6d0165031b66a5463c49d
MD5 05adc957707166841a97442b079e4abd
BLAKE2b-256 67b927516cc6420dac8e2bd840a686fe8a599cbc53c6a17bbdb3416654a7e0fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for metrana_protobuf-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 81bcf6b8389be94b9e45df13a01d446e6535f56663fc388d5eabaddda3790990
MD5 30cf2a058fbf4c813ecdfb7b3949c7d3
BLAKE2b-256 9ec1e7936aa256dbffbfdba47bbc44d0ee75cad8b50301b9cd821b32883308fa

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