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.10.tar.gz
(44.4 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.10.tar.gz.
File metadata
- Download URL: metrana_protobuf-0.0.10.tar.gz
- Upload date:
- Size: 44.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27659fb4bd27a79c081e452b20cc9ba52acb43084a5f78e6c3f0b1eda959addb
|
|
| MD5 |
c9591b8d4575ce36c4d7bcb024955368
|
|
| BLAKE2b-256 |
33ae9f9931c0297e6da1a6a069bfba9a7ac5196ca97807e4467434135f23578a
|
File details
Details for the file metrana_protobuf-0.0.10-py3-none-any.whl.
File metadata
- Download URL: metrana_protobuf-0.0.10-py3-none-any.whl
- Upload date:
- Size: 66.4 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 |
d3dcec012f73115919b1197f1b464a20b0d9e14713c77c02482e18549bc1ec5c
|
|
| MD5 |
c03355d91f536d2b0bac19a612974c92
|
|
| BLAKE2b-256 |
0f1e08a4b9bfa095be14483b194e5e7dd9159fee540438a1ce978b87495cea26
|