PythonHub
2.32K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
CPython Compiler Hardening

The article details the author's Google Summer of Code project to implement compiler hardening options for CPython, following recommendations from the OpenSSF Memory Safety SIG. It covers the process of selecting and testing compiler options, addressing challenges with benchmarking and cross-platform compatibility, and developing tooling to track and manage warnings generated by the new ...

http://nohlson.com/blog/CPython-Compiler-Hardening-Summer-Retrospective/
Build a One-Product Shop With the Python Django Framework and Htmx

This is the first of a two-part series using Django, htmx, and Stripe to create a one-product e-commerce website. In this part, we'll start our Django project and integrate it with htmx.

https://blog.appsignal.com/2024/08/28/build-a-one-product-shop-with-the-python-django-framework-and-htmx.html
NTLM Credential Theft in Python Windows Applications

The article discloses vulnerabilities in popular Python frameworks (Gradio, Jupyter Server, and Streamlit) that can lead to NTLMv2 hash theft on Windows systems through exploitation of file system operations. It explains how these vulnerabilities can be exploited, potentially leading to credential theft or remote code execution, and emphasizes the increased risk as Python applications be...

https://www.horizon3.ai/attack-research/disclosures/ntlm-credential-theft-in-python-windows-applications/
Quick and Easy Rate Limiting for FastAPI

If you don’t want your API to crash due to too many requests, use rate limiting! This video covers how rate limiting works, what types of rate limiting you can do, how to implement it in FastAPI, and what you need to be mindful of.

https://www.youtube.com/watch?v=pZunzLJ1qcQ
Layman's Guide to Python Built-in Functions

This is a plain language guide to every built-in function in Python, paired with a simple example that shows each function in action.

https://www.mattlayman.com/blog/2024/layman-guide-python-built-in-functions/
PyRoboCOP: Python-Based Robotic Control and Optimization Package

https://ieeexplore.ieee.org/abstract/document/10440590