PythonHub
Открыть в Telegram
Human-curated Python news, projects, articles & tools. https://pythonhub.dev/
Больше2 658
Подписчики
+124 часа
+67 дней
+1230 дней
Архив постов
2 657
Django: what’s new in 5.2
This post highlights key new features in Django 5.2, including automatic model importing in the shell, support for composite primary keys, and a simplified way to override BoundField on forms.
https://adamj.eu/tech/2025/04/07/django-whats-new-5.2/
2 657
any-agent
A single interface to different Agent frameworks.
https://github.com/mozilla-ai/any-agent
2 657
Shadowing in Python gave me an UnboundLocalError
This article discusses a common Python pitfall where shadowing a variable within a function can lead to an UnboundLocalError due to Python's scoping rules. It explains that if a variable is bound anywhere in a function, it's considered local to the entire function, even before it's initialized, which can cause unexpected errors.
https://ntietz.com/blog/pythons-shadowing-behavior-always-surprises-me/
2 657
Inside the CodeBot: A Gentle Introduction to How LLMs Understand Nullability
The article explores how large language models (LLMs) comprehend the concept of nullability in programming. It discusses methods for evaluating LLMs' understanding of nullable types and introduces techniques to probe their internal representations regarding null values.
https://dmodel.ai/nullability-gentle/
2 657
Mobile-VideoGPT
Fast and Accurate Video Understanding Language Model.
https://github.com/amshaker/mobile-videogpt
2 657
11 Outdated Python Modules That You Should Never Use Again
https://medium.com/techtofreedom/11-outdated-python-modules-that-you-should-never-use-again-0474bfc8f071
2 657
Bootstrapping Python projects with copier
This article discusses using Copier to automate the process of bootstrapping Python projects. It covers setting up a project template with essential elements like README, license, changelog, project structure, documentation, Makefiles, uv support, and GitHub Actions to streamline project creation.
https://blog.dusktreader.dev/2025/04/06/bootstrapping-python-projects-with-copier/
2 657
How to Create Vector Embeddings in Python
https://www.datastax.com/blog/how-to-create-vector-embeddings-in-python
2 657
RoboVerse
Towards a Unified Platform, Dataset and Benchmark for Scalable and Generalizable Robot Learning.
https://github.com/RoboVerseOrg/RoboVerse
2 657
An Introduction to Testing in Python Flask
This article introduces testing in Flask, emphasizing its importance for code quality and streamlined development. It covers key testing areas like routes, business logic, database interactions, and provides practical examples using pytest, fixtures, mocking, and a focus on edge cases.
https://blog.appsignal.com/2025/04/02/an-introduction-to-testing-in-python-flask.html
2 657
whatsapp-mcp
This is a Model Context Protocol (MCP) server for WhatsApp.
https://github.com/lharries/whatsapp-mcp
2 657
clypi
Your all-in-one for beautiful, lightweight, prod-ready CLIs.
https://github.com/danimelchor/clypi
2 657
Breaking news: Guido van Rossum back as Python's Benevolent Dictator for Life (BDFL)!
https://www.reddit.com/r/Python/comments/1jowzs2/breaking_news_guido_van_rossum_back_as_pythons/
2 657
Is Python Code Sensitive to CPU Caching? (2024)
https://lukasatkinson.de/2024/python-cpu-caching/
2 657
Getting Started with Streamlit
Build your first Streamlit app and explore some basic features.
https://www.pythonguis.com/tutorials/getting-started-with-streamlit/
2 657
I Really HATE Brittle Python Functions
This video explains principles for writing less brittle Python code by avoiding type constraints, using value constraints inside functions, and carefully considering optional values. It also advocates for raising errors instead of returning None when a function expects to find an object by ID but cannot.
https://www.youtube.com/watch?v=g-Cytq7YDCc
2 657
Training and Finetuning Reranker Models with Sentence Transformers v4
This post explains how to train and fine-tune reranker models using Sentence Transformers v4, detailing components like datasets, loss functions, and evaluators. It demonstrates that fine tuning models on specific domains outperforms general-purpose models, providing practical examples for improving relevance in information retrieval.
https://huggingface.co/blog/train-reranker
2 657
Programming a Robotic Hand to Crawl
This video demonstrates using a robotic hand to perform gestures like rock, paper, and scissors, programmed with the help of language models, highlighting the model's ability to understand and execute these gestures even if they aren't explicitly defined in the hand's code. The creator explores how language models can abstract and translate general knowledge into specific robotic actions...
https://www.youtube.com/watch?v=57cPmzwCqd4
2 657
Nvidia adds native Python support to CUDA
https://thenewstack.io/nvidia-finally-adds-native-python-support-to-cuda/
