sdk-python/samples/http-image-cloudevents
Hal Blackburn 029d122efa
chore: fix minor mypy type complaint in samples
Signed-off-by: Hal Blackburn <hwtb2@cam.ac.uk>
2025-03-25 17:45:12 +00:00
..
README.md Release v1.0.0 (#89) 2020-08-10 19:47:10 -07:00
client.py chore: fix minor mypy type complaint in samples 2025-03-25 17:45:12 +00:00
image_sample_server.py chore: unify copyright with other SDKs and update/add it where needed. (#170) 2022-07-11 12:56:07 -07:00
image_sample_test.py release: v1.6.0 (#189) 2022-08-18 07:24:20 -07:00
requirements.txt docs: add cloudevents module requirement in samples (#129) 2020-10-23 02:05:28 -05:00

README.md

Image Payloads Quickstart

Install dependencies:

pip3 install -r requirements.txt

Start server:

python3 image_sample_server.py

In a new shell, run the client code which sends a structured and binary cloudevent to your local server:

python3 client.py http://localhost:3000/

Test

pytest