Tagged articles
PyPI
30 articles · Page 1 of 1
A step-by-step guide to publishing a Python SDK to PyPI using uv for building, TestPyPI for validation, and GitHub Actions with Trusted Publishing for automated releases, covering pyproject.toml configuration, versioning pitfalls, mirror sync delays, and OIDC-based credentialless uploads.
GitHub ActionsPyPIPython packaging
0 likes · 22 min read

OceanLotus (APT32) hijacked three innocuous PyPI packages—uuid32-utils, colorinal, and termncolor—to drop the ZiChatBot malware, which persists via registry or crontab and communicates through the Zulip public chat REST API, making its traffic indistinguishable from legitimate developer traffic and evading network‑based detection.
OceanLotusPyPIZiChatBot
0 likes · 11 min read

In March 2026, attackers hijacked the official PyPI maintainer account of LiteLLM, released two malicious versions that were downloaded 46,996 times in 46 minutes, exfiltrated credentials, launched a fork‑bomb, and demonstrated how unpinned dependencies and .pth files can turn a simple package install into a full‑scale supply‑chain breach.
KubernetesLiteLLMPyPI
0 likes · 12 min read

The article details how compromised LiteLLM versions 1.82.7 and 1.82.8 on PyPI embed a malicious .pth file that runs on every Python start, harvests credentials, exfiltrates them via an unauthenticated endpoint, and creates Kubernetes pods for lateral movement, then provides detection and remediation steps.
KubernetesLiteLLMPyPI
0 likes · 6 min read

This article examines the 22 most‑used Python packages on PyPI, explaining their core functionality, download statistics, and typical use cases—from HTTP clients like urllib3 to compatibility tools like six, security libraries such as certifi and rsa, and utility modules for dates, YAML, and concurrency—providing developers with a concise guide to essential Python tooling.
PyPIPythondevelopment
0 likes · 20 min read

This guide explains how to use a dedicated Oh My Zsh plugin to quickly switch and test PyPI mirror sources, improving package download speed for Python developers, especially in China, with step‑by‑step installation, usage commands, and a comprehensive list of supported mirrors.
PyPIPythoncli
0 likes · 5 min read

The article presents a curated list of the 22 most downloaded Python packages on PyPI, explains what each library does, why it is popular, and includes practical code examples and visual illustrations to help developers quickly understand and adopt these essential tools.
LibrariesPyPIpackages
0 likes · 20 min read

This article walks through the complete process of creating, testing, and publishing a streamable HTTP MCP server using the official MCP SDK, covering environment setup with Anaconda and uv, project structuring, code implementation, tool integration, Inspector testing, PyPI deployment, and client verification with CherryStudio.
ASGICherryStudioMCP
0 likes · 16 min read

This tutorial explains why Python projects need packaging, introduces essential tools like setuptools, wheel, and twine, shows the recommended project layout, walks through creating a setup.py file, building distribution files, testing locally, uploading to PyPI, and handling version updates and common questions.
PyPITwinepackaging
0 likes · 8 min read

This article examines the current top Python packages on PyPI, revealing that AWS‑related libraries such as Boto3, urllib3, Botocore, aiobotocore, and Requests lead the rankings, and provides installation commands, usage notes, and environment‑variable setup details.
AWSBackendBoto3
0 likes · 7 min read


21CTOOct 28, 2024 · Backend Development
This article reveals the surprising top‑five Python packages on PyPI, explains why popular libraries like NumPy and Pandas are not among them, and provides installation details and key features for each of the leading packages such as boto3, urllib3, botocore, aiobotocore, and Requests.
BackendBoto3PyPI
0 likes · 7 min read

This article walks through creating the Mofish Python library, using Click to build a command‑line tool that shows days remaining to holidays, packaging it with setuptools, and publishing the package to PyPI for easy installation and use.
PyPIPythonclick
0 likes · 10 min read

This guide explains how to use the Oh My Zsh pypi plugin to list, switch, and test various PyPI mirror sources, improving package download speeds for developers, especially those in mainland China, by providing simple CLI commands and connectivity checks.
PyPIPythoncli
0 likes · 6 min read

This article reviews the most downloaded Python packages on PyPI over the last year, explaining each library's purpose, key features, usage examples, and why they are popular among developers, covering tools for HTTP, compatibility, AWS, data handling, security, and more.
AWSPyPIPython
0 likes · 16 min read

