Skip to main content

javakh-interface

Provide a stable Python API for integral Khovanov homology computation.

Installation

pip install javakh-interface

Usage example

from javakh_interface import solve_khovanov

pd = [[1, 5, 2, 4], [3, 1, 4, 6], [5, 3, 6, 2]]
print(solve_khovanov(pd))

Algorithm

The public function validates the PD code, optionally simplifies Reidemeister-I and nugatory crossings, and sends the normalized PD[X[...]] document to the high-performance integer Khovanov backend. The backend constructs the cube of resolutions, composes cobordism maps, performs chain-complex reductions, and reports the bigraded free and torsion groups in q^...*t^...*Z[...] form. The wrapper preserves the historical solve_khovanov signature.

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 such as GCC or Clang is required the first time the backend is compiled.
  • A Java runtime is not required by the current implementation.

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

javakh_interface-0.2.1.tar.gz (815.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

javakh_interface-0.2.1-py3-none-any.whl (886.7 kB view details)

Uploaded Python 3

File details

Details for the file javakh_interface-0.2.1.tar.gz.

File metadata

  • Download URL: javakh_interface-0.2.1.tar.gz
  • Upload date:
  • Size: 815.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.11.15 Windows/10

File hashes

Hashes for javakh_interface-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6282fc75c970496384cef2fb577c159bd87f7c5b1d04a1e86d24385921b38c24
MD5 ad3e32d53a4a1fb6a70e8b6819592f37
BLAKE2b-256 d07dc71433b6519635563a79d3ad4123119db6ad2094a4e6abbc0f2c49f4aeba

See more details on using hashes here.

File details

Details for the file javakh_interface-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: javakh_interface-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 886.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.11.15 Windows/10

File hashes

Hashes for javakh_interface-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d62a7ef1615f107ae5a3e7f887ca3598fe8e3b2d686374018b2bec12b329bbdd
MD5 bd9fa15423353f3841321713c47292e5
BLAKE2b-256 934af340933dc8078e70ac38c8c5b873d85dacdb08cffef2c03ef00da8251b17

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page