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.ingestion.v1 import types, svc

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

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

Included Schemas

  • ingestion.v1.types - Common types, run definitions, scale descriptors, and update messages
  • ingestion.v1.svc - gRPC/REST service definitions for the Ingest 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.1.tar.gz (13.1 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.1-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metrana_protobuf-0.0.1.tar.gz
  • Upload date:
  • Size: 13.1 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.1.tar.gz
Algorithm Hash digest
SHA256 96cae158955f9c5aded6e7540eceba78b665570d1a3971d6c56d0d2213dc15c1
MD5 0e8d3194c76477c831e76ac995af208e
BLAKE2b-256 c5422b990557c32be5e864b628bc580fa88d4aed58a6d805316f10b194f10197

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for metrana_protobuf-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b042938fb085f41ff82c96f821f2318e60995a8346b87aa6453ab91122a70a42
MD5 293f18054f254cc4aa994a364cd63097
BLAKE2b-256 9ea8a172aa969511b91547056d3dec654a1ed7826b67461d946d3fb69eac0d93

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