Feature anatomy

A feature is an independent Python package that adds one capability to your product. It ships its own models, routes, templates, migrations, assets, tests and configuration. It is also a unit of variability in the SPL, with declared dependencies, a versioned contract and a lifecycle you can observe.

The parts of a feature package splent_feature_notes Contract pyproject.toml provides, requires extension points Code models.py services.py routes.py hooks.py Interface templates/ assets/ translations/ Data migrations/ seeders.py its own tables Server docker/ optional, its own containers tests/ unit, integration, functional, e2e and load, run by feature:test
Everything a capability needs travels in one package. Which parts a feature has depends on its archetype.

Table of contents


Back to top

splent. Distributed by an LGPL license v3. Contact us: drorganvidez@us.es