This article lists the 22 most downloaded Python packages on PyPI over the past year, explains their functionality, interrelationships, and provides code examples, highlighting why they are popular and offering guidance on their usage and alternatives.
LibrariesPyPIPython
0 likes · 20 min read

This article surveys the 22 most downloaded Python packages on PyPI, explains their primary functions, shows typical usage examples, and highlights why they are popular across various development domains, providing practical insights for Python developers.
LibrariesPyPIPython
0 likes · 19 min read

This article reviews the most downloaded Python packages on PyPI over the past year, detailing their functions, popularity rankings, key features, and example usage, covering tools such as urllib3, six, botocore, pip, requests, certifi, RSA, and more.
LibrariesPyPIPython
0 likes · 16 min read

This article reviews the fifteen most downloaded Python packages on PyPI, explaining each library's purpose, key features, typical use cases, and providing code examples to illustrate how they simplify tasks such as HTTP requests, compatibility, AWS interaction, date handling, security, and data processing.
LibrariesPyPIPython
0 likes · 15 min read

This article reviews the fifteen Python packages with the highest download counts on PyPI over the past year, explaining each library's purpose, key features, typical use‑cases, and providing code snippets to illustrate how they are used in real projects.
PyPIPythonpopular packages
0 likes · 16 min read

This article demonstrates how to apply the SLSA (Supply chain Levels for Software Artifacts) framework to the Python ecosystem by building clean packages, generating provenance statements, uploading them to PyPI, and verifying the package origin using GitHub Actions and the slsa‑verifier tool.
GitHub ActionsPyPIPython
0 likes · 10 min read

This article provides a comprehensive overview of Python package management tools—including PyPI, setuptools, pip, virtualenv, and conda—explaining their purposes, core features, and basic usage commands for creating, sharing, and managing Python packages and environments.
PyPIPythonconda
0 likes · 5 min read

This article reviews the fifteen Python packages with the highest download counts on PyPI over the past year, explaining each library's purpose, key features, typical use‑cases, and providing code examples to illustrate how they simplify tasks such as HTTP requests, compatibility, cloud interaction, configuration, security, and data handling.
PyPIPythoncloud
0 likes · 15 min read

This article lists the most downloaded Python packages on PyPI over the past year, explains each library’s main features, typical use cases, and why they are popular, and includes code snippets demonstrating common operations such as HTTP requests, date parsing, and RSA encryption.
PyPIPythonpip
0 likes · 15 min read


21CTOMay 26, 2022 · Information Security
Recent investigations reveal that the malicious PyPI package “ctx” harvested environment variables, encoded them in base64, and sent them to a Heroku endpoint, while attackers also hijacked the package’s maintainer account via domain takeover, highlighting serious vulnerabilities in PyPI’s package and account security processes.
Domain HijackingPyPIPython
0 likes · 5 min read


21CTOJan 19, 2022 · Fundamentals
This article examines the 22 Python packages with the highest download counts on PyPI, explaining their functionality, popularity, and interdependencies, and provides practical code examples and usage tips, helping developers understand which libraries dominate the ecosystem and how they can be leveraged in real‑world projects.
PyPIlibrary overviewpopular packages
0 likes · 21 min read

This article explains how to install Twine, create source and wheel distributions, upload packages securely to PyPI or TestPyPI, use signing with GPG, configure authentication via .pypirc or environment variables, and provides examples of common Twine sub‑commands and a custom upload command.
ConfigurationGPGPyPI
0 likes · 7 min read

A simple typo when using pip can install a malicious PyPI package that hides cryptomining code, and security researchers have uncovered dozens of such deceptive packages, highlighting the supply‑chain risks of Python's package ecosystem and offering practical mitigation steps.
PyPIPythonSecurity
0 likes · 5 min read

A wave of malicious PyPI packages named after popular movies and TV shows, many containing spam keywords and stolen code, exposed supply‑chain risks and prompted urgent cleanup by maintainers, highlighting the need for developers to verify packages before use.
PyPIPythonSoftware Supply Chain
0 likes · 4 min read

This article surveys the 22 most downloaded Python packages on PyPI, explains their primary functions, shows typical usage examples, and discusses why they are so popular across various development scenarios, providing practical insights for Python developers.
LibrariesPyPIPython
0 likes · 20 min read

This guide walks you through setting up a Python project structure, creating essential packaging files, organizing modules into packages, building distribution archives, and finally uploading the library to PyPI using Twine, enabling others to install it via pip.
PyPIPythonlibrary development
0 likes · 6 min read
