pythonhub | Technologies

Telegram-канал pythonhub - PythonHub

1140

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

Subscribe to a channel

PythonHub

Speed Up Django Queries with values() over only()

Optimizing Django performance? Use values() instead of only() when you only need specific fields, as it skips full model instantiation and avoids triggering deferred field lookups—boosting query efficiency. The article provides practical guidance on when to choose values() for lightweight data access.

https://johnnymetz.com/posts/django-values-over-only/

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

PythonHub

chisel

CLI tool for developing and profiling GPU kernels locally. Just write, test, and profile GPU code from your laptop.

https://github.com/Herdora/chisel

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

PythonHub

AlphaGenome

This API provides programmatic access to the AlphaGenome model developed by Google DeepMind.

https://github.com/google-deepmind/alphagenome

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

PythonHub

It Seems I No Longer Use Python’s Dataclasses

The video explores whether Python’s built-in dataclasses are still useful in 2025, given the rise of tools like Pydantic, FastAPI, and SQLAlchemy, concluding that most production code now relies on specialized data structures from these libraries rather than standard dataclasses. However, the presenter still finds dataclasses valuable for rapid prototyping and domain modeling, as they of...

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

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

PythonHub

Reading NFC Passport Chips in Linux

The article explains how to read all data, including biometrics, from an NFC passport chip on Linux using the pypassport tool, detailing the process of reconstructing the required MRZ (Machine Readable Zone) password from passport details and providing Python code for both MRZ generation and chip reading

https://shkspr.mobi/blog/2025/06/reading-nfc-passport-chips-in-linux/

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

PythonHub

genai-bench

Genai-bench is a powerful benchmark tool designed for comprehensive token-level performance evaluation of large language model (LLM) serving systems.

https://github.com/sgl-project/genai-bench

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

PythonHub

TreeQuest

A Tree Search Library with Flexible API for LLM Inference-Time Scaling.

https://github.com/SakanaAI/treequest

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

PythonHub

Kajson

Universal JSON Encoder/Decoder for Python.

https://github.com/Pipelex/kajson

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

PythonHub

Fun with uv and PEP 723

The article demonstrates how combining the new Python package manager uv with PEP 723 allows you to write self-contained Python scripts that declare and manage their own dependencies using inline metadata, making one-off scripting much easier and more portable. It showcases practical examples, such as running scripts with uv run and creating executable scripts that fetch YouTube transcri...

https://www.cottongeeks.com/articles/2025-06-24-fun-with-uv-and-pep-723

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

PythonHub

Django: Introducing inline-snapshot-django

The article introduces inline-snapshot-django, a new Django package for snapshot testing SQL queries, allowing developers to automatically capture and compare query outputs in their tests. It aims to provide a more detailed and developer-friendly alternative to Django’s assertNumQueries(), making it easier to debug and maintain test suites for database interactions.

https://adamj.eu/tech/2025/06/24/django-introducing-inline-snapshot-django/

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

PythonHub

Switching pip to uv in a Dockerized Flask / Django App

Switching from pip to uv in Dockerized Flask or Django apps results in about a 10x faster dependency installation and introduces robust, lockfile-based dependency management, improving both speed and reliability. The process involves replacing requirements.txt with pyproject.toml, adjusting Dockerfiles to use uv commands, and configuring environment variables for efficient, reproducible ...

https://nickjanetakis.com/blog/switching-pip-to-uv-in-a-dockerized-flask-or-django-app

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

PythonHub

Leveraging Google Adk For Cyber Intelligence

The article details how Google Cloud's Agent Development Kit (ADK) enables the creation of autonomous, multi-agent cybersecurity systems like CyberGuardian, which coordinate specialized agents for real-time threat detection, analysis, containment, and automated recovery.

https://manta.black/leveraging-google-adk-for-cyber-intelligence.html

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

PythonHub

HKUDS / AutoAgent

"AutoAgent: Fully-Automated and Zero-Code LLM Agent Framework"

https://github.com/HKUDS/AutoAgent

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

PythonHub

django-rls

PostgreSQL Row Level Security for Django.

https://github.com/kdpisda/django-rls

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

PythonHub

Python Hub Weekly Digest for 2025-07-06

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

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

PythonHub

Making a Simple HTTP Server with Asyncio Protocols

Learn how to build a fast, minimal HTTP server using asyncio.Protocol, complete with routing, parsing, and response handling from scratch!

https://jacobpadilla.com/articles/asyncio-protocols

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

PythonHub

jdepoix / youtube-transcript-api

This is a python API which allows you to get the transcript/subtitles for a given YouTube video. It also works for automatically generated subtitles and it does not require an API key nor a headless browser, like other selenium based solutions do!

https://github.com/jdepoix/youtube-transcript-api

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

PythonHub

force-push-scanner

Scan for secrets in dangling commits on GitHub using GH Archive data.

https://github.com/trufflesecurity/force-push-scanner

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

PythonHub

Build a Podcast Discovery Web App in Pure Python

The video is a step-by-step tutorial on building a full-stack podcast discovery web app using only Python, leveraging the Reflex framework for both frontend and backend development. It demonstrates integrating user authentication with Clerk, database management with Postgres, and data validation with Pydantic, showing how modern Python tools can be combined to create interactive, product...

https://www.youtube.com/watch?v=9RUhp99J87c

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

PythonHub

Spegel

Automatically rewrites the websites into markdown optimised for viewing in the terminal.

https://github.com/simedw/spegel

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

PythonHub

Statically checking Python dicts for completeness

A Pythonic way to ensure that your statically-defined dicts are complete, with full source code.

https://lukeplant.me.uk/blog/posts/statically-checking-python-dicts-for-completeness/

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

PythonHub

rl-swarm

A fully open source framework for creating RL training swarms over the internet.

https://github.com/gensyn-ai/rl-swarm

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

PythonHub

PhotoshopAPI: 20× Faster Headless PSD Automation & Full Smart Object Control (No Photoshop Required)

https://www.reddit.com/r/Python/comments/1lre64q/photoshopapi_20_faster_headless_psd_automation/

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

PythonHub

The logging module is from 2002. Here's how to use it in 2025

https://www.reddit.com/r/Python/comments/1lq2zq0/the_logging_module_is_from_2002_heres_how_to_use/

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

PythonHub

OctopusDash

OctopusDash is a modern, open-source Django admin dashboard designed with a beautiful UI, powerful filtering, and granular permission control — crafted for developers and teams seeking more flexibility, clarity, and extensibility beyond the default Django admin.

https://github.com/husseinnaeemsec/octopusdash

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

PythonHub

MicroPython on M68k Mac

stylus/114749858767978151">stylus/114749858767978151" rel="nofollow">https://social.afront.org/@stylus/114749858767978151

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

PythonHub

Fast Thermodynamic Calculations in Python

https://dlr-institute-of-future-fuels.github.io/gaspype/

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

PythonHub

The one FastAPI boilerplate to rule them all

https://www.reddit.com/r/Python/comments/1lq5ccm/the_one_fastapi_boilerplate_to_rule_them_all/

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

PythonHub

facebookresearch / vggt

CVPR 2025 Best Paper Award VGGT: Visual Geometry Grounded Transformer

https://github.com/facebookresearch/vggt

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

PythonHub

Uv and Ray: Pain-Free Python Dependencies in Clusters

https://www.anyscale.com/blog/uv-ray-pain-free-python-dependencies-in-clusters

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