Registry / data / passagemath-sirocco

passagemath-sirocco

JSON →
library10.8.4pypypi✓ verified 79d ago

passagemath-sirocco provides certified root continuation for homotopy continuation methods, wrapping the sirocco C library. Version 10.8.4 requires Python >=3.11 and <3.15. Part of the passagemath ecosystem.

pip install passagemath-sirocco
INSTALL
IMPORT
SIG · PASSAGEMATH-SIROCC
P
passagemath-sirocco
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.

AbelianGroup
from passagemath_sirocco import AbelianGroup
import passagemath.sirocco
algebras
from sage import algebras
import passagemath.sirocco

Certifies root continuation for a homotopy from start solutions to target parameter.

import passagemath.sirocco as sirocco # Define a homotopy H(x,t) = (1-t)*f(x) + t*g(x) def H(x, t): return [x[0]**2 - 2 + (1-t)*0.0, x[0]*x[1] - 1 + (t-1)*0.0] start_solutions = [[1.4, 0.7], [-1.4, -0.7]] target_param = 1.0 result = sirocco.certified_continuation(H, start_solutions, target_param) print("Certified solutions:", result)
Debug
Known issues
breakingPython version requirement: <3.15,>=3.11. Will not install on Python 3.10 or older, or on Python 3.15+.
fix
Use Python 3.11-3.14.
affects: 10.8.4
gotchaThe sirocco module is not importable directly; always use 'import passagemath.sirocco'.
fix
Use 'import passagemath.sirocco' or 'from passagemath import sirocco'.
affects: all
gotchaHomotopy functions must return a list of expressions convertible to complex numbers; Python floats are fine but exact rationals may cause errors.
fix
Ensure homotopy evaluation returns floats or complex numbers.
affects: all
Upgrade
Version history
10.8.4latest on PyPI · released Apr 20, 2026
Audit
Dependencies
passagemathrequiredCore package; sirocco is an optional extension
Agent activity
4 hits · last 30 days
node
4
Resources
passagemath-sirocco — pip install passagemath-sirocco · libregistry