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).
  • from funcd_shim.build import build bakes its input and output contract. It needs the build extra.

Metadata

Release files for funcd-shim 0.16.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.16.0
File Size Uploaded Provenance
funcd_shim-0.16.0.tar.gz 114.3 kB With provenance Details

Built distribution (wheel)

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

Total release size: 170.2 kB

Release files / funcd_shim-0.16.0.tar.gz

Download URL funcd_shim-0.16.0.tar.gz
Size 114.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8878be48b39e030ad488729e53bcc774276ac2dfbf346ae5ec65f6d5c613d63d
BLAKE2b-256 checksum
How to use checksums
89ac5d93af55ccf79483d4db1eac0f7d54dfaaa992e55a6a33a359e638c7a597
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 Oct 22, 2026.

Transparency log

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

Download URL funcd_shim-0.16.0-py3-none-any.whl
Size 55.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b2651700f75f007cb4ba9c31ff1c8c7225f401b851dd676f531756a2ebed458
BLAKE2b-256 checksum
How to use checksums
82c6e65c7f956c7d51b1a90fa3971986ff03e83685f638a5f3bcd36f21e0b29e
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 Oct 22, 2026.

Transparency log

Security for funcd-shim 0.16.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for funcd_shim-0.16.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 Oct 22, 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.

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