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.4.tar.gz
(35.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.4.tar.gz.
File metadata
- Download URL: metrana_protobuf-0.0.4.tar.gz
- Upload date:
- Size: 35.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 |
897430568c14d0d0ef3063fc8cbf81aa860e8fb2eadb2fa6f6f63b2bc2f833d2
|
|
| MD5 |
5c3a8d5871786f3b4195b53ea6ca905d
|
|
| BLAKE2b-256 |
1effc86468d53a499218766e10c0cd97cdbe65fe7fdb990c192989fb57a6cd38
|
File details
Details for the file metrana_protobuf-0.0.4-py3-none-any.whl.
File metadata
- Download URL: metrana_protobuf-0.0.4-py3-none-any.whl
- Upload date:
- Size: 48.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 |
a01fb3f31c73dbefcc68525e88716247d69272d8c923c4ca4eb0a134c45547e7
|
|
| MD5 |
238c52d44040c4d214631403bb856b0c
|
|
| BLAKE2b-256 |
c3f674e0fb2c87a8d88bfdae823e113602e5370c4fb76071c27aeb83a5d27c8f
|