Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 748 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 748 Bytes

pyvo-fastapi-demo

Smol FastAPI demo app for a Pyvo Brno talk (see event details and video recording).

How to run the app, tests, linters, and code formatters

First, ensure you have Hatch installed:

pip install hatch

Run the app

hatch run -- uvicorn pyvo_fastapi_demo.main:app --reload

Run unit tests and report test coverage

hatch run test-cov
hatch run cov-report

Run linters

hatch run lint:all

Run code formatters

hatch run lint:fmt

License

pyvo-fastapi-demo is distributed under the terms of the MIT license.