passagemath-homfly
passagemath: Homfly polynomials of knots/links with libhomfly
Decision gist · record as of 2026-08-14
Yes, if you need to compute Homfly polynomials for knots and links. The package is actively maintained, supports current Python versions, has no known vulnerabilities, and provides convenient pip installation with pre-built wheels. The copyleft GPL-2.0-or-later license requires that derivative works remain open-source. Install friction is moderate but manageable for the specialized mathematical use case.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11–3.14; depends on cysignals runtime library.
- Medium install friction due to compiled wheel dependencies.
- Package is actively maintained with releases within days, supports Python 3.11–3.14, and provides pre-built wheels across macOS, Linux, and Windows platforms.
License · maintenance · safety
GPL-2.0-or-later (copyleft) — Licensed under GPL-2.0-or-later (copyleft). Use requires compliance with GPLv2+ terms; derivative works and distributions must be released under compatible open-source licenses.
last release 2026-08-09 (5 days) · last repo commit 2026-08-14 · 102 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 82,335 downloads/mo, #14,169 on PyPI
Alternatives
Verify before relying
pip install passagemath-homfly
from sage.libs.homfly import homfly_polynomial_dict
trefoil = '1 6 0 1 1 -1 2 1 0 -1 1 1 2 -1 0 1 1 1 2 1'
result = homfly_polynomial_dict(trefoil)- Exact API surface and supported knot/link representation formats beyond the example shown.
- Performance characteristics and scalability limits for large or complex knot diagrams.
- Compatibility details with different cysignals versions.
What it is and what it does
passagemath-homfly wraps libhomfly, a C library for computing Homfly polynomials—a key invariant in knot theory. It exposes a Cython interface allowing Python developers to compute polynomial invariants for knots and links. The package is part of the passagemath ecosystem, a modularized fork designed for pip-installable distribution and integration with the scientific Python ecosystem.
The library accepts knot and link diagrams in a specific string format and returns polynomial coefficients as dictionaries. It is actively maintained with recent releases and broad platform support including macOS, Linux, and Windows. The package depends on cysignals for signal handling and requires Python 3.11 or later.
Use it for
- Compute Homfly polynomial invariants for knot diagrams in research or educational settings.
- Integrate knot invariant computation into larger mathematical software pipelines.
- Verify knot equivalence or distinguish non-equivalent knots using polynomial invariants.
- Analyze topological properties of links in computational geometry or topology projects.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to compute Homfly polynomials for knots and links.
The package is actively maintained, supports current Python versions, has no known vulnerabilities, and provides convenient pip installation with pre-built wheels. The copyleft GPL-2.0-or-later license requires that derivative works remain open-source. Install friction is moderate but manageable for the specialized mathematical use case.
Install
passagemath-homfly on PyPI
Before you install
Medium install friction due to compiled wheel dependencies. Package is actively maintained with releases within days, supports Python 3.11–3.14, and provides pre-built wheels across macOS, Linux, and Windows platforms.
Requires Python 3.11–3.14; depends on cysignals runtime library.
License in practice
Licensed under GPL-2.0-or-later (copyleft). Use requires compliance with GPLv2+ terms; derivative works and distributions must be released under compatible open-source licenses.
Quickstart
pip install passagemath-homfly
from sage.libs.homfly import homfly_polynomial_dict
trefoil = '1 6 0 1 1 -1 2 1 0 -1 1 1 2 -1 0 1 1 1 2 1'
result = homfly_polynomial_dict(trefoil)
Verify before relying
- Exact API surface and supported knot/link representation formats beyond the example shown.
- Performance characteristics and scalability limits for large or complex knot diagrams.
- Compatibility details with different cysignals versions.
Package facts
| License | GPL-2.0-or-later copyleft |
| Python support | Supports the current Python release <3.15,>=3.11 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packagecysignals |
| Maintenance | Actively maintained 5 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 82,335 / month, #14,169 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 6 - MatureIntended Audience :: EducationIntended Audience :: Science/ResearchOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTopic :: Scientific/Engineering :: Mathematics |
Evidence: passagemath_homfly-10.8.9-cp311-cp311-macosx_13_0_arm64.whl; passagemath_homfly-10.8.9-cp311-cp311-macosx_13_0_x86_64.whl; passagemath_homfly-10.8.9-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; passagemath_homfly-10.8.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; passagemath_homfly-10.8.9-cp311-cp311-musllinux_1_2_aarch64.whl; passagemath_homfly-10.8.9-cp311-cp311-musllinux_1_2_x86_64.whl; passagemath_homfly-10.8.9-cp311-cp311-win_amd64.whl; passagemath_homfly-10.8.9-cp312-cp312-macosx_13_0_arm64.whl; passagemath_homfly-10.8.9-cp312-cp312-macosx_13_0_x86_64.whl; passagemath_homfly-10.8.9-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; passagemath_homfly-10.8.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; passagemath_homfly-10.8.9-cp312-cp312-musllinux_1_2_aarch64.whl; passagemath_homfly-10.8.9-cp312-cp312-musllinux_1_2_x86_64.whl; passagemath_homfly-10.8.9-cp312-cp312-win_amd64.whl; passagemath_homfly-10.8.9-cp313-cp313-macosx_13_0_arm64.whl; passagemath_homfly-10.8.9-cp313-cp313-macosx_13_0_x86_64.whl; passagemath_homfly-10.8.9-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; passagemath_homfly-10.8.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; passagemath_homfly-10.8.9-cp313-cp313-musllinux_1_2_aarch64.whl; passagemath_homfly-10.8.9-cp313-cp313-musllinux_1_2_x86_64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “homfly polynomial knot”
- passagemath-homflyProvides a Python interface to libhomfly for computing Homfly…
- ropwrRoPWR computes optimal piecewise polynomial regression with support…
- ckzgProvides Python bindings to C-KZG-4844, a cryptographic library…
Give your agent the search over MCP, or paste the wish link into any chat.
More Mathematics packages
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.
Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.
SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.
onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.
Install it if you have ONNX models to run in production or development.
See also passagemath-categories · passagemath-objects · passagemath-gap · sagemath · sphinxcontrib-jsmath · fpylll · audmath · pyudorandom