Skip to main content

zalfmas-capnp-schemas

Containerized Cap'n Proto schema compiler with C++, C#, Go, Python, and capnp-offset support.

Build image

docker build -t capnp-gen .

Optional build arguments:

  • CAPNP_VERSION (default 1.5.0)
  • JOBS (parallel make jobs, default 6)
  • CAPNPC_GO_PKG (Go plugin module path)
  • CAPNPC_GO_VERSION (default v3.1.0-alpha.2)

Example:

docker build --build-arg CAPNP_VERSION=1.5.0 --build-arg JOBS=12 -t capnp-gen .

Basic usage

The image ENTRYPOINT is: python3 capnp_compile.py Default CMD: --lang c++ go csharp python capnp_offsets

docker run --rm -u $(id -u):$(id -g) \
  -v "$(pwd)":/workspace -w /workspace capnp-gen

Explicit (C++ + Go):

docker run --rm -u $(id -u):$(id -g) \
  -v "$(pwd)":/workspace -w /workspace capnp-gen --lang c++ go

Notes

  • Schemas must be available inside the mounted workspace (default: current directory).
  • Generated code is written relative to /workspace (your mounted directory).
  • capnpc-go is on PATH (installed in /usr/local/bin).
  • Go generation maintains a single module rooted at gen/go.
  • gen/go/go.mod is preserved by the generator, and go mod tidy runs automatically after Go regeneration to refresh go.sum.
  • Adjust UID/GID mapping with -u to avoid root-owned outputs.

Updating Go plugin only

Rebuild with a different CAPNPC_GO_VERSION:

docker build --build-arg CAPNPC_GO_VERSION=v3.0.0 -t capnp-gen .

Metadata

Release files for zalfmas-capnp-schemas 0.1.72

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

Source distribution (sdist)

Source distribution for zalfmas-capnp-schemas 0.1.72
File Size Uploaded Provenance Actions
zalfmas_capnp_schemas-0.1.72.tar.gz 1.7 MB With provenance Details for zalfmas_capnp_schemas-0.1.72.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zalfmas-capnp-schemas 0.1.72
File Interpreter ABI Platform Actions
zalfmas_capnp_schemas-0.1.72-py3-none-any.whl Python 3 none any Details for zalfmas_capnp_schemas-0.1.72-py3-none-any.whl

Total release size: 2.5 MB

Release files / zalfmas_capnp_schemas-0.1.72.tar.gz

Download URL zalfmas_capnp_schemas-0.1.72.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
38305b4d5ee3106b0d90031edb7c2e73f8aba2eafb0a27c95033e586738e486d
BLAKE2b-256 checksum
How to use checksums
9d21221b970dfec21247b232c4e721f96d74c16306280d1cabd02a27c2e26c73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / zalfmas_capnp_schemas-0.1.72-py3-none-any.whl

Download URL zalfmas_capnp_schemas-0.1.72-py3-none-any.whl
Size 787.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8475ff396f93d2da155d8f21b8f6a75d55d46b3d417edb1d15081f08035b5e42
BLAKE2b-256 checksum
How to use checksums
b3d7d5f4de6cb503be8159383289bd85714c6f20a300f97ab5d3d7c684268653
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Security for zalfmas-capnp-schemas 0.1.72

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for zalfmas_capnp_schemas-0.1.72.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.72 This release

2 release files Full provenance

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