Generated protobuf Python packages for Spounge AI ecosystem microservices
Project description
spounge-proto-py
Generated protobuf Python packages for Spounge AI ecosystem microservices.
About
This package contains auto-generated Python protobuf code from the canonical Spounge Protocol Buffer definitions. It powers data contracts and gRPC service interfaces throughout the Spounge AI ecosystem, designed primarily for large language model (LLM) workflows and microservices communication.
Installation
pip install spounge-proto-py
Optional Dependencies
For LangChain integration:
pip install spounge-proto-py[langchain]
For graph functionality:
pip install spounge-proto-py[graph]
For development:
pip install spounge-proto-py[dev]
Usage
After installation, import the generated protobuf modules:
from py.api.v2 import auth_gateway_service_pb2
from py.auth.v2 import auth_service_pb2
from py.common.v1 import common_pb2
# Create authentication request
auth_request = auth_service_pb2.LoginRequest(
email="user@example.com",
password="secure_password"
)
# Use with gRPC client
import grpc
from py.api.v2 import auth_gateway_service_pb2_grpc
channel = grpc.insecure_channel('localhost:8080')
client = auth_gateway_service_pb2_grpc.AuthGatewayServiceStub(channel)
Architecture
The protobuf definitions are organized by domain and version:
py.api.v*- Public API Gateway interfacespy.auth.v*- Authentication and authorization servicespy.common.v*- Shared definitions and typespy.workflow.v*- LLM workflow orchestrationpy.dashboard.v*- Analytics and reporting
Python Compatibility
| Python Version | Support Status |
|---|---|
| 3.9 | ✅ Fully Supported |
| 3.10 | ✅ Fully Supported |
| 3.11 | ✅ Fully Supported |
| 3.12 | ✅ Fully Supported |
| 3.13 | ✅ Fully Supported |
Development
This package contains auto-generated protobuf Python code. The source .proto files
are maintained in the spounge-proto repository.
Local Development
# Install with development dependencies
pip install -e .[dev]
# Run tests
pytest
# Format code
black .
isort .
# Type checking
mypy .
License
MIT License - see LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 spounge_proto_py-0.1.0.tar.gz.
File metadata
- Download URL: spounge_proto_py-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11601f3cbde397a9b67513e171d4d59baf14494c8bcc6b03d28c3381350a6f4d
|
|
| MD5 |
bd19cd91a0cab1f39549012861980023
|
|
| BLAKE2b-256 |
047f1411249df7c49bce136fa460cb70e4dee44b0ed8dbdb6c2360b84029e38b
|
File details
Details for the file spounge_proto_py-0.1.0-py3-none-any.whl.
File metadata
- Download URL: spounge_proto_py-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5da98a8aa6e758d1ff259c79005ba1c4a9a9c3f62c595afb3e6e5abc901569f6
|
|
| MD5 |
497d60e3da542a692700f5b101642d3e
|
|
| BLAKE2b-256 |
2bcf8a26df3f1461b58951ad3bf76c093043562b4604450659a749ec535811dc
|