Part of the 5-example tutorial sequence (#388). Step 1: the simplest possible controller — a pure-soft "hello world" using the @attr decorator (the PyTango one-decorated-getter feel). No hardware backend, so it runs with zero external processes — the honest first rung.
Scope
- Add
src/fastcs/demo/hello_world.py: a tiny controller with one or two soft attributes via @attr/@attr_rw (no real IO — soft values), e.g. a greeting/counter. The point is to show the decorator spelling at its simplest.
- Unit tests.
Acceptance
uv run --locked tox -e pre-commit,type-checking,tests green.
ADR: 0018
Parent: #388
Blocked by: #397
Part of the 5-example tutorial sequence (#388). Step 1: the simplest possible controller — a pure-soft "hello world" using the
@attrdecorator (the PyTango one-decorated-getter feel). No hardware backend, so it runs with zero external processes — the honest first rung.Scope
src/fastcs/demo/hello_world.py: a tiny controller with one or two soft attributes via@attr/@attr_rw(no real IO — soft values), e.g. agreeting/counter. The point is to show the decorator spelling at its simplest.Acceptance
uv run --locked tox -e pre-commit,type-checking,testsgreen.ADR: 0018
Parent: #388
Blocked by: #397