PythonHub
2.37K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
PySkyWiFi: completely free, unbelievably stupid wi-fi on long-haul flights

PySkyWiFi is a tool that allows free internet access on planes by exploiting a vulnerability in airline loyalty program websites. It works by sending HTTP requests through an airline account's name field, relaying them to a ground computer that makes the actual web requests, and sending responses back through the same channel.

https://robertheaton.com/pyskywifi/
How a Decorator Crashed My Flask App: Lessons Learned

The article explains how a decorator without functools.wraps caused a Flask app to crash by assigning the same name to multiple endpoints. It demonstrates the importance of using functools.wraps to maintain function metadata, thus preventing such errors.

https://suyogdahal.com.np/posts/how-decorator-crashed-my-flask-app/
PyCon US 2024 Videos

Couldn't attend PyCon US 2024? The videos of the talks have started trickling down.

https://www.youtube.com/playlist?list=PL2Uw4_HvXqvYhjub9bw4uDAmNtprgAvlJ
Rye: A Hassle-Free Python Experience

https://rye.astral.sh/
Crawlee

A web scraping and browser automation library for Python to build reliable crawlers. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with BeautifulSoup, Playwright, and raw HTTP. Both headful and headless mode. With proxy rotation.

https://github.com/apify/crawlee-python