PythonHub
2.41K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Python behind the scenes #12: how async/await works in Python

Concurrency is inherently hard, and no programming model can make it easy. Some models make it manageable, though, and this post should help you master one such model – Python's async/await.

https://tenthousandmeters.com/blog/python-behind-the-scenes-12-how-asyncawait-works-in-python/
Django Formsets Tutorial - Build dynamic forms with Htmx

Learn how to build dynamic forms with Django and Htmx.

https://justdjango.com/blog/dynamic-forms-in-django-htmx
Mastering Web Scraping in Python: Scaling to Distributed Crawling

Build your own distributed crawler with custom parsers per domain. Discover new pages and store the exact content you need — all in less than 300 LOC.

https://www.zenrows.com/blog/mastering-web-scraping-in-python-scaling-to-distributed-crawling
Experimenting with Python implementation of Host Identity Protocol

by Dmitriy Kuptsov

...

https://www.linuxjournal.com/content/experimenting-python-implementation-host-identity-protocol
Project Jupyter Celebrates 20 Years

Fernando Pérez Reflects On How It Started, Open Science’s Impact and the Value of Diversity in Coding.

https://data.berkeley.edu/news/project-jupyter-celebrates-20-years-fernando-perez-reflects-how-it-started-open-sciences
Token Authentication for django-rest-framework

Introduction
In a a previous article
I explained how to authenticate for your ...

https://spapas.github.io/2021/08/25/django-token-rest-auth/