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 hashes)
Built Distribution
iprotopy-0.3.0-py3-none-any.whl
(17.4 kB
view hashes)