loom-kernel documentation¶
Framework-agnostic toolkit to build backend applications with typed use cases, repository contracts, and transport adapters.
Official hosted documentation: loom-py.readthedocs.io. Companion demo application: dummy-loom.
Getting Started
REST
- Auto-CRUD
- Use-case DSL
- Anatomy of a use case
- Commands
- F — typed field reference
- Input markers
- Compute — derive and normalise fields
- Rule — validate before execute
- Predicate composition
- Full use case example — update with all DSL features
- Declaring use cases on a REST interface
- Cross-use-case calls with ApplicationInvoker
- DSL quick-reference
- Celery worker
- Examples repo
- REST Testing
ETL
- ETL
- Install
- Minimal pipeline
- File source with JSON payload + final CSV report
- File aliases (FileLocator)
- YAML config (Polars path)
- Write modes
- Running only selected stages
- Spark runtime
- Testing ETL steps
- File aliases (FileLocator)
- Loading config from cloud storage
- Pluggable config resolvers
- End-to-end example
- API reference
- ETL Testing
- ETL Examples
Reference