pycsa.core.var¶
Deprecation shim for the old monolithic var.py.
This module previously held six classes; they have been split into thematic submodules:
grid,topo,topo_cell→pycsa.data.cellanalysis→pycsa.data.resultsparams→pycsa.config.paramsobj→ deprecated; usetypes.SimpleNamespace
Re-exports keep from pycsa.core import var (and var.grid() /
var.params() / etc.) working for at least one release. New code
should import from the new locations directly.
Classes
|
Generic attribute bag. |
- class pycsa.core.var.obj¶
Generic attribute bag.
Deprecated since version Use:
types.SimpleNamespaceinstead. Retained as a deprecation alias because there are ~15 external callers (test fixtures, archived run scripts, inputs/) that still dotri = var.obj()to build attribute bags at runtime. Those call sites can migrate at their own pace.- __init__()¶
- print()¶
Print all attributes to stdout (legacy diagnostic helper).