PythonHub
2.44K subscribers
2.35K photos
49.4K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Wrapping immutable objects

Graham Dumpleton explores how Python’s wrapt library must correctly handle immutable types when wrapping objects, highlighting hidden issues with in-place operators like += and @= when applied to proxies of immutables. He outlines a refinediaddstrategy for ObjectProxy that preserves expected behaviour in version 2.0.0 of wrapt.

https://grahamdumpleton.me/posts/2025/10/wrapping-immutable-types/
Brewing with SQLAlchemy

This series is a comprehensive workshop designed to teach SQLAlchemy from fundamental concepts through advanced data modeling and complex query crafting. By the end, it aims to equip learners with practical skills to confidently handle data challenges and build scalable, powerful applications using SQLAlchemy’s ORM and session features.

https://fullstack.rocks/article/sqlalchemy/brewing_with_sqlalchemy
wove

Beautiful Python async. It is for running high latency async tasks like web requests and database queries concurrently in the same way as asyncio, but with a drastically improved user experience.

https://github.com/curvedinf/wove
Monte Carlo modeling in Python with probabilit

The article introduces probabilit, a Python package designed for Monte Carlo modeling that simplifies uncertainty calculations by allowing users to model equations with probability distributions and sample from them. It demonstrates key features like Latin Hypercube Sampling for efficient sampling and inducing correlations between variables, highlighting its suitability for prototyping u...

https://tommyodland.com/articles/2025/monte-carlo-modeling-in-python-with-probabilit/
Python Pydantic Tutorial: Complete Data Validation Course (Used by FastAPI)

Learn how to use Pydantic to validate and structure data in Python using type hints, custom validators, and nested models. Pydantic simplifies data handling in web apps, pipelines, and AI tools by replacing messy manual validation with clean, reliable models.

https://www.youtube.com/c/Coreyms/videos