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.1.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for pyfun_events-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 991f6135233f230b10844df18748edb145f00c7feb3362f7d1583f5916cd3a70 |
|
MD5 | 87a2f5894b2ed489b2d3c036b5fb4af4 |
|
BLAKE2b-256 | b5999f9a1476045700e213dbfd3ee5afaa884db9eb8ce6c7b1025f43d68956cf |