PythonHub Logo Python Hub Weekly Digest for 2024-10-13

๐Ÿ’– Most Popular

What Can a Coffee Machine Teach You About Python's Functions?

PyUIBuilder
The Webflow of Python GUIs.

HPy โ€“ A better C API for Python

When should you upgrade to Python 3.13?
Python 3.13 will be out October 1, 2024—but should you switch to it immediately? And if ...

The Ultimate Guide to Error Handling in Python
I often come across developers who know the mechanics of Python error handling well, yet when I ...


๐Ÿ“– Articles

Automatic async to sync code conversion
The article describes how Psycopg 3 implemented an automatic conversion system to generate synchronous Python code from asynchronous code, reducing code duplication and maintenance efforts. The process involves using Abstract Syntax Trees (AST) to transform async code into equivalent sync code, with custom transformations and helper functions to handle complex cases.

What Iโ€™ve Learned in the Past Year Spent Building an AI Video Editor
Kirk Kaiser spent a year developing an AI video editor using LLMs and Diffusion models to enhance video workflows. His journey explored the intersection of AI and video editing, aiming to create dynamic, generative tools for customizable content.

Implementing a Python Singleton with Decorators
In this post, we'll discuss a Python implementation of the singleton pattern using a decorator. We'll walk through the code and explain how it works, focusing on the _SingletonWrapper class and the singleton decorator function.

Building an image search engine on Postgres
This post demonstrates how to build a basic image search engine using Postgres, CLIP (a pre-trained AI model), and the pgvector extension. It explains the process of generating embeddings for images and text, storing them in Postgres, and performing similarity searches using both image and text queries1

Python Tutorial: Build a Course Platform with Django, HTMX, TailwindCSS and Cloudinary
Learn how to build a Course Platform from scratch. Host video-based courses, manage thumbnails, restrict access to confirmed emails only, optimize thumbnails, customize the Django admin and much more.

Python for Inversive and Hyperbolic Geometry

Numpy QuadDType: Quadruple Precision for Everyone
Introducing the new data-type for Numpy providing cross-platform support of quadruple precision.

Building internal AI tools with Streamlit
The article explains how to build internal AI tools using Streamlit and PropelAuth for authentication. It walks through setting up secure user authentication and integrating with AI models, making it easier to build AI-driven web apps for internal company use.

Python Hub Weekly Digest for 2024-10-06


โš™๏ธ Projects

open-notebooklm
Convert any PDF into a podcast episode!

DeltaBase

ZipNN
A Lossless Compression Library for AI pipelines.

AlphaChip
An open-source framework for generating chip floorplans with distributed deep reinforcement learning.

Djade
A Django template formatter.

Dynamiq
Dynamiq is an orchestration framework for agentic AI and LLM applications.

Langfun
Langfun, powered by PyGlove, makes working with language models (LM) more intuitive by treating language as functions. Using Object-Oriented Prompting, it enables users to prompt LLMs with objects and types, enhancing control and simplifying agent development.

OpenFreeMap
Free and open-source map hosting solution with custom styles for websites and apps, using OpenStreetMap data.


๐Ÿ‘พ Reddits

Python 3.13's best new features


← Previous

Project by Ruslan Keba. Since 2012. Powered by Python. Made in ๐Ÿ‡บ๐Ÿ‡ฆUkraine.