principles
Prev: projects | Up: wiki | Next: compatibility
Rel: thoughtformula, wispsy, Foundation, compatibility, Python 3 Reference
Ref: wispsy on GitHub
Tags: #public #wispsy #principles #tier/core
Overview
The shared design philosophy and engineering guarantees connecting thoughtformula, wispsy, and ellainng. These explain why packages behave consistently across the ecosystem—context that rarely fits cleanly inside a single repository's README.md.
Shared Engineering Guarantees
- Bounded by Default: Parsers, HTTP clients, thread pools, validators, and execution harnesses enforce explicit limits (
max_bytes,max_nodes,max_depth,max_pending,max_steps,max_items). Limit breaches fail explicitly instead of silently truncating or exhausting memory. - Passive Imports & Zero Hidden Side Effects: Importing any package never opens files, databases, sockets, or background threads, never mutates global stdlib state (such as
urllibopeners or signal handlers), and never auto-activates installed plugins. - Stdlib-First & Zero-Dependency Foundations: Core packages rely on Python's standard library alone (
uv_build+unittest), keeping supply chains auditable and installation instant across macOS, Linux, Windows, and mobile environments. - Isolated Wheel & Sdist Qualification: Nearly every repository verifies both its wheel and source distribution outside the source checkout (
scripts/check_distribution.py) across Linux, macOS, and Windows before tag-driven OIDC PyPI Trusted Publishing.
Architectural Conventions
- Normalized Naming: GitHub repository slugs match PyPI
kebab-casedistribution names (while Python module imports remainsnake_case). - Ordinary Python In, Useful Surface Out: Frameworks like expose-interface, expose-api, and enforce-type wrap plain functions, dataclasses, and standard type annotations rather than requiring custom base classes.
- Modern Python Baseline: New packages target Python 3.14+ (leveraging t-strings and modern typing) while foundational libraries with broader reach keep deliberate floors down to 3.9–3.12 (see compatibility).
- Clean Org Graduation: Keep wispsy focused on reusable primitives and frameworks; move mature standalone apps to wispsy-labs or dedicated app organizations so plugins and companion repos have room to grow.
- Curated Horizontal Docs: Each repo owns its vertical API reference (
README.md+docs/); this wiki owns the cross-repo map, families, selection guides, and recipes.
Metadata
type: principles
applies_to:
- wispsy
- wispsy-labs
- thoughtformula
- ellainng
Linked from
Related notes
- wiki/compatibility Linked here; links to this page; shared tags: #tier, #wispsy
- wiki/orgs/wispsy Linked here; links to this page; shared tags: #tier, #wispsy
- wiki/stack/foundation Linked here; links to this page; shared tags: #tier, #wispsy
- wiki Linked here; links to this page; shared tags: #wispsy
- wiki/orgs/thoughtformula Linked here; links to this page; shared tags: #tier
- wiki/projects Linked here; links to this page; shared tags: #wispsy
- wiki/orgs/ellainng Linked here; shared tags: #tier, #wispsy
- wiki/orgs/wispsy-labs Linked here; shared tags: #tier, #wispsy
- wiki/projects/builtouts links to this page; shared tags: #tier, #wispsy
- wiki/projects/enforce-type Linked here; shared tags: #tier, #wispsy