PythonHub
2.37K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Cog: Use Python in your source files to generate pieces of code

https://nedbatchelder.com/code/cog/
pytest daemon: 10X Local Test Iteration Speed

At Discord, their Python test suite suffered from slow local test runs, taking 13 seconds per test. They built a pytest daemon that improves local test iteration speed by 10x, significantly reducing development time. This solution involves offloading heavy work to a background process and caching results, bypassing slow imports and fixtures.

https://discord.com/blog/pytest-daemon-10x-local-test-iteration-speed
µHTTP

µHTTP emerged from the need of a simple web framework. It's great for micro-services, single page applications, AND monolithic monsters.

https://github.com/0x67757300/uHTTP