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.3.1.tar.gz (15.2 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.3.1-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: proto4webrtc_codegen-1.3.1.tar.gz
  • Upload date:
  • Size: 15.2 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.3.1.tar.gz
Algorithm Hash digest
SHA256 d54531f44b2b287d665fc37b9569243bb2d30b7fa87bdd4b3c345df38032381f
MD5 376b0e9b933a53917ac0afa3f21c2fbe
BLAKE2b-256 cbf48978d29a422a06d876945d5a38cf00065230fa5eae3e8dac6861de8ff52c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: proto4webrtc_codegen-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 17.6 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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cccd7b88484ac443d0d4a813572e82724d28eeffe51ddcccbbd630066f3ff41e
MD5 516e1fb41c2534c6cc1c9c19b330fbb6
BLAKE2b-256 cbe97c0ddee4b7f00bbcdbd9f665ac1c357c6577ab3c4d3a30fd6eea41b4c873

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