Skip to main content

No project description provided

Project description

pyfun

Knative function framework for Python

Usage:

import logging

from pyfun_events import Handle,Get

counter = 0

@Handle
def DoEvent(data :str, context: dict):
    logging.info(data)
    counter = counter + 1

@Get
def Info():
    return 'Got {0}'.format(counter)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyfun-events, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size pyfun_events-0.1.1-py3-none-any.whl (7.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyfun_events-0.1.1.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page