Skip to main content

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().parent.absolute() / 'usage'

    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.2.0.tar.gz (11.2 kB view hashes)

Uploaded Source

Built Distribution

iprotopy-0.2.0-py3-none-any.whl (17.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page