link-khovanov
Compute distinct integral Khovanov homologies across component orientations of a link.
Installation
pip install link-khovanov
Usage example
from link_khovanov import link_khovanov
hopf = [[2, 3, 1, 4], [4, 1, 3, 2]]
for value in link_khovanov(hopf):
print(value)
Algorithm
The PD component graph is decomposed into oriented cycles. One global orientation is fixed because reversing every component simultaneously is redundant; the remaining 2^(n-1) orientation representatives are evaluated and duplicate homology strings are removed. Computation is delegated in batches to the Khovanov backend to avoid starting a new compiler or process for every orientation.
Input conventions
A PD code is represented as a list of four-entry crossings. Arc labels normally occur exactly twice. Public functions validate inputs and return new values rather than mutating caller-owned data unless their API explicitly says otherwise.
External software
- A C++14 compiler is required by the Khovanov backend on first use.
- No Java runtime is required.
Development
Run examples and package checks before release. Python packages require Python 3.10 or newer. Build PyPI artifacts with:
poetry check
poetry build
License
MIT. See LICENSE.
Metadata
Release files for link-khovanov 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| link_khovanov-0.1.2.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| link_khovanov-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / link_khovanov-0.1.2.tar.gz
| Download URL | link_khovanov-0.1.2.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03b57eaed29c99c055cbc8492aebf06643804658d38d8487dfb89dda05676781
|
|
BLAKE2b-256 checksum How to use checksums |
bda6a9bc3b7dd1badd004becaa6a2cdcae8b7436608a0a249857720a208c688e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.11.15 Windows/10
|
Release files / link_khovanov-0.1.2-py3-none-any.whl
| Download URL | link_khovanov-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d45ae1e1de32e956e7694e6774e4879b66d3c164b33651ab2bb5e671de060444
|
|
BLAKE2b-256 checksum How to use checksums |
4c82618cf1fb697123f492871cd87fa823ac28cb60783566602b0241ad87623d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.11.15 Windows/10
|