PythonHub
2.47K subscribers
2.35K photos
49.6K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
I Made a Classic Refactoring Mistake

Arjan addresses mistakes in his prior video's refactoring of a messy order approval function, identifying three logic errors via failing tests. He discusses refactoring pitfalls like incomplete tests (86% coverage despite bugs), tricky and/or conditions, data structures, and the lack of a true "ground truth" in business logic.

https://www.youtube.com/watch?v=b6RnBKvQ40o
Moving Scratch generation to Python on browser

https://kushaldas.in/posts/introducing-ektupy.html
SnackBase – Open-source, GxP-compliant back end for Python teams

https://snackbase.dev
pyPFC: An open-source Python package for phase field crystal simulations

A Python framework for setting up, running and analyzing 3D Phase Field Crystal (PFC) simulations.

https://github.com/HHallb/pyPFC