PythonHub
2.32K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Elixir basics for Pythonistas

The article provides a comprehensive introduction to Elixir for Python developers, covering key concepts and syntax differences between the two languages. It explores Elixir's functional programming paradigm, pattern matching, concurrency model, and other distinctive features, offering practical examples and comparisons to help Pythonistas transition to Elixir programming.

https://gogacodes.notion.site/Elixir-basics-for-Pythonistas-8afc4245034d4df9a3bc6fd646d739bf
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