Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Python wrapper for Zoltán Szabó's HFK Calculator
_.
To install and test, do the following to install the current release
from PyPI
_::
python3 -m pip install knot_floer_homology python3 -m knot_floer_homology.test
You should see a result such as TestResults(failed=0, attempted=24)
.
In Python, do::
import knot_floer_homology PD = [(2,0,3,15),(0,6,1,5),(6,2,7,1),(3,10,4,11),(9,4,10,5),(7,12,8,13),(13,8,14,9),(11,14,12,15)] knot_floer_homology.pd_to_hfk(PD) {'L_space_knot': False, 'epsilon': 0, 'fibered': True, 'modulus': 2, 'nu': 0, 'ranks': {(-2, -2): 1, (-1, -1): 2, (0, 0): 3, (1, 1): 2, (2, 2): 1}, 'seifert_genus': 2, 'tau': 0, 'total_rank': 9}
It also accepts Spherogram
_ knots as input::
import spherogram L = spherogram.Link('K10n10') ans = knot_floer_homology.pd_to_hfk(L) ans['seifert_genus'] 3
It can also return the simplified UV = 0 knot Floer chain complex, do::
help(knot_floer_homology.pd_to_hfk)
for details.
Copyright Zoltán Szabó, Marc Culler, Nathan M. Dunfield, and Matthias
Goerner, 2017-present. This code is released under the GNU General Public License, version 2
_ or (at your option) any later version as
published by the Free Software Foundation.
.. _HFK Calculator: https://web.math.princeton.edu/~szabo/HFKcalc.html .. _PyPI: https://pypi.org .. _Spherogram: https://github.com/3-manifolds/Spherogram .. _GNU General Public License, version 2: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
FAQs
Python wrapper for Zoltán Szabó's HFK Calculator
We found that knot-floer-homology demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.