Skip to content

[LFX-22-summer] Support and update functions-framework-python #18

Open

Description

@FeynmanZhou

Project Introduction

Support and update the Python Function Framework for OpenFunction.

Project Goals

Update the Python Function Framework to align with the latest version of OpenFunction, allowing developers to write lightweight Python functions and easily run functions in Kubernetes.

Requirements

  • Python
  • Kubernetes
  • OpenFunction
  • CloudEvent (optional)
  • Cloud Native Buildpacks (optional)
  • Dapr, Knative (optional)

Background Knowledge

OpenFunction is a cloud-native open source FaaS (Function as a Service) platform aiming to let you focus on your business logic without having to maintain the underlying runtime environment and infrastructure. You only need to submit business-related source code in the form of functions.

Project Details

OpenFunction 0.6.0 brings notable features including function plugin, distributed tracing for functions, control autoscaling behavior, HTTP trigger to async function, etc. Meanwhile, the asynchronous runtime definition has also been refactored. The core API has been upgraded from v1alpha1 to v1beta1.

So far, the Go Function Framework fully supports the latest features of OpenFunction 0.6.0. We hope the Python Function Framework could also be applicable in OpenFunction 0.6.0.

Project Scope

You can get familiar with the Go Function Framework first, then update the Python Function Framework and add function plugins and observability support to the Python function framework. Make it aligns with the OpenFunction 0.6.0.

Project Outputs

Potential outputs may include but are not limited to the following items:

  • Adding function plugins and observability support for Python Function Framework
  • Write test cases, sample functions, and instructions for Python Function Framework
  • Write documentation and quick start guides for Python Function Framework

Useful Links

Quick Start

You can start by installing OpenFunction and then [creating a simple function](https://github.com/OpenFunction/ OpenFunction#quickstart). You can refer to Go Function Framework to learn the current features and then update the Python function framework.

Mentors/Contacts

Activity

  1. iharshit009 commented on May 11, 2022

    @iharshit009

    Is it possible to work on this simultaneously with @rajibmitra? @FeynmanZhou

  2. Aarush-Goyal commented on May 15, 2022

    @Aarush-Goyal

    Hey @FeynmanZhou
    I would also like to contribute to the project I have also applied for mentorship through LFX.

    I see @rajibmitra is assigned for this issue.
    I would love to know about some other beginner friendly issue that I can contribute to.
    If @rajibmitra would like to collaborate on the issue with me that will also be great.

  3. FeynmanZhou commented on May 23, 2022

    @FeynmanZhou
    MemberAuthor

    Hi @rajibmitra @Aarush-Goyal @iharshit009 ,

    I apologize that the LFX mentoring project should be applied via the LFX platform instead of the GitHub issue. Every mentee needs to submit the required materials and the candidate mentee will be voted by three mentors. Sorry for misunderstanding the process. You are welcome to submit your application and resume in the LFX platform. In this process, it will be much fairer for each mentee.

    If you have any questions, feel free to ask us on the Slack channel.

  4. PromiseFru commented on May 30, 2022

    @PromiseFru

    Hello @FeynmanZhou

    Please I've been trying join the slack channel for a while and it won't let me in. It seems i need to sent an invite first

  5. Aarush-Goyal commented on May 30, 2022

    @Aarush-Goyal
  6. PromiseFru commented on May 30, 2022

    @PromiseFru

    @PromiseFru Here is the joining link buddy https://communityinviter.com/apps/cloud-native/cncf

    Thank you. I got in 😃

  7. PromiseFru commented on May 30, 2022

    @PromiseFru

    @Aarush-Goyal Please i don't if this is the best place to ask but I'm facing troubles creating a sample function for python from https://github.com/OpenFunction/OpenFunction#-quickstart
    Please any pointers? 🙏🏾

  8. Aarush-Goyal commented on May 30, 2022

    @Aarush-Goyal

    @PromiseFru I guess @benjaminhuo would be able to help you in this.

  9. benjaminhuo commented on May 30, 2022

    @benjaminhuo
    Member
  10. moved this to In Progress in Roadmapon Jun 13, 2022
  11. GlobeFishNG commented on Jan 6, 2023

    @GlobeFishNG

    Hi guys, is there any update for this requirement? Our team are expecting python framework for quite a long time. Thank you in advance. @webup @kehuili @Aarush-Goyal

  12. benjaminhuo commented on Jan 9, 2023

    @benjaminhuo
    Member

    @GlobeFishNG, @kehuili is still working on the python functions-framework

  13. benjaminhuo commented on Jan 27, 2023

    @benjaminhuo
    Member

    @rajibmitra you're welcome to work on this!
    Some useful stuff for develop python functions-framework:
    #21
    https://github.com/OpenFunction/OpenFunction/blob/main/docs/proposals/202112-functions-framework-refactoring.md

  14. rajibmitra commented on Jan 27, 2023

    @rajibmitra

    Thanks @benjaminhuo Looking at it.

  15. GREENRAT-K405 commented on Jul 20, 2026

    @GREENRAT-K405

    Hi @FeynmanZhou @kehuili @webup I saw the project in progress at the LFX site, is it still ongoing and is there anything to contribute?
    I would be interested in helping you in any way with progress!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

  • Status
    In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions