Registry / passagemath-categories

passagemath-categories

JSON →
library10.8.4pypypiunverified

Part of the passagemath ecosystem, providing SageMath's category framework and basic rings. Current version 10.8.4, Python 3.11-3.14. Released every few months alongside passagemath releases.

pip install passagemath-categories
INSTALL
IMPORT
SIG · PASSAGEMATH-CATEGO
P
passagemath-categories
pythonv10.8.4
Install
9.6s avg
Import
Disk
243MB
Pass rate
8/ 10
Env Coverage8 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v10.6.48 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ —
✓ 10.4s
py 3.11
✓ —
✓ 6.8s
py 3.12
✓ —
✓ 6.9s
py 3.13
✕ build_error
✕ build_error
py 3.9
✓ —
✓ 14.3s
243MB installed
● package 243MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Category
from sage.categories.category import Category
from sage.categories.category import Category

Basic usage: import from sage namespace and use categories. Requires passagemath-conf and a passagemath environment.

from sage.all import * from sage.categories.rings import Rings print(Rings()) print(Category.super_categories_for_sets())
Debug
Known issues
breakingpassagemath-categories 10.8 splits off category framework from monolithic sage. Old 'from sage.all import *' still works but may break if you previously relied on sage.categories being loaded by default.
fix
Ensure 'passagemath-categories' is installed and import explicitely from sage.categories.
affects: 10.8+
deprecatedSome old categories like 'SetsWithPartialMaps' are deprecated or removed. Check the SageMath migration guide.
fix
Use the replacement as documented in SageMath release notes.
affects: >=10.0
gotchaImport paths differ from upstream SageMath. For example, 'sage.categories.all' works but not 'passagemath.categories.all'. Always use 'sage.categories.*'.
fix
Use 'from sage.categories import ...' instead of any passagemath prefixed import.
affects: all
gotchaPython version constraint: requires python >=3.11,<3.15. Not compatible with Python 3.15+ or 3.10 and below.
fix
Use a compatible Python interpreter (3.11-3.14).
affects: 10.8.x
Upgrade
Version history
10.8.4latest on PyPI · released Apr 20, 2026
Audit
Dependencies
passagemath-confrequiredCore configuration needed for any passagemath package
Agent activity
2 hits · last 30 days
node
2
Resources
passagemath-categories — pip install passagemath-categories · libregistry