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.
Source Distribution
pyfun_events-0.1.0.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for pyfun_events-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b964fbf35453265e117ea83be33654963222d57d5521e3981292b76f0ad23f51 |
|
MD5 | e341f10475c32e0c322273d1b7ce02e5 |
|
BLAKE2b-256 | de2119565c745d84517841269a4bb6003989e44c25c74b26fbcb76ad4bcbd3c3 |