Registry / data / passagemath-cliquer

passagemath-cliquer

JSON →
library10.8.4pypypiunverified

A SageMath wrapper for the Cliquer library to find maximum cliques and enumerate cliques in graphs. Version 10.8.4 requires Python 3.11 to <3.15. Release cadence follows passagemath releases.

pip install passagemath-cliquer
INSTALL
IMPORT
SIG · PASSAGEMATH-CLIQUE
P
passagemath-cliquer
datapythonv10.8.4
Install
1.9s avg
Import
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 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
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.9s · import 0.000s · 19MB
17MB installed
● package 17MB
Code
Verified usage

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

CliquerBackend
from passagemath_cliquer import CliquerBackend
from sage.graphs.cliquer import CliquerBackend

Create a graph and use CliquerBackend to find a maximum clique.

from sage.graphs.cliquer import CliquerBackend from sage.graphs.graph import Graph g = Graph(5) g.add_edges([(0,1),(1,2),(2,3),(3,4),(0,2)]) backend = CliquerBackend(g) # Find a maximum clique max_clique = backend.clique_max() print(max_clique)
Debug
Known issues
breakingpassagemath-cliquer 10.8+ drops support for Python < 3.11. Ensure your environment uses Python 3.11-3.14.
fix
Upgrade Python to 3.11 or later.
affects: >=10.8
gotchaThe library is installed as passagemath-cliquer but the import path is sage.graphs.cliquer. Do not attempt to import directly from passagemath.cliquer.
fix
Use 'from sage.graphs.cliquer import ...'
affects: all
deprecatedThe older Cliquer function 'cliquer_max_clique' (lowercase) was deprecated and may be removed. Use CliquerBackend methods.
fix
Use CliquerBackend.clique_max() instead.
affects: <10.8
Upgrade
Version history
10.8.4latest on PyPI · released Apr 20, 2026
Audit
Dependencies
passagemathrequiredCore passagemath runtime and graph classes
cysignalsoptionalSignal handling for C library
Agent activity
2 hits · last 30 days
node
2
Resources
passagemath-cliquer — pip install passagemath-cliquer · libregistry