PythonHub
Kanalga Telegram’da o‘tish
News & links about Python programming. https://pythonhub.dev/
Ko'proq ko'rsatish2 624
Obunachilar
+124 soatlar
+87 kunlar
+4330 kunlar
Postlar arxiv
2 623
Write a coding agent from first principles
This tutorial will show you how to create your own coding agent from first principles. By doing so, you'll understand how coding agents work under the hood.
https://mathspp.com/blog/write-a-coding-agent-from-first-principles
2 623
The Fastest Python Struct?
The article explores the performance tradeoffs of Python's various struct-like types, focusing on startup and type-definition costs rather than runtime business logic. Extensive benchmarks reveal that NamedTuple sits in the middle of the pack, while msgspec and C-backed implementations deliver the fastest type creation and startup times.
https://www.crumpledpaper.tech/2026-06-21-python-struct-profiling/
2 623
Array API adoption: what to do with compiled code
The post examines how Array API compatibility and JIT compilation can modernize legacy scientific Python code for GPUs and multicore CPUs. The results suggest developers can achieve significant performance gains across hardware platforms without maintaining specialized accelerator-specific code.
https://labs.quansight.org/blog/array-api-aot-jit
2 623
How to build your first Scrapy extension
This tutorial uses a simple audio notification plugin to explain how Scrapy extensions work, covering signals, lifecycle hooks, settings, testing, and packaging. It provides a practical introduction to extending Scrapy with custom functionality while showcasing common patterns used across the ecosystem.
https://www.zyte.com/blog/how-to-build-your-first-scrapy-extension/
2 623
How I made dependency injection in Python 130× faster: from reflection to compiling the graph
The post shows how a Python dependency injection container was optimized from ~53 µs to 0.40 µs per resolve by caching plans, eliminating unnecessary checks, and compiling dependency graphs into generated code. Along the way, it demonstrates practical performance engineering techniques, including code generation, common-subexpression elimination, fuzz testing, and reproducible benchmarking
https://vshulcz.hashnode.dev/python-dependency-injection-130x-faster
2 623
Libraries for your Python Polars workflows
The post highlights a set of Python libraries that work natively with Polars, letting you stay in the Polars ecosystem for validation, tables, visualization, and LLM-assisted analysis.
https://opensource.posit.co/blog/2026-06-04_libraries-for-python-polars/
2 623
Showcasing allauth IdP: build an MCP server
This article demonstrates how to build a Model Context Protocol (MCP) server using Django and django-allauth, with OpenID Connect (OIDC) authentication handled by the allauth.idp package. It shows how MCP hosts such as Claude can dynamically register and authenticate clients without relying on separate third-party identity providers.
https://allauth.org/news/2026/05/idp-demo-mcp-server/
2 623
BugHunter
AI-powered bug bounty hunting from your terminal - recon, 20 vuln classes, autonomous hunting, and report generation. All inside Claude Code.
https://github.com/shuvonsec/claude-bug-bounty
2 623
tracesage
tracesage adds local, zero-infra tracing to LangChain/LangGraph agents in two lines, it captures every chain, tool, and LLM call to SQLite and shows the run as a live graph and timeline in your browser. Open source, pip install, MIT licensed.
https://github.com/kjgpta/tracesage
2 623
defending-code-reference-harness
Skills for threat modeling, scanning, triage, patching, plus an autonomous scanning harness you can customize.
https://github.com/anthropics/defending-code-reference-harness
2 623
Choosing a Python task queue library in 2026: Celery vs Dramatiq vs FastStream vs Taskiq vs Repid
https://www.reddit.com/r/Python/comments/1u775lo/choosing_a_python_task_queue_library_in_2026/
2 623
PyData London 26
The videos from PyData London 2026 are now available.
https://www.youtube.com/playlist?list=PLGVZCDnMOq0rFQykYJg7t441AEpN4SszE
2 623
Plugins case study: Pluggy
The post explains how Pluggy works as a reusable Python library for building plugin systems, centered on hooks that hosts define and plugins implement. It also highlights the design tradeoffs Pluggy handles well, including registration, signature validation, ordering, and hook wrappers, while leaving plugin discovery largely up to the application.
https://eli.thegreenplace.net/2026/plugins-case-study-pluggy/
2 623
Scikit-learn 1.9
Scikit-learn 1.9 release is out, and it comes with solid improvements to many existing estimators, making them faster, more stable, handling missing values, adding GPU support… The release also enhances the estimator displays in notebooks, and introduces a callback mechanism that opens the door to progress bars or advanced monitoring of convergence.
https://blog.scikit-learn.org/updates/release-1-9/
2 623
dograh-hq / dograh
Open source voice AI platform. Self-hosted alternative to Vapi and Retell. On Prem, BYOK across Speech to Speech or LLM/STT/TTS, with a visual workflow builder, MCP native and telephony support.
https://github.com/dograh-hq/dograh
2 623
agent-toolkit-for-aws
Official, AWS-supported MCP servers, skills, and plugins to help AI agents build on AWS.
https://github.com/aws/agent-toolkit-for-aws
2 623
turbovec
A vector index built on TurboQuant, written in Rust with Python bindings.
https://github.com/RyanCodrai/turbovec
2 623
Ordered key sharding in DynamoDB
So, you want to keep a sorted index in DynamoDB, but for whatever reason – usually throughput-related – it won't fit on a single partition. What do you do? Today, we look at the available solutions, do the math, and find out which is best.
https://death.andgravity.com/albumtitle
2 623
Django Internationalization - translate your app to multiple languages!
This video explains how Django's internationalization framework enables applications to support multiple languages by detecting a user's active language and serving the appropriate translations. It also demonstrates the makemessages and compilemessages commands, along with common localization approaches such as language cookies and URL-based language prefixes.
https://www.youtube.com/watch?v=PGMhsAcfPpI
