Pie Stack is a versatile tool for monitoring and troubleshooting Python applications with support for various message brokers.
Starting in 2023, PyPI accounts associated with projects or organizations will be required to enable two-factor authentication (2FA) to enhance security and protect the software supply chain.
Deep dives
Pie Stack: Inspecting Stack Frames of Running Python Processes
Pie Stack is a tool that allows users to inspect the stack frames of a running Python process or a core dump captured from a crashed Python process. It provides detailed information about the function calls, including the specific file, line, and arguments. Pie Stack supports analyzing both pure Python apps and those with mixed code, such as C, C++, or Rust. It can be used in production environments to debug performance issues, identify deadlocks, understand CPU utilization, and more. Pie Stack works with various message brokers like RabbitMQ, Redis, Nats, Kafka, and SQS, making it a versatile tool for monitoring and troubleshooting Python applications.
Python Package Index (PyPI) Implements Mandatory Two-Factor Authentication
PyPI, the Python Package Index, has announced that starting in 2023, all PyPI accounts associated with projects or organizations will be required to enable two-factor authentication (2FA). This decision aims to enhance the security of Python projects and prevent unauthorized access or tampering. The new 2FA requirement is a response to the increasing number of attacks on Python packages and the need to protect the software supply chain. Users have until the end of the year to enable 2FA on their PyPI accounts. The announcement also includes instructions on how to set up 2FA and prepare for the new requirement.
Make File Tricks for Python Projects
Make files are a useful tool for managing Python projects, providing a way to automate tasks and define workflows. This article presents a template for a make file in Python projects, including various helpful features. The template includes functionality for specifying the Python interpreter, managing virtual environments, setting project paths, and more. It also demonstrates how to create a make file that generates a virtual environment, installs dependencies, and runs tests. The template is a practical starting point for developers who want to leverage make files to streamline their project workflows and automate common tasks.