PythonHub
2.36K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
LLMs and Programming in the first days of 2024

http://antirez.com/news/140
Fine Tuning Python WSGI and ASGI applications for Flask, Django, and FastAPI

In this post, the focus is on examining best practices for configuring Python web servers such as Gunicorn, Uvicorn, and Hypercorn. The architecture of the components between Python code and users will be summarized, and verification methods like load testing will be discussed to ensure the configuration can withstand user traffic.

https://tonybaloney.github.io/posts/fine-tuning-wsgi-and-asgi-applications.html
semantic-router

Semantic Router is a superfast decision layer for your LLMs and agents. Rather than waiting for slow LLM generations to make tool-use decisions, we use the magic of semantic vector space to make those decisions — routing our requests using semantic meaning.

https://github.com/aurelio-labs/semantic-router
Retro on Viberary

The article reflects on the author's experience with Viberary, a side project aimed at finding books based on a particular vibe. The project was created to explore machine learning side projects and the intersection of search and recommendations, serving as a production-grade complement to the author's recent deep dive into embeddings.

https://vickiboykis.com/2024/01/05/retro-on-viberary/
ali-vilab / i2vgen-xl

Official repo for VGen: a holistic video generation ecosystem for video generation building on diffusion models

https://github.com/ali-vilab/i2vgen-xl
Experimenting with Handwriting Recognition for The New York Times Crossword

The article discusses the exploration of handwriting recognition in The New York Times Crossword app during the MakerWeek 2023 hackathon. The project involved implementing on-device machine learning for handwriting recognition on both iOS and Android platforms, with the potential for interactive features like "Scribble-to-Erase" detection and in-app self-training mechanisms.

https://open.nytimes.com/experimenting-with-handwriting-recognition-for-new-york-times-crossword-a78e08fec08f
Fun With Scrapy Link Validation on CI

How can you make sure, automatically, that all the links to other internal pages within a site continue to work? In this article, we look at how to use Scrapy, a web scraping tool, and GitHub Actions, a Continuous Integration system, to accomplish this goal.

https://www.mattlayman.com/blog/2024/fun-scrapy-validation-ci/
Deploying AI-powered Django apps to Modal.com

Modal is a great place to deploy Python apps that use AI models and require GPU. Here’s how to use Modal with Django apps.

https://tolkunov.dev/posts/django-on-modal/
A Deep Dive Into Python's functools.wraps Decorator

The article discusses the importance of the functools.wraps decorator in Python. It explains how the decorator helps to preserve metadata when wrapping one object over another, particularly when developing Python decorators. The author emphasizes the significance of this decorator due to the potential loss of valuable metadata from the encapsulated object.

https://jacobpadilla.com/articles/Functools-Deep-Dive
Using formatters and linters to manage a large codebase

At Kraken Tech we have a large global development team with over 500 developers, the majority of which work on the same monolithic codebase comprising more than 4 million lines of Python code. We release new code over 100 times a day, running hundreds of thousands of tests in the process. So how can we ensure high coding quality in a distributed team, with such frequent changes? And how ...

https://tech.octopus.energy/news/2024/01/05/linting-and-formatting.html