picop package#
Top-level package and public submodules. Prefer picop.hot for micro-opt starters.
Fast CPython C-API helpers for typed hot paths (dict, str, bytes, …).
Re-exports compiled Cython helpers from picop.cy* submodules. Prefer
picop.hot for micro-opt starters; full surface stays on picop /
picop.cy*. Soft Strategy B aliases were removed in 0.3 — see
picop.compat.COMPAT_MAP / __getattr__ migration hints.
Submodules#
Curated micro-opt starters — prefer |
|
Category facade: typed Core containers (dict / list / set / tuple). |
|
Category facade: bytes / bytearray / array / memoryview / buffer / slice. |
|
Category facade: abstract Protocols (mapping / sequence / number / object). |
|
Fast C-backed UUID values and version 4 generation. |
|
ANSI SGR escape sequences for terminals. |
|
Fast |
|
Boolean helpers. |
|
Buffer protocol helpers. |
|
Fast |
|
Fast |
|
Closure cell helpers. |
|
Codec registry helpers. |
|
Fast |
|
contextvars helpers. |
|
Conversion helpers. |
|
datetime.h helpers (imports DateTime C-API on load). |
|
Fast |
|
Descriptor helpers. |
|
Fast |
|
File-object helpers. |
|
Fast |
|
Function-object helpers. |
|
GC tuning helpers. |
|
Generator-object helpers. |
|
Iterator protocol helpers. |
|
Iterator object constructors. |
|
Fast |
|
Fast |
|
Mapping protocol helpers. |
|
Marshal helpers. |
|
Fast |
|
Bound-method helpers. |
|
Module / import helpers. |
|
Number protocol helpers. |
|
Object protocol helpers. |
|
Capsule helpers. |
|
Fast |
|
Sequence protocol helpers. |
|
Fast |
|
Fast |
|
Fast |
|
High-resolution time helpers. |
|
Fast |
|
Type-object helpers. |
|
Fast |
|
Weakref helpers. |