PythonHub Logo Python Hub Weekly Digest for 2023-07-02

Cover by unsplash.com

๐Ÿ’– Most Popular

Python 3.12.0 beta 3 released

Designing Pythonic library APIs
The article discusses some principles for designing good Python library APIs, including structure, naming, error handling, type annotations, and more. The author argues that Python's flexibility can be a double-edged sword, and that it's important to design APIs that are easy to use and understand.

I wrote a package for creating pip constraints based on known security vulnerabilities

Pro-Tip โ€“ pytest fixtures are magic!
Fixtures are building blocks for good tests and can increase development speed. The main issue with writing tests is setting up necessary data before the test, but pytest fixtures make it easier by injecting necessary data into your tests.

Compiling Typed Python


๐Ÿ“– Articles

OpenTalker / video-retalking
[SIGGRAPH Asia 2022] VideoReTalking: Audio-based Lip Synchronization for Talking Head Video Editing In the Wild

Building Search DSLs with Django
The article explains how to build a custom search DSL (Domain Specific Language) for Django projects. The DSL allows users to search for content in a more natural way, using keywords and phrases instead of complex SQL queries.

Pandas for Data Analysis by Example
Learn how to use Pandas and Python for Data Analysis, to Data Cleaning and Data Wrangling. You will learn by creating real life projects interactively to help you take the next step in your Data Science Career.

Remote Interactive Debugging of Python Applications Running in Kubernetes
In this tutorial we will create a setup for remote debugging of Python applications running in Kubernetes, which will allow you to set breakpoints, step through code, and interactively debug your applications without any change to your code or deployment.

Playing with Streamlit and LLMs.
This post describes how to use Streamlit to build a simple interface for interacting with large language models (LLMs). It also includes code examples that show how to use Streamlit to display text, images, and tables, and to interact with LLMs through prompts and queries.

symbex: search Python code for functions and classes, then pipe them into a LLM
symbex is a new Python CLI tool that allows you to search Python code for functions and classes by name or wildcard, then see just the source code of those matching entities. symbex can then be used to pipe the source code into a large language model (LLM) for further analysis.

Bringing Locality of Behaviour to Django Views and URLs
Introducing django-view-decorator, a Django package which brings Locality of Behaviour to your Views and URLs.

SevaSk / ecoute
Ecoute is a live transcription tool that provides real-time transcripts for both the user's microphone input (You) and the user's speakers output (Speaker) in a textbox. It also generates a suggested response using OpenAI's GPT-3.5 for the user to say based on the live transcription of the conversation.

Show HN: Autolabel, a Python library to label and enrich text data with LLMs

Authlib: Python Authentication

ricklamers / gpt-code-ui
An open source implementation of OpenAI's ChatGPT Code interpreter

A theme editor for JupyterLab
This post introduces a new theme editor extension for JupyterLab that allows users to customize the look and feel of the JupyterLab interface. The theme editor extension is a simple interface that allows users to select colors, font family, and font size, and to preview the changes in real time.

sjvasquez / handwriting-synthesis
Handwriting Synthesis with RNNs โœ๏ธ


โš™๏ธ Projects

arguably
arguably turns functions into command line interfaces (CLIs). arguably has a tiny API and is extremely easy to integrate.

OpenLLM
An open platform for operating large language models (LLMs) in production. Fine-tune, serve, deploy, and monitor any LLMs with ease.

The Annotated S4
This post provides an overview of the Structured State Space for Sequence Modeling (S4) architecture which is a new approach to very long-range sequence modeling tasks for vision, language, and audio, showing a capacity to capture dependencies over tens of thousands of steps. It also includes code implementations that allow readers to experiment with the S4 architecture.

languagemodels
Explore large language models on any computer with 512MB of RAM.

Rift
An AI-native language server for your personal AI software engineer.

FableForge
Generate a picture book from a single prompt using OpenAI function calling, replicate, and Deep Lake.

localrf
An algorithm for reconstructing the radiance field of a large-scale scene from a single casually captured video.

TruLens
Evaluation and Tracking for LLM Experiments.

WingetUI
A better UI for your package managers.


๐Ÿ‘พ Reddits

How to upgrade your Flask application using async

Why Mac for Python dev?

Introducing an Open-Source Python API for AI Image Generator Midjourney


← Previous Next →

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