pyboxbuilder.project.inventory.PieceEntry

class pyboxbuilder.project.inventory.PieceEntry(name: str, count: int | None)[source]

Bases: object

One grouped item entry stored inside a box.

format_short() → str[source]

Format as '5× Gear' when counted, or 'Cards' when bulk.

count : int | None

Exact count of pieces/wells if known, or None for an uncounted bulk compartment.

name : str

Human-readable piece or compartment name.