No project description provided
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
iprotopy-0.3.0.tar.gz
(11.2 kB
view details)
Built Distribution
iprotopy-0.3.0-py3-none-any.whl
(17.4 kB
view details)
File details
Details for the file iprotopy-0.3.0.tar.gz
.
File metadata
- Download URL: iprotopy-0.3.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 006db16dada95db965e845437b2001ea5ad28ea8fe94188819cab60838db1239 |
|
MD5 | 7fb5517ec46acb9ed27590ec626ef3ad |
|
BLAKE2b-256 | 1f6328a3b4185c1d0e263bb3fb9600a5464f2792c15fca13dbdc1d0247f40d88 |
File details
Details for the file iprotopy-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: iprotopy-0.3.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd7baa564e40ad583e10ab439f6eae631a3fa6f45390d1a1a6f4bce957d0cdd7 |
|
MD5 | aae97d9213ff9cd792708993072f4a36 |
|
BLAKE2b-256 | 89db896be7b15725e3ca63dbe6c8b254ec5ca6bad21b0f918749c70b16c47522 |