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.
Release files for gr8gen 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gr8gen-0.1.2.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gr8gen-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.7 kB
Release files / gr8gen-0.1.2.tar.gz
| Download URL | gr8gen-0.1.2.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba9f45ca19becd572fa11aa18835b1bd231562d3c8868e056e58ed9a0a2da69a
|
|
BLAKE2b-256 checksum How to use checksums |
6864d18198edd2d0a2af88687e55360221dc4769e5b622b1eb957f9b808dc024
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.7
|
Release files / gr8gen-0.1.2-py3-none-any.whl
| Download URL | gr8gen-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62d847f92ad5c474e25bf1d47f196936c22cd652ade00bc89816c6e9b243fc55
|
|
BLAKE2b-256 checksum How to use checksums |
08f1753da7264f3ad36af1404b50febf4106159abe3efc08500f776a24f563f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.7
|