PythonHub
2.42K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Synchrotron, a real-time DSP engine in pure Python

https://synchrotron.thatother.dev/
Llmswap – Python package to reduce LLM API costs by 50-90% with caching

https://pypi.org/project/llmswap
Why Are Not More People Using These Python Libraries?

Python’s standard library is one of its greatest strengths, but many developers only scratch the surface. This video explores 10 powerful and sometimes overlooked modules that can simplify your code, improve performance, and eliminate unnecessary dependencies. From dataclasses and pathlib to functools, graphlib, and heapq, you’ll see practical, real-world examples of how to use these too...

https://www.youtube.com/watch?v=F09EK4ztG34
🔥1
7 Drop-In Replacements to Instantly Speed Up Your Python Data Science Workflows

This article explains how to use drop-in replacements like NVIDIA cuDF, cuML, and cuGraph to dramatically speed up common Python data science workflows. It provides specific examples for accelerating popular libraries such as pandas, Polars, scikit-learn, and NetworkX on a GPU with minimal to no code changes.

https://developer.nvidia.com/blog/7-drop-in-replacements-to-instantly-speed-up-your-python-data-science-workflows/
Starting with pytest’s parametrize

The article explains how pytest's parametrize feature can simplify and reduce duplication in writing tests by allowing a single test function to run multiple cases with different inputs and expected outputs. It uses a clear step-by-step example with a simple function to demonstrate how parametrize automatically runs the test for multiple data sets, making tests easier to write, read, and...

https://nedbatchelder.com/blog/202508/starting_with_pytests_parametrize.html