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.2.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.2.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.modis preserved by the generator, andgo mod tidyruns automatically after Go regeneration to refreshgo.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.71
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zalfmas_capnp_schemas-0.1.71.tar.gz | 1.7 MB | With provenance | Details for zalfmas_capnp_schemas-0.1.71.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zalfmas_capnp_schemas-0.1.71-py3-none-any.whl | Python 3 | none | any | Details for zalfmas_capnp_schemas-0.1.71-py3-none-any.whl |
Total release size: 2.5 MB
Release files / zalfmas_capnp_schemas-0.1.71.tar.gz
| Download URL | zalfmas_capnp_schemas-0.1.71.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14b74a3d1420efa7bf05a18deb15b924aea434ec1f4d7d6bd9dfb03e6ca363ed
|
|
BLAKE2b-256 checksum How to use checksums |
b53a491f4af276ab2a8d052c2e94d96e2b3ce818d68f169a19e6b0a3838f3a57
|
| 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 logRelease files / zalfmas_capnp_schemas-0.1.71-py3-none-any.whl
| Download URL | zalfmas_capnp_schemas-0.1.71-py3-none-any.whl |
|---|---|
| Size | 787.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf6388dc7c600abbd80a845a2d336d917ef282af83ca5671fb4bcb2a1033c05c
|
|
BLAKE2b-256 checksum How to use checksums |
35a7b660bea9dc739bd7661030272becaa0e95a7e44f9eab843c9a8b70ca036f
|
| 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 logSecurity for zalfmas-capnp-schemas 0.1.71
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.
Attestation for zalfmas_capnp_schemas-0.1.71.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 logA 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.