Skip to main content

Generate mediasoup producer code (pymediasoup) from proto4webrtc-annotated protofiles

Project description

proto4webrtc-codegen

Generates typed mediasoup producer code (pymediasoup) from protobuf messages annotated with proto4webrtc options. The generated code runs on the proto4webrtc pip package (the runtime), which this distribution deliberately does not depend on — generate at build time, ship only the runtime:

pip install proto4webrtc[compiler]   # runtime + this generator
python -m proto4webrtc_codegen --proto path/to/protos --out out/

Writes proto4webrtc_gen/producers.py under --out (plus an __init__.py re-export). proto4webrtc/options.proto is bundled, so your proto root only needs to import it.

Also installs the raw protoc plugin protoc-gen-proto4webrtc_python (--proto4webrtc_python_out).

Full docs: https://github.com/Emil1483/proto4webrtc

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

proto4webrtc_codegen-1.2.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

proto4webrtc_codegen-1.2.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file proto4webrtc_codegen-1.2.0.tar.gz.

File metadata

  • Download URL: proto4webrtc_codegen-1.2.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.10.12 Linux/6.1.0-50-amd64

File hashes

Hashes for proto4webrtc_codegen-1.2.0.tar.gz
Algorithm Hash digest
SHA256 a889dd66cc2d4dd9820271aa8d9b28ed24d28d39347b05d59a749268a707fcd0
MD5 b6aaa85f9cac176a3fb31bb63cc5cbc0
BLAKE2b-256 764eb7be630742771e43d24dcf5afc69432628d32e60cd6817afba2b9a5f188f

See more details on using hashes here.

File details

Details for the file proto4webrtc_codegen-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: proto4webrtc_codegen-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.10.12 Linux/6.1.0-50-amd64

File hashes

Hashes for proto4webrtc_codegen-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbbffc0a8be43c89258b7fcf78482632e288de6504a40c1b7d93e38f33560b38
MD5 9b79f3d598435b23947e75d3a463cac2
BLAKE2b-256 c4fc0c0e5e9eaf709b1442ea1a82d52e47fbdc97d7ba5d62af5c6dac9bf5dcd2

See more details on using hashes here.

Supported by

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