30 Seconds of Python is a curated collection of short, reusable Python code snippets designed for quick reference and immediate reuse. It provides an interactive browser that lets you explore snippets organized by tags, search across names and descriptions, and copy code to your clipboard with a single click.
The collection covers a broad range of common programming tasks, including list and dictionary operations, string formatting and manipulation, date and time calculations, and color format conversion. It also includes utilities for data transformation, such as converting between case styles, mapping values between ranges, and creating URL-friendly slugs.
The snippets are stored as individual Markdown files with YAML front matter, and the entire collection is pre-built into static HTML pages for instant loading. The browser interface displays each snippet as a self-contained card with a copy button and tag labels, and supports real-time filtering as you type.