Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

protobufferize

A simple setuptools plugin to compile proto files at build time.

Installation

Install from PyPI: pip install protobufferize

Configuration

Available configuration parameters:

  • clearOutputDirectory [default: false]
  • outputDirectory [default: ./output]
  • protoSourceRoot [default: ./protos]

XML configuration example:

  <ProtobizeConfiguration>
    <clearOutputDirectory>false</clearOutputDirectory>
    <outputDirectory>test_data/output</outputDirectory>
    <protoSourceRoot>test_data/protos</protoSourceRoot>
  </ProtobizeConfiguration>

A xml configuration file named protobufferize.xml should be put in the python's project root folder. In alternative, the configuration file's path can be specified in the environment variable protobufferize_conf.

Usage

Compile every .proto file in protoSourceRoot subdirectories and output in the specified outputDirectory (outputDirectory gets emptied beforewards if clearOutputDirectory set to true).

python setup.py protobufferize

Metadata

Release files for protobufferize 1.0a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for protobufferize 1.0a0
File Size Uploaded
protobufferize-1.0a0.tar.gz 1.8 kB Details

Release files / protobufferize-1.0a0.tar.gz

Download URL protobufferize-1.0a0.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
303489a362a0a8d8a3a6b9fd861bd58a2102f3b3317a0fb20c0ac519f8659ffb
BLAKE2b-256 checksum
How to use checksums
6d3e9e77f49a8f8122bf04b123680faf837f58f5299dab4b82e0af2391141d95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page