iprotopy
iprotopy is a Python project designed to generate source files from Protocol Buffers (protos) using the PackageGenerator class.
import logging
from pathlib import Path
from iprotopy import PackageGenerator
logging.basicConfig(level=logging.DEBUG)
if __name__ == '__main__':
generator = PackageGenerator()
base_dir = Path().absolute().parent
generator.generate_sources(
proto_dir=base_dir / 'protos',
out_dir=base_dir / 'package',
)
Features
- Generates source files from Protocol Buffers.
- Packages the generated sources for easy usage.
pip install iprotopy
Development
Installation
Metadata
Release files for iprotopy 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iprotopy-0.3.0.tar.gz | 11.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iprotopy-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.6 kB
Release files / iprotopy-0.3.0.tar.gz
| Download URL | iprotopy-0.3.0.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
006db16dada95db965e845437b2001ea5ad28ea8fe94188819cab60838db1239
|
|
BLAKE2b-256 checksum How to use checksums |
1f6328a3b4185c1d0e263bb3fb9600a5464f2792c15fca13dbdc1d0247f40d88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.7 Linux/6.5.0-1025-azure
|
Release files / iprotopy-0.3.0-py3-none-any.whl
| Download URL | iprotopy-0.3.0-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd7baa564e40ad583e10ab439f6eae631a3fa6f45390d1a1a6f4bce957d0cdd7
|
|
BLAKE2b-256 checksum How to use checksums |
89db896be7b15725e3ca63dbe6c8b254ec5ca6bad21b0f918749c70b16c47522
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.7 Linux/6.5.0-1025-azure
|