ch
Feedback
PythonHub

PythonHub

前往频道在 Telegram

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

显示更多
2 629
订阅者
-124 小时
+217 天
+5430 天
帖子存档
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/

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

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

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

AlphaGenome This API provides programmatic access to the AlphaGenome model developed by Google DeepMind. https://github.com/google-deepmind/alphagenome

force-push-scanner Scan for secrets in dangling commits on GitHub using GH Archive data. https://github.com/trufflesecurity/force-push-scanner

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

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

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/

Spegel Automatically rewrites the websites into markdown optimised for viewing in the terminal. https://github.com/simedw/spegel

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

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/

TreeQuest A Tree Search Library with Flexible API for LLM Inference-Time Scaling. https://github.com/SakanaAI/treequest

rl-swarm A fully open source framework for creating RL training swarms over the internet. https://github.com/gensyn-ai/rl-swarm

Kajson Universal JSON Encoder/Decoder for Python. https://github.com/Pipelex/kajson

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/

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

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/

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