gr8gen: protobuf generator for gr8pc
Project description
gr8gen: protobuf generator for gr8pc
This tool is a direct adaptation of py-grpcio, featuring a few modifications and tailored customizations. Depending on your needs, you may find the original repository better suited to your requirements and preferred practices.
Background and Motivation
As noted before, gr8pc is an adaptation of the py-grpcio library, with a few key modifications:
- Python 3.11 Compatibility: This library is compatible with Python 3.11 (the original library demands >=3.12).
- Separation between Logic and Protobuf file Generation:
gr8pcsplits into two subprojects: one for the core server and client logic, and another (optional) CLI tool for.protofile generation. This design decision was made to make the dependency onjinjanot necessary for the core library. In other words, the core library won't generate.protofiles during runtime and will raise an error if it can't find them. The.protofile must be generated at development time using the CLI tool.
Installation
pip install gr8pc
To install the optional CLI:
pip install gr8gen
Usage
For usage documentation, please refer to the original py-grpcio repository.
Proto Generation Tool
The gr8gen tool generates the necessary .proto file. Usage:
gr8gen --output /path/to/proto/folder --service path.to.service.Service path.to.another.service.AnotherService
Acknowledgments
This library is derived directly from the py-grpcio package, maintaining much of the original
structure and functionality.
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 gr8gen-0.1.2.tar.gz.
File metadata
- Download URL: gr8gen-0.1.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba9f45ca19becd572fa11aa18835b1bd231562d3c8868e056e58ed9a0a2da69a
|
|
| MD5 |
e03b9ef640ec77e3072feda1f434aba0
|
|
| BLAKE2b-256 |
6864d18198edd2d0a2af88687e55360221dc4769e5b622b1eb957f9b808dc024
|
File details
Details for the file gr8gen-0.1.2-py3-none-any.whl.
File metadata
- Download URL: gr8gen-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62d847f92ad5c474e25bf1d47f196936c22cd652ade00bc89816c6e9b243fc55
|
|
| MD5 |
1223e88fed62a9afac04a2a6a2ba1c48
|
|
| BLAKE2b-256 |
08f1753da7264f3ad36af1404b50febf4106159abe3efc08500f776a24f563f9
|