PythonHub
2.44K subscribers
2.35K photos
49.3K 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/
requests-cache

requests-cache is a transparent, persistent cache for the python requests library. It can substantially improve performance and reduce network traffic, making it an ideal companion for almost any application using requests.

https://github.com/reclosedev/requests-cache/
7 Amazing Python Libraries For Natural Language Processing

These libraries will help you deal with text dataContinue reading on Towards Data Science ...

https://towardsdatascience.com/7-amazing-python-libraries-for-natural-language-processing-50ca6f9f5f11
Building Search Functionality With Python, Flask, and Elasticsearch

This is presented in four parts: Introduction to web applications and how to build a search feature, Adding search functionality and implementing synonyms, curations, and relevance, Dockerizing and deploying in a cloud, Collecting logs and traces to better understand the application's performance.

https://www.youtube.com/watch?v=uZfpKY5qtCI
Six Bad Manners that Make Your Python Program Slower

Common problems in Python code that are usually neglectedContinue reading on Towards Data Science ...

https://towardsdatascience.com/6-bad-manners-makes-your-python-program-slower-15b6fce62927