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.

Metadata

Release files for javakh-interface 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for javakh-interface 0.2.2
File Size Uploaded
javakh_interface-0.2.2.tar.gz 815.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for javakh-interface 0.2.2
File Interpreter ABI Platform
javakh_interface-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.7 MB

Release files / javakh_interface-0.2.2.tar.gz

Download URL javakh_interface-0.2.2.tar.gz
Size 815.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d76af27fe2d03222562cbabd98f7113e945f0dbefc7a181d70c3e8374dfa72cd
BLAKE2b-256 checksum
How to use checksums
87487f56a797ce1b4d9431f16d3f4c17c33fa3961d5c4cbc822f61e59698e04e
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 / javakh_interface-0.2.2-py3-none-any.whl

Download URL javakh_interface-0.2.2-py3-none-any.whl
Size 886.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b47760c7209aae618c21a2bcd2609daa8d9bdfca46295b42eae050aa7743ddb
BLAKE2b-256 checksum
How to use checksums
e187ecf44a3bf6fb769c93a0f88de267f600c74575abd0774f67c3c3a9ab8424
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.11.15 Windows/10

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page