Core library for mathematical object infrastructure in the passagemath ecosystem. Provides base classes for Sage-like elements, parents, categories, coercion framework, and metaclasses. Part of the passagemath distribution (successor to SageMath components). Current version 10.8.4, supports Python 3.11-3.14. Released as part of passagemath v10.8.x series.
pip install passagemath-objectsVerified import paths — ran on the pinned version, not inferred.
Create a custom parent class with category support using passagemath-objects.
Replace sage structure imports with passagemath.objects.*
Replace `CategoryInfinite()` with `Category(is_finite=False)`
Call `CoercionModel()._init_coercion()` after creation or use `from passagemath.objects.parent import Parent` which sets it up automatically.
Use `gc.collect()` after cycles or call `Element._reset_cache()` periodically.