passagemath-homfly provides computation of Homfly polynomials for knots and links using libhomfly, integrated with the passagemath ecosystem. Current version 10.8.4, requiring Python ≥3.11 and <3.15. Follows passagemath release cadence; stable maintenance.
pip install passagemath-homflyVerified import paths — ran on the pinned version, not inferred.
Compute the Homfly polynomial of a trefoil knot. Requires SageMath environment.
Always use 'from passagemath.homfly import link_homfly_polynomial'
Wrap knot name in Knot('3_1') or Link().Upgrade to 10.8.4 and use Python 3.11-3.14.