pythonhub | Technologies

Telegram-канал pythonhub - PythonHub

1140

News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba

Subscribe to a channel

PythonHub

Breaking Circular Imports in Python Without Losing Type Safety

The article explores practical techniques for handling circular imports in Python while preserving static type safety, using a financial modeling framework as a real-world example. It argues that strategically placed local imports and dependency thunks are often the least-bad solution, offering better type checking and maintainability than context dictionaries, builder patterns, or large...

https://www.orcaset.com/blog/breaking-circular-imports-in-python-without-losing-type-safety

Читать полностью…

PythonHub

Python Hub Weekly Digest for 2026-06-07

https://pythonhub.dev/digest/2026-06-07/

Читать полностью…

PythonHub

nesquena / hermes-webui

Hermes WebUI: The best way to use Hermes Agent from the web or from your phone!

https://github.com/nesquena/hermes-webui

Читать полностью…

PythonHub

How to deal with slop PR's as a maintainer?

https://www.reddit.com/r/Python/comments/1tqrlx5/how_to_deal_with_slop_prs_as_a_maintainer/

Читать полностью…

PythonHub

BleachBit

BleachBit system cleaner for Windows and Linux.

https://github.com/bleachbit/bleachbit

Читать полностью…

PythonHub

Python utility package for building Claude Code hooks

https://github.com/RasmusGodske/claude-hook-utils

Читать полностью…

PythonHub

NVIDIA-AI-Blueprints / video-search-and-summarization

Suite of reference architectures for building GPU-accelerated vision agents and AI-powered video analytics applications.

https://github.com/NVIDIA-AI-Blueprints/video-search-and-summarization

Читать полностью…

PythonHub

What types of exceptions should you catch?

The trickiest programming bugs are often caused by catching exceptions that you didn't mean to catch or handling exceptions in ways that obfuscate the actual error that's occurring. Which exceptions should you catch and which should you leave unhandled?

https://www.pythonmorsels.com/what-types-of-exceptions-should-you-catch/

Читать полностью…

PythonHub

Anthropic-Cybersecurity-Skills

754 production-grade cybersecurity skills · 26 security domains · 5 framework mappings · 26+ AI platforms.

https://github.com/mukul975/Anthropic-Cybersecurity-Skills

Читать полностью…

PythonHub

ESPectre

Motion detection system based on Wi-Fi spectre analysis (CSI), with native Home Assistant integration via ESPHome.

https://github.com/francescopace/espectre

Читать полностью…

PythonHub

google / skills

Agent Skills for Google products and technologies

https://github.com/google/skills

Читать полностью…

PythonHub

Agent Evaluation: A Detailed Guide

Best practices and common patterns for effectively evaluating AI agents.

https://cameronrwolfe.substack.com/p/agent-evals

Читать полностью…

PythonHub

Articraft

An Agentic System for Scalable Articulated 3D Asset Generation.

https://github.com/mattzh72/articraft

Читать полностью…

PythonHub

Remove-AI-Watermarks

Remove visible and invisible AI watermarks from images generated by Google Gemini (Nano Banana), ChatGPT / DALL-E, Stable Diffusion, Adobe Firefly, Midjourney, and other AI models.

https://github.com/wiltodelta/remove-ai-watermarks

Читать полностью…

PythonHub

Headroom

Headroom compresses everything your AI agent reads - tool outputs, logs, RAG chunks, files, and conversation history - before it reaches the LLM. Same answers, fraction of the tokens.

https://github.com/chopratejas/headroom

Читать полностью…

PythonHub

PookieDb

Django-style ORM for SQLite and PostgreSQL. Chainable QuerySet API, migrations, relationships, and an interactive CLI. Works outside Django.

https://pypi.org/project/pookiedb/

Читать полностью…

PythonHub

Webwright

A simple SWE style browser agent framework that achieves SOTA results on long horizon web tasks.

https://github.com/microsoft/Webwright

Читать полностью…

PythonHub

CVE-2026-48710: A Maintainer's Perspective

https://www.reddit.com/r/Python/comments/1tr5s1c/cve202648710_a_maintainers_perspective/

Читать полностью…

PythonHub

Build a Live Object Detection App for the Reachy Mini With TensorFlow and PyCharm

In this tutorial, we build a live object detection app using TensorFlow and PyCharm, then deploy it onto the Reachy Mini open-source robot for real-time object tracking.

https://blog.jetbrains.com/pycharm/2026/05/build-a-live-object-detection-app-for-reachy-mini-with-tensorflow-and-pycharm/

Читать полностью…

PythonHub

Production RAG with LangChain & Vector Databases – Full Course

Learn to build, debug, optimize, and scale RAG systems for production.

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

Читать полностью…

PythonHub

Macro Evals for Agentic Systems

This cookbook outlines a macro-evaluation workflow for analyzing multi-agent systems at scale using a simulated electric vehicle order pipeline. It demonstrates how to look past individual responses and evaluate systemic behaviors such as orchestration, routing, and tool choices by combining lower-level execution checks (via Promptfoo) into population-level trace analyses to discover and...

https://developers.openai.com/cookbook/examples/partners/macro_evals_for_agentic_systems/macro_evals_for_agentic_systems

Читать полностью…

PythonHub

Opaque Types in Python

https://blog.glyph.im/2026/05/opaque-types-in-python.html

Читать полностью…

PythonHub

When Python manual wiring turns into copy-paste architecture

A small typed dependency injection approach for apps that outgrow copy-pasted constructors but do not need a full DI framework.

https://vshulcz.hashnode.dev/when-python-manual-wiring-turns-into-copy-paste-architecture

Читать полностью…

PythonHub

Shrink Your Python Container in One Command with SlimToolkit

Use SlimToolkit to shrink a Python container by half in one command. No Dockerfile changes. Walkthrough on a chatbot with common edge cases and fixes.

https://codecut.ai/shrink-python-container-slimtoolkit/

Читать полностью…

PythonHub

Katharos

A library providing useful types and functions for functional programming in Python.

https://github.com/kamalfarahani/katharos

Читать полностью…

PythonHub

Python Hub Weekly Digest for 2026-05-31

https://pythonhub.dev/digest/2026-05-31/

Читать полностью…

PythonHub

claude-for-legal

A suite of plugins for legal workflows.

https://github.com/anthropics/claude-for-legal

Читать полностью…

PythonHub

Bridging Python's Logging Module to OpenTelemetry (Complete Guide)

This guide walks through using the OpenTelemetry Python SDK's LoggingHandler to bridge Python's built-in logging module with an OpenTelemetry-compliant pipeline without changing your existing log statements. It demonstrates how to configure the handler (via dictConfig), map standard log records into structured OTel fields, and automatically correlate logs with active traces to route them...

https://www.dash0.com/guides/opentelemetry-logging-python

Читать полностью…

PythonHub

Decepticon

Autonomous Hacking Agent for Red Team.

https://github.com/PurpleAILAB/Decepticon

Читать полностью…

PythonHub

Let’s Fix Bloated Python Classes Once and For All

The video demonstrates how a single Python class can gradually become overloaded with unrelated responsibilities like validation, data processing, and model training, making the code harder to maintain and reason about. It then walks through refactoring the code into smaller, focused components while introducing a practical framework for deciding what logic should and should not belong i...

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

Читать полностью…
Subscribe to a channel