Registry / data / passagemath-libbraiding

passagemath-libbraiding

JSON →
library10.8.4pypypiunverified

passagemath-libbraiding provides Python bindings to libbraiding for braid group computations (word reductions, conjugacy tests, etc.). It is part of the passagemath ecosystem. Current version: 10.8.4. Release cadence: follows passagemath releases, typically a few per year.

pip install passagemath-libbraiding
INSTALL
IMPORT
SIG · PASSAGEMATH-LIBBRA
P
passagemath-libbraiding
datapythonv10.8.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

BraidGroup
from passagemath_libbraiding import BraidGroup
from passagemath.braid import BraidGroup

Create a braid group on 4 strands, make a braid, and check conjugacy.

from passagemath.braid import BraidGroup B = BraidGroup(4) braid = B([1, -2, 3]) print(braid) print(braid.is_conjugate(B([2, -1, 3])))
Debug
Known issues
breakingIn passagemath 10.x, all imports moved from sage.* to passagemath.*. Old code using 'from sage.groups.braid import BraidGroup' will break.
fix
Replace 'sage.groups.braid' with 'passagemath.braid'.
affects: >=10.0
deprecatedpassagemath-libbraiding 10.8.x is the last release supporting Python 3.11; Python 3.12+ requires version 11+.
fix
Upgrade to passagemath-libbraiding >=11.0 when available for Python 3.12+ support.
affects: 10.x
gotchaThe libbraiding C library must be installed separately; passagemath-libbraiding only provides the Python bindings.
fix
Install libbraiding via system package manager (e.g., 'apt install libbraiding-dev') or use conda (includes it).
affects: *
Upgrade
Version history
10.8.4latest on PyPI · released Apr 20, 2026
Audit
Dependencies
passagemath-sage-objectsrequiredProvides base SageMath categories and objects.
cysignalsrequiredSignal handling for interrupts in Cython code.
passagemath-libbraiding-dataoptionalData files required for libbraiding computations.
Agent activity
2 hits · last 30 days
node
2
Resources
passagemath-libbraiding — pip install passagemath-libbraiding · libregistry