Protoc wrapper for compilation into any language
Project description
All-in-one Protocol Buffers compilation tool
Supported languages:
Python, JavaScript, C++, Rust, Java, Go, ObjectiveC, PHP, Ruby, C#
TODO:
Kotlin, Haskell, Perl, Lua, Swift etc.
Supported OS:
Ubuntu 22.04
Supported architectures:
x86_64
Getting started
- Build prepared docker image
alias DOCKER_RUN='docker run --rm -v [output dir]:/data/output -v [output doc dir]:/data/doc -v [input protos dir]:/data/protos protoc-polyglot-x64:1.54.3'DOCKER_RUN [command]
List of commands:
- List available languages and services:
cli.py list - Compile a service:
[language]/cli.py protoc [name] - Compile all services:
[language]/cli.py protoc
Examples:
alias DOCKER_RUN='docker run --rm -v $(pwd)/output:/data/output -v $(pwd)/doc:/data/doc -v $(pwd)/samples:/data/protos -v $(pwd)/tests:/data/tests protoc-polyglot-x64:1.54.3'
DOCKER_RUN cli.py listDOCKER_RUN python/cli.py protoc bookclubDOCKER_RUN js/cli.py protocDOCKER_RUN cli.py doc
Contribution
We love that you are interested in helping us with the development of the protoc-polyglot project. To make the process of contributing as simple as possible we have created a couple of guidelines on how to contribute.
Issue tracking and solving
We track every issue in YouTrack. Before solving any bug, make sure it's reported in YouTrack and not already solved.
Make sure to solve only one issue at a time.
Fork & Pull Request
- Create a fork of this repository
- Clone your fork to your computer
- Create a new branch in the forked repository from the base branch
devwith a meaningful name - Solve the issue
- Push your changes to the Fork repository.
- Create a Pull Request from your branch to the
devbranch ( GitHub documentation about Pull Requests: https://help.github.com/articles/using-pull-requests)
The Pull Request should have a meaningful title, information about the changes you have made, and a link to the issue in YouTrack.
Do not add unnecessary files, and make sure not to push any sensitive personal information.
Protoc-polyglot team - protoc-polyglot@proton.me
protoc-polyglot python protoc
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file protoc_polyglot-0.0.1.post58.tar.gz.
File metadata
- Download URL: protoc_polyglot-0.0.1.post58.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfc5652ef0aa78fa8be630643fe974512b7a8ac9488bf8d6b5f4346548c952e1
|
|
| MD5 |
ff7b2903113ea6a146aa88d2cda3635b
|
|
| BLAKE2b-256 |
4a4be7eaee18860e06dda0a83f324923f73ff6c34125589ba2d2510746655c8f
|
File details
Details for the file protoc_polyglot-0.0.1.post58-py3-none-any.whl.
File metadata
- Download URL: protoc_polyglot-0.0.1.post58-py3-none-any.whl
- Upload date:
- Size: 12.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7438f1e9558b722f892f2f6835bc4a6036f8427737570ffe37031bb13e4bae9
|
|
| MD5 |
437896c5b45b473b052dd825d9ed11eb
|
|
| BLAKE2b-256 |
9fd3a36098f1067e653488d5d06d6fa21ee2ce00bf4d7e13e4b64d85d2b29933
|