Skip to main content

funcd-shim

The Python side of funcd: the runtime shim that loads a function's handler inside a funcd worker, the types handlers are written against, and the contract build.

pip install "funcd-shim[build]"
  • from funcd_shim import CloudEvent, FunctionContext types a handler.
  • context.remaining_ms() is the time left before the call's deadline. A second after it the call is stopped: a synchronous handler gets funcd_shim.DeadlineExceeded, and an async handler's task is cancelled (funcd ADR-0226).
  • context.principal is who signed in to the call, when funcd's edge signed a user in with an OpenID Connect provider, or None (funcd ADR-0335).
  • from funcd_shim.build import build builds its input and output contract. It needs the build extra.

Metadata

Release files for funcd-shim 0.31.0

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

Source distribution (sdist)

Source distribution for funcd-shim 0.31.0
File Size Uploaded Provenance Actions
funcd_shim-0.31.0.tar.gz 134.1 kB With provenance Details for funcd_shim-0.31.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for funcd-shim 0.31.0
File Interpreter ABI Platform Actions
funcd_shim-0.31.0-py3-none-any.whl Python 3 none any Details for funcd_shim-0.31.0-py3-none-any.whl

Total release size: 197.4 kB

Release files / funcd_shim-0.31.0.tar.gz

Download URL funcd_shim-0.31.0.tar.gz
Size 134.1 kB
Tags Source
SHA-256 checksum
How to use checksums
997a312e964186d5fe46c0c6354e7d5b3d413b3d3e913d587830c82307309e76
BLAKE2b-256 checksum
How to use checksums
cb2d45ceb48a4792873e014c3189498df0a1636bbb8c0d8f2dfbf28c495bd86f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 24, 2026.

Transparency log

Release files / funcd_shim-0.31.0-py3-none-any.whl

Download URL funcd_shim-0.31.0-py3-none-any.whl
Size 63.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
489651a6ea4c91b86f9b7e57d30f0e73c2f8cf317e21ee09e58b7c9db2d95cad
BLAKE2b-256 checksum
How to use checksums
9c77d368ecefbbaf6882a7d855b36221c1c1ea7e62d464bfa424fe598051497b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 24, 2026.

Transparency log

Security for funcd-shim 0.31.0

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 funcd_shim-0.31.0.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 Nov 24, 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.31.0 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