News for hackers. Stuff that matters.
Re:NetworkX – Network Analysis in Python by gkoller on Saturday December 09, 2023 @12:10AM (#38578805)
I would be interested in one that is properly type annotated. None of the options here (NetworkX, igraph, cugraph) are.
Re:NetworkX – Network Analysis in Python by westurner on Saturday December 09, 2023 @02:01AM (#38579378)
https://news.ycombinator.com/item?id=36922924 :

> pytype (Google) [1], PyAnnotate (Dropbox) [2], and MonkeyType (Instagram) [3] all do dynamic / runtime PEP-484 type annotation type inference [4] to generate type annotations.

Hypothesis generates tests from type annotations; and icontract and pycontracts do runtime type checking.