Metadata-Version: 2.5
Name: funcd-shim
Version: 0.2.0
Summary: The funcd Python runtime shim, the types handlers are written against, and the contract build
Project-URL: Homepage, https://github.com/pyvvo/funcd-python
Project-URL: Repository, https://github.com/pyvvo/funcd-python
Author: The funcd Authors
License-Expression: Apache-2.0
Requires-Python: >=3.12
Requires-Dist: fastjsonschema>=2.21.2
Provides-Extra: build
Requires-Dist: pydantic>=2.13.4; extra == 'build'
Description-Content-Type: text/markdown

# funcd-shim

The Python side of [funcd](https://github.com/pyvvo/funcd): the runtime shim that loads a
function's handler inside a funcd worker, the types handlers are written against, and the
contract build.

```bash
pip install "funcd-shim[build]"
```

- `from funcd_shim import CloudEvent, FunctionContext` types a handler.
- `from funcd_shim.build import build` bakes its input and output contract. It needs the `build`
  extra.
