PythonHub
2.44K subscribers
2.35K photos
49.4K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Introducing PyTorch Monarch

PyTorch Monarch is a distributed programming framework designed to simplify scaling AI workflows by enabling a single-controller model that orchestrates distributed resources like a single machine. It provides actor-based programming with scalable messaging, fault tolerance, and distributed tensor support, allowing seamless development, debugging, and efficient handling of large-scale tr...

https://pytorch.org/blog/introducing-pytorch-monarch/
Create Your Own Bash Computer Use Agent with NVIDIA Nemotron in One Hour

A tutorial on building a computer use AI agent capable of executing multi-step tasks in a Bash shell, powered by the NVIDIA Nemotron Large Language Model. It covers creating the agent's brain, the Bash interface for safe command execution, and the agent loop, demonstrating how to build and deploy an autonomous assistant within an hour.

https://www.youtube.com/watch?v=F7f-eFou2-o
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/