PythonHub
2.43K subscribers
2.35K photos
49.2K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
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
Building a personal predictive text engine

This post discusses the development of a personal predictive text engine called AutoWrite, which takes into account words already written in a document to provide context-specific autocompletions.

https://jamesg.blog/2023/12/15/auto-write/