{"library":"passagemath-objects","title":"passagemath-objects","description":"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.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install passagemath-objects","pip install passagemath[objects]"],"cli":null},"imports":["from passagemath.objects.parent import Parent","from passagemath.objects.element import Element","from passagemath.objects.category import Category","from passagemath.objects.coerce import CoercionModel"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from passagemath.objects.parent import Parent\nfrom passagemath.objects.element import Element\nfrom passagemath.objects.category import Category\n\nclass MyParent(Parent):\n    def __init__(self):\n        super().__init__(category=Category())\n\np = MyParent()\nprint(isinstance(p, Parent))  # True","lang":"python","description":"Create a custom parent class with category support using passagemath-objects.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}