This repository contains protocol buffers definitions for Qpoint products.
This repository uses Buf for linting and code generation. Autogenerated code is available in the gen directory.
proto/- Protobuf definitionsqpoint/type/- Common typeseventstore/v1/- Event store service v1 APIqscan/v1/- Qscan service v1 API
gen/- Autogenerated code
Go packages are available in gen/go/. Connect RPC service code is generated as well. To import the definitions in your project, run:
go get github.com/qpoint-io/proto
TypeScript modules are available in gen/ts/.
Python modules are available in gen/py/. To install in your project:
# Using uv
uv add git+https://github.com/qpoint-io/proto.git
# Or using pip
pip install git+https://github.com/qpoint-io/proto.gitThen import in your code:
from eventstore.v1 import main_pb2
from qpoint.type.v1 import connection_pb2, request_pb2Make your changes in the proto/ directory. To regenerate code after making changes:
makeThis will run code generation via Buf CLI in a Docker container with all the required dependencies.