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.5.tar.gz
(36.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file metrana_protobuf-0.0.5.tar.gz.
File metadata
- Download URL: metrana_protobuf-0.0.5.tar.gz
- Upload date:
- Size: 36.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dcadf5d6f36fbc771fb290597219a6b3657feb71b95bb08c4e503eff7f6484e
|
|
| MD5 |
46dc635aee1d99b2b9cbaa6aa3964e2a
|
|
| BLAKE2b-256 |
3648516845f3bd8e622a7f3e12d03d702a6e1b048314c199ba4dc7856b350070
|
File details
Details for the file metrana_protobuf-0.0.5-py3-none-any.whl.
File metadata
- Download URL: metrana_protobuf-0.0.5-py3-none-any.whl
- Upload date:
- Size: 49.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39aed36d1cc89623f08483004cf49a6dc8559cbb0cc3a5a397adf6e8dba92dae
|
|
| MD5 |
76b6c64eea476352b242989284da34b9
|
|
| BLAKE2b-256 |
7eef8e0de3e086239be0b577d643e93968a154d787524d705753f14df01da38f
|