PythonHub
2.53K subscribers
2.35K photos
50.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
PyTorch Custom Operation

Using PyTorch custom operations is common in PyTorch models. PyTorch custom operations can be custom classes and custom functions implemented in C++ and CUDA and used in both Python and C++ inference programs. This post shares how to implement PyTorch custom operations in C++ and CUDA, and how to use them in PyTorch models and AOTInductor compiled inference programs, using a simple ident...

https://leimao.github.io/blog/PyTorch-Custom-Operation/
Archaeologist

A codebase intelligence toolkit that finds dead code, analyzes change impact, scores complexity, detects duplication, and generates interactive codebase graphs.

https://github.com/prathik-arun/archaeologist
Agentic RL: Token-In, Token-Out Done Right

Training agentic LLMs with reinforcement learning can silently break when tool-calling workflows re-tokenize model outputs between turns, causing gradients to be applied to sequences the model never actually generated. The article introduces the Token-In, Token-Out (TITO) approach, which avoids re-encoding decoded tokens and preserves training correctness while simplifying multi-turn RL ...

https://qgallouedec-tito.hf.space/
1
Web Scraping with Python & JavaScript – MERN Stack Full Course

Learn to build robust web scrapers that can defeat modern anti-bot systems. In this full-stack course, you will transition from basic Python scripting to deploying a full MERN dashboard that scrapes and visualizes real-world data from Amazon, Booking.com, Indeed, and the TIOBE Index.

https://www.youtube.com/watch?v=V1JmI5sUc5E
Pattern Screamer: Subnet Discovery in Networks with Unknown Addressing

This article introduces Pattern Screamer, a reconnaissance tool that uses multi-protocol TTL tracing to discover routers, subnets, and network topology in environments with unknown addressing schemes. By combining heuristic subnet sampling with ICMP, TCP, and UDP probes, it dramatically reduces scan volume while enabling attackers and administrators to map network infrastructure without ...

https://ifritnoises.org/articles/pattern-screamer/
Webhooks Explained (+ Clean Implementation)

The video demonstrates how to add webhooks to a FastAPI application and then evolve the design toward an event-driven architecture that decouples integrations from API endpoints. By using events to handle side effects, the approach makes applications more modular, extensible, and easier to maintain as new integrations and workflows are added.

https://www.youtube.com/watch?v=yc-gp3PFHEI