AcctType: Account Classification#

class means.types.AcctType.AcctType(*values)#

The fundamental classification of an account: balance vs. flow, positive vs. negative.

I Parsing and Display#

classmethod AcctType.read(value: Self | str | int | list) → Self#

Parse an account type from a raw value, using only the first segment of path strings.

Parameters:

value – The raw value; strings may be full account paths like costs:sh:food.

Returns:

The matching enum member.

AcctType.idx#

The canonical digit for this type, used to build transaction-type masks.

AcctType.symbol() → str#

Return the single-character symbol for this type.

One of +, -, >, <, or ?.