Prompts-MCP 686 skills · ai / design / design-pattern / framework / fundamentals / habit / lang / tech-selection /mcp/sse
lang lang/python/stdlib/index.md medium

lang-python-stdlib-index

Python 标准库重点用法(collections / itertools / functools / pathlib / dataclasses / enum)。Use when 选数据结构 / 写迭代管道 / 缓存装饰器 / 处理文件路径 / 建数据模型。

子项索引

子项 一句话
py-stdlib-collections-toolkit skill collections 容器选型 — defaultdict / Counter / deque / namedtuple / ChainMap
py-stdlib-itertools-pipeline skill itertools 惰性迭代管道 — chain / groupby / islice / accumulate
py-stdlib-functools-toolkit skill functools 高阶工具 — lru_cache / cache / partial / wraps / singledispatch / cached_property
py-stdlib-pathlib-over-ospath skill pathlib.Path 面向对象路径取代 os.path — / 拼接 / read_text / glob / mkdir
py-stdlib-dataclasses-usage skill dataclasses 数据载体 — @dataclass / field / frozen / slots / __post_init__
py-stdlib-enum-usage skill enum 命名常量 — Enum / IntEnum / StrEnum / Flag + auto()