PythonHub
2.65K subscribers
2.35K photos
50.5K links
Human-curated Python news, projects, articles & tools.

https://pythonhub.dev/
Download Telegram
This Design Pattern Replaces an Entire Class Hierarchy

This video compares three ways to model type-based variation in Python: subclasses, storing a type value such as an enum, and representing each variation as an object. Using a subscription system, it introduces the Type Object pattern and explains when each approach is the better fit.

https://www.youtube.com/watch?v=IdwdqdywNOM
Put the Arithmetic in the Tool: an MCP Server for an AWS Waste Scanner

The article shows how to add an MCP server to a Python-based AWS cost scanner so AI agents can query computed totals, breakdowns, filters, and cleanup plans without doing arithmetic themselves. It also covers JSON-RPC over stdio, read-only tool design, end-to-end testing, rounding consistency, and integration with Claude Code.

https://dev.to/aws-builders/put-the-arithmetic-in-the-tool-an-mcp-server-for-an-aws-waste-scanner-3n79
Share how you use Django with Django Probe

The post introduces Django Probe, a tool that scans Django projects and anonymously aggregates how framework APIs and patterns are actually used. The goal is to give Django maintainers better data for decisions around deprecations, new features, documentation, and community priorities.

https://www.better-simple.com/django/2026/09/17/share-how-you-use-django-with-django-probe/
👀1
TATS

TATS is an open-source Python tool for analyzing OAuth 2.0, OpenID Connect, and Microsoft Entra ID tokens, helping security researchers trace authentication flows, identify risky permissions, and visualize token lifecycles.

https://github.com/IceMoonHSV/TATS
❤1
ouroboros

Ouroboros is an open-source AI coding framework that turns vague ideas into verified code through structured interviews, specification-driven execution, automated evaluations, and iterative improvement across multiple coding agents

https://github.com/Q00/ouroboros
👎3
Speeding Up a Python Service with CinderX: JIT and Static Typing

Timofei Ivankov explores how CinderX’s JIT compiler and Static Python can accelerate real-world Python services, comparing their internals and performance with CPython 3.14’s experimental JIT. Benchmarks show that combining Static Python with JIT compilation increased a CPU-bound endpoint’s throughput from 140 to 250 requests per second, while NumPy-heavy workloads saw no benefit and gar...

https://dev.to/deadlovelll/speeding-up-a-python-service-with-cinderx-jit-and-static-typing-53bh
How to Build AI Agents in Python - 3 Ways

This video compares three Python frameworks for building more capable AI agents that can navigate codebases, edit files, and run commands: CrewAI, the OpenAI Agents SDK, and LangGraph. It walks through building an agent with each framework and compares their approaches to orchestration, tools, workflows, and choosing the right framework for a project.

https://www.youtube.com/watch?v=-RTgK6qX6A8
💯3
LangSmith Crash Course: LLMOps in Python

This video serves as a comprehensive crash course on LangSmith, the LangChain ecosystem platform used for tracing, debugging, evaluating, and monitoring AI agents. It covers essential LLMOps workflows including tracing agent runs, performing evaluations with custom datasets, creating alerts, and managing prompts.

https://www.youtube.com/watch?v=P3kmo04DiEw
asgeirtj / system_prompts_leaks

Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro, Antigravity. xAI - Grok, Grok Bot, Cursor, Kimi and more! Updated regularly.

https://github.com/asgeirtj/system_prompts_leaks
💯1
Ciaren: open-source visual ETL exporting pandas and Polars code (alpha)

Build data pipelines visually, run locally, preview intermediate data, and export standalone Python scripts. Open-source alpha, AGPL-3.0.

https://ciaren.com/
❤1
Python Algorithmic Trading Course – Massive, SnapTrade & Alpaca Integrations

This course demonstrates how to build an algorithmic paper trading system using Python and Django to calculate momentum scores and execute trades. The project integrates Massive for market data, SnapTrade for portfolio management, and Alpaca for risk-free brokerage simulation

https://www.youtube.com/watch?v=zH2Mg782XhA