PythonHub
2.41K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Introducing flake8-logging

This article introduces flake8-logging, a Flake8 plugin that helps you to improve the logging in your Python code. Flake8 is a linter that checks Python code for errors and style violations. flake8-logging extends Flake8 by adding rules for checking logging code.

https://adamj.eu/tech/2023/09/07/introducing-flake8-logging/
How We're Building AI Search Engines using LLM Embeddings

Demo and explanation of how to use the Python sentence-transformers library to generate, store, and query LLM embeddings using the Django ORM and pgvector. This video demonstrates a prototype application that enables "AI-powered search" for job descriptions using an unstructured, English-language description of a job seeker.

https://www.youtube.com/watch?v=ZCPUmC37HLU
How to Use Apple Vision Framework via PyObjC for Text Recognition

THis article discusses how to use the Vision framework via PyObjC, which allows you to use Objective-C frameworks from Python. The Vision framework is a machine learning framework that can be used to perform tasks such as face detection, object detection, and text recognition.

https://yasoob.me/posts/how-to-use-vision-framework-via-pyobjc/
Towards a new SymPy: Part 1 - Outline

This first post will outline the structure of the foundations of a computer algebra system (CAS) like SymPy, describe some problems SymPy currently has and what can be done to address them. Then subsequent posts will focus in more detail on particular components and the work that has been done and what should be done in the future.

https://oscarbenjamin.github.io/blog/czi/post1.html
How the Python Dataframe Interchange Protocol Makes Life Better

In this article, we answer three questions about the Python Dataframe Interchange Protocol: What it is + what problems it solves; how it works; and how extensively it's been adopted.

https://ponder.io/how-the-python-dataframe-interchange-protocol-makes-life-better/
Add database search with Django and HTMX

We'll create a fast and simple database search using Django and HTMX. It's easy and fast to do with HTMX. There'll be 6 steps.

https://www.photondesigner.com/articles/database-search-django-htmx