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.2.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.2-py3-none-any.whl (886.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: javakh_interface-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d76af27fe2d03222562cbabd98f7113e945f0dbefc7a181d70c3e8374dfa72cd
MD5 d39416ab772e8ac6eb176ada589e9f1e
BLAKE2b-256 87487f56a797ce1b4d9431f16d3f4c17c33fa3961d5c4cbc822f61e59698e04e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: javakh_interface-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8b47760c7209aae618c21a2bcd2609daa8d9bdfca46295b42eae050aa7743ddb
MD5 dc164fe91da7e616150eada5076dee0a
BLAKE2b-256 e187ecf44a3bf6fb769c93a0f88de267f600c74575abd0774f67c3c3a9ab8424

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