func/docs
Luke Kingland 9f6a135702
Python Middleware v2 Scaffolding (#2685)
* refactor python http template

* python http scaffolding

* add python to make update-runtimes

* integrate python scaffolding with func run

* python http template

* reorganize python scaffolding

* cancellation stopgap

* documentation and logging cleanup

* Python Middleware v2 - Scaffolding

* base layer cache

* remove wsgi and flask templates

Inbuilt templates should be limited to a base http and cloudevent
integration, with anything beyond this falling to the officially
supported functions samples repository.

* update python cloudevents runtime in makefile

* python cloudevents middleware

* add python .venvs to gitignore

* clean up venvs on make

* add missing dependencies to python http tempklate

* set python cloudevents manifest

* further cleanup of repository impl

* cleanup

* ignore venv when building runtime container

* set listen address on python container

* remove unnecessary python runtime update from makefile

* remove debug statements and improved comments

* enable scaffolding python funcs in s2i builder

* set listen address on all containers built by s2i

* python s2i integration

* regen fs

* cleanup

* enable host builder

* fix manifest inheritance

* regen fs

* bug fixes

* regen docs

* cleanup and linter error fixes

* conditional python host builder test

* misspellings

* disable python E2E

Until the Python middleware is supported by the Pack builder, the E2E
tests will need to be disabled.

* install python for presubmit tests

* use linux for test builder runs

The target platform for a test needs to be a platform which is available
in all test base images.  That's usually linux.  Using current OS would
fail, for example, building python containers on MacOS because the
official Python base image has no darwin layer.

* fix ineffasign

* set python ce template to python 3.9

* regen fs

* windows python tests

* python templates README
2025-04-02 10:44:05 +00:00
..
building-functions doc: Go and Rust on cluster build is supported (#1923) 2023-08-12 14:10:41 +00:00
function-templates Fix linter issues (#2420) 2024-07-09 13:48:22 +00:00
generator feat: embed tkn tasks in func binary (#2396) 2024-06-26 17:48:06 +00:00
language-packs rename knative-sandbox (#1905) 2023-08-05 02:11:08 +00:00
reference Python Middleware v2 Scaffolding (#2685) 2025-04-02 10:44:05 +00:00
CONTRIBUTING.md Update CONTRIBUTING.md (#2755) 2025-03-20 11:45:16 +00:00
README.md documentation: remove old docs and restructure (#1430) 2022-11-16 05:52:36 +00:00
integrators_guide.md documentation: remove old docs and restructure (#1430) 2022-11-16 05:52:36 +00:00

README.md

Knative Functions

func is a Client Library and CLI for enabling the development of platform-agnostic functions.

Functions can be written in the following languages using built-in templates:

  • Go (Golang)
  • Node.js (JavaScript)
  • Quarkus (Java)
  • SpringBoot (Java)
  • Python
  • Rust

Functions can be deployed on the following platforms:

  • Kubernetes
  • OpenShift
  • Localhost

Function Installation, Development and Integration

Install the latest CLI Function Quickstart Function Developer's Guide Function Integrator's Guide.

Contributing

We are always looking for contributions to the project from the Function Developer community. For more information on how to participate, see the Contributing Guide