* build: Update pre-commit config versions and setup. Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * build: Migrate isort config to `pyproject` Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * style: Use recommended black-compatible flake8 options Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * build: Add standard pre-commit hooks. Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * docs: Add a note about this PR to the changelog. Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * docs: Cleanup docs, fix links. Add lins to respective tooling. Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * build: add dev-only dependencies. Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * style: reformat using new style/format configs Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * build: add pre-commit to dev dependencies Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * style: run pre-commit hooks on all the files Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * docs: Add dev status to the classifier. Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * docs: add missing links and dates for releases and PRs. Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * docs: Add latest PR to the changelog Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> * ci: Add new maintainers Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com> |
||
---|---|---|
.. | ||
README.md | ||
client.py | ||
json_sample_server.py | ||
json_sample_test.py | ||
requirements.txt |
README.md
Quickstart
Install dependencies:
pip3 install -r requirements.txt
Start server:
python3 json_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