Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Been doing this before the typing module was released, using hug: http://www.hug.rest/

FastAPI has a lot of advantages at this point for someone looking to do the same: https://github.com/tiangolo/fastapi

hug has some catching up to do, some of it just because it got in so early (It needs to be updated to be compatible with mypy and the types defined typing.py!) in any case using typing on API endpoints - independent of how you feel about Dynamic vs Static typing in general, just makes a lot of sense IMHO.



Thanks for the mention @timothycrosley! I feel honored :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: