PythonHub
2.33K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Tutorial: How to rate limit Python async API requests

With an example that performs 100 simultaneous requests to the Etherscan API

https://elnaril.hashnode.dev/how-to-rate-limit-python-async-requests-to-etherscan-and-other-apis
Proposal for a Django project template

The author's take on what could be a project template for Django advanced usage, with modern tooling (for Python and UI dependencies, as well as configuration/environment management), but not too opinionated.

https://david.guillot.me/en/posts/tech/proposal-for-a-django-project-template/
Everything I've learned so far about running local LLMs

A post about running large language models (LLMs) locally on a computer. It discusses what LLMs are and how to set them up to run on your own machine. The article also covers some of the limitations of LLMs, but highlights their potential for tasks like proofreading and creative writing.

https://nullprogram.com/blog/2024/11/10
Introducing DjangoVer

The article introduces DjangoVer, a versioning system for Django-related packages that aligns the package version with the latest supported Django feature release. It provides clarity on compatibility, signaling maintenance and compatibility status through the version number while addressing limitations of traditional versioning systems like Semantic Versioning.

https://www.b-list.org/weblog/2024/nov/18/djangover/
Is async django ready for prime time?

Explore async Django's readiness for production use, its benefits, challenges, and how AI workloads can leverage its capabilities effectively.

https://jonathanadly.com/is-async-django-ready-for-prime-time
Is Python Really That Slow?

The post explores Python's perceived slowness, highlighting that it stems from its interpreted nature and focus on developer productivity rather than raw performance. By leveraging tools like C extensions, async programming, or just-in-time compilers, developers can often overcome performance concerns effectively.

https://blog.miguelgrinberg.com/post/is-python-really-that-slow
garak

garak checks if an LLM can be made to fail in a way we don't want. garak probes for hallucination, data leakage, prompt injection, misinformation, toxicity generation, jailbreaks, and many other weaknesses.

https://github.com/NVIDIA/garak