PythonHub
2.42K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
genai-stack

This GenAI application stack will get you started building your own GenAI application in no time. The demo applications can serve as inspiration or as a starting point.

https://github.com/docker/genai-stack
Gsplat: CUDA accelerated rasterization of gaussians with Python bindings

https://docs.gsplat.studio/
Why can't python develop another version of python that is "compiled" instead of interpreted which is similar to c/c++ but the syntax still look like python syntax.

https://www.reddit.com/r/learnpython/comments/1791tnm/why_cant_python_develop_another_version_of_python/
Django Day Copenhagen 2023 Videos

The videos of the talks from the fourth edition of Django Day Copenhagen are now available.

https://www.youtube.com/playlist?list=PLEpW1LzVyQWgtT_i_IlUmx2FSP2jHcroX
Python 3.11 vs Python 3.12 – performance testing

This article describes the performance testing results of Python 3.12 compared to Python 3.11. A total of 91 various benchmark tests were conducted on computers with the AMD Ryzen 7000 series and the 13th-generation of Intel Core processors for desktops, laptops or mini PCs.

https://en.lewoniewski.info/2023/python-3-11-vs-python-3-12-performance-testing/
Building Custom Middleware in FastAPI

In this article you’ll see how to build custom middleware, enabling you to extend the functionality of your APIs in unique ways by building function-based and class-based middleware to modify request and response objects to suit your need and to handle rate limiting. You’ll also see how to write test cases and the best practices to follow.

https://semaphoreci.com/blog/custom-middleware-fastapi
Practical AI: HuggingFace Transformers and Diffusers for Beginners

This presentation provides a straightforward overview of the HuggingFace Transformers and Diffusers libraries. Aimed at those without a deep understanding of AI or ML, we’ll focus on practical, hands-on applications. We conclude by setting up a Flask app that generates AI images, demonstrating how these tools can be used to create useful applications.

https://www.youtube.com/watch?v=rK02eXm3mfI