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
Metadata
Release files for metrana-protobuf 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| metrana_protobuf-0.1.5.tar.gz | 58.6 kB | Without provenance | Details for metrana_protobuf-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| metrana_protobuf-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for metrana_protobuf-0.1.5-py3-none-any.whl |
Total release size: 134.9 kB
Release files / metrana_protobuf-0.1.5.tar.gz
| Download URL | metrana_protobuf-0.1.5.tar.gz |
|---|---|
| Size | 58.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66efb716e0c714c2db4abd8060847e7ce0462d21a365208ec5bf9c756a549ee9
|
|
BLAKE2b-256 checksum How to use checksums |
50a611ba9be123956cb3b4ab5b7941e739ebc55d93c1cfdb9a2df647d5ce66a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / metrana_protobuf-0.1.5-py3-none-any.whl
| Download URL | metrana_protobuf-0.1.5-py3-none-any.whl |
|---|---|
| Size | 76.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9bae71845a3071e8fbc0701e123f2a5904fc622eb0520adcdd867cfd69abeda
|
|
BLAKE2b-256 checksum How to use checksums |
20d8659b2ae99c11233e9327631b371ad4725e035e6e5cbc5855478bd93202c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Security for metrana-protobuf 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.