r/pythoncoding • u/Flashy-Dragonfly6785 • Mar 28 '24
What's your favourite open source repo in terms of high quality Python code?
We often encounter awful code in our working lives, but have you encountered code that you thought was really high quality?
My slightly odd choice is the impacket library which makes a concerted effort make Windows network protocols Pythonic: https://github.com/fortra/impacket
What's your shining example of high quality Python code?
1
Upvotes
3
u/iBlag Mar 29 '24 edited Mar 29 '24
Excellent projects that enable a highly Pythonic API:
Projects that have an exemplary Pythonic codebase themselves:
Runner ups:
Anti-examples (eg: don't do this):
And here's an old but relevant video from a core Python developer about writing better Python:
https://www.youtube.com/watch?v=wf-BqAjZb8M
1
u/[deleted] Mar 28 '24
[removed] — view removed comment