How paulomtts/pyjinhx works
PyJinHx is a Python UI-component and server-rendering framework: developers define typed components and PJX templates, configure component discovery, then render nested components to HTML with collected assets. FastAPI integration can adapt requests and responses. Reactive components add memoized data loading, caching, invalidation, and fan-out updates. The graph follows documented workflow and source-index/import evidence; some built-in widgets and integrations are represented at directory level because their implementations were not sampled.
Main entry points: pipeline.py Render pipeline · base.py Typed components · component.py Reactive components · fastapi.py FastAPI adapter
Components 20
Component authoring
- Configuration
pyjinhx/config.py - Typed components
pyjinhx/components/base.py - Component discovery
pyjinhx/components/discovery.py - PJX scanner
pyjinhx/document/scanner.py - Template blocks
pyjinhx/document/template_blocks.py - Props headers
pyjinhx/components/props_header.py
Render pipeline
- Render pipeline
pyjinhx/rendering/pipeline.py - HTML segments
pyjinhx/rendering/segments.py - Render session
pyjinhx/rendering/session.py - Asset collection
pyjinhx/rendering/assets.py - Render cache
pyjinhx/rendering/render_cache.py
Reactive rendering
- Reactive components
pyjinhx/reactive/component.py - Reactive cache
pyjinhx/reactive/cache.py - Cache backend
pyjinhx/reactive/backend.py - Update fan-out
pyjinhx/reactive/fanout.py
Web integration
- FastAPI adapter
pyjinhx/integrations/fastapi.py - PJX responses
pyjinhx/integrations/responses.py - Browser client
pyjinhx/client/pjx.js
Built-in widgets
- UI component library
pyjinhx/builtins
Other components
- App developer
Connections 21
- App developer → Configuration: configures
pyjinhx/config.py - Configuration → Component discovery: builds registry
pyjinhx/config.py - App developer → Typed components: defines components
README.md - Typed components → Render pipeline: renders through
pyjinhx/components/base.py - Render pipeline → Component discovery: resolves tags
pyjinhx/rendering/pipeline.py - Render pipeline → HTML segments: parses markup
pyjinhx/rendering/pipeline.py - Render pipeline → Render session: uses session
pyjinhx/rendering/pipeline.py - Render pipeline → Asset collection: emits assets
pyjinhx/rendering/pipeline.py - Render pipeline → Render cache: uses cache
pyjinhx/rendering/pipeline.py - Typed components → PJX scanner: scans templates
pyjinhx/components/base.py - Props headers → PJX scanner: parses header syntax
pyjinhx/components/props_header.py - Template blocks → PJX scanner: uses scanner
pyjinhx/document/template_blocks.py - Typed components → Browser client: injects client
pyjinhx/components/base.py - App developer → FastAPI adapter: installs adapter
- FastAPI adapter → PJX responses: adapts responses
pyjinhx/integrations/fastapi.py - FastAPI adapter → Render session: scopes requests
pyjinhx/integrations/fastapi.py - Reactive components → Typed components: extends model
pyjinhx/reactive/component.py - Reactive components → Reactive cache: memoizes loads
pyjinhx/reactive/component.py - Reactive cache → Cache backend: uses backend
pyjinhx/reactive/cache.py - Reactive components → Update fan-out: supports updates
pyjinhx/reactive/fanout.py - App developer → UI component library: uses widgets
README.md