pyboxbuilder.sleeves.Sleeve¶
-
class pyboxbuilder.sleeves.Sleeve(brand: str, name: str, card_size: tuple[float, float], sleeve_size: tuple[float, float], thickness_microns: int | None =
None, pack_count: int | None =None, sku: str | None =None, grade: str | None =None)[source]¶ Bases:
objectA sleeve size sold by a brand in a particular thickness grade.
- card_size¶
(width, length)of the largest card that fits — the “inner card size max”.
- sleeve_size¶
(width, length)of the sleeve itself — the outside dimensions.
- grade¶
Thickness tier —
"Standard"or"Premium"(Mayday, Sleeve Kings),"Prime / Matte"or"Retro"(Gamegenic).
- fits(card_width: float, card_length: float) bool[source]¶
Return True if a card of the given size slides into this sleeve.