PythonHub
2.37K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
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
Why I Still Use Python Virtual Environments in Docker

The article argues for using Python virtual environments in Docker containers, citing benefits like predictability, standardization, and easier debugging. The author contends that virtual environments provide a consistent, well-understood structure for Python applications, making communication and deployment across teams more straightforward, while also simplifying Python's import behavior.

https://hynek.me/articles/docker-virtualenv/
Maximizing Python Code Efficiency: Strategies to Overcome Common Performance Hurdles

This article talks about performance issues caused by nested loops and memory allocation issues. It provides strategies to overcome these issues while improving efficiency.

https://towardsdatascience.com/maximizing-python-code-efficiency-strategies-to-overcome-common-performance-hurdles-c6292610d785
Taming the beast that is the Django ORM - An introduction

The Django ORM, how it compares to raw SQL and gotchas that you should be aware of when using it

https://www.davidhang.com/blog/2024-09-01-taming-the-django-orm/
👌2