quick-cppkh-interface
quick-cppkh-interface is a Python package for computing integer Khovanov
homology through quick_cppkh.
It keeps the familiar cppkh-interface style API:
import quick_cppkh_interface
pd_code = [[1, 5, 2, 4], [3, 1, 4, 6], [5, 3, 6, 2]]
print(quick_cppkh_interface.solve_khovanov(pd_code))
print(quick_cppkh_interface.solve_many_khovanov([pd_code, pd_code]))
The package ships C++ source code in built distributions and compiles local
executables on first use through cpp-simple-interface. The compiled
executables are cached for later calls:
quick_cppkhcppkhpd_simplify
The default homology path races direct cppkh against pd_simplify followed
by cppkh --no-simplify-pd, returning whichever successful route finishes
first.
Install
pip install quick-cppkh-interface
A g++ compatible compiler must be available at runtime. To select a compiler,
set CXX before importing or calling the package:
CXX=clang++ python your_script.py
Windows PowerShell:
$env:CXX = "C:\path\to\g++.exe"
python your_script.py
Build And Publish
From this directory:
poetry build
poetry publish
For local testing:
poetry run python -m quick_cppkh_interface "[[1,5,2,4], [3,1,4,6], [5,3,6,2]]"
Metadata
Release files for quick-cppkh-interface 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quick_cppkh_interface-0.1.0.tar.gz | 87.8 kB | Without provenance | Details for quick_cppkh_interface-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quick_cppkh_interface-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for quick_cppkh_interface-0.1.0-py3-none-any.whl |
Total release size: 178.0 kB
Release files / quick_cppkh_interface-0.1.0.tar.gz
| Download URL | quick_cppkh_interface-0.1.0.tar.gz |
|---|---|
| Size | 87.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e013ed88e28c8ac6e77399c02b24717618ba9bfa9419e6d41dca84fc532f8194
|
|
BLAKE2b-256 checksum How to use checksums |
b5c26cb9382056ad82941bbb8609ca1d8a44a1e211c24d6a2d86db791778b460
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.5 Windows/11
|
Release files / quick_cppkh_interface-0.1.0-py3-none-any.whl
| Download URL | quick_cppkh_interface-0.1.0-py3-none-any.whl |
|---|---|
| Size | 90.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d98b2bca0358b60b82d01e43c8e1b85e780764ac8632f7c10431ace6b46b496b
|
|
BLAKE2b-256 checksum How to use checksums |
f1c8dc29919e1ebe3252124b19cee6dfd9822d40610c7c88cc71a0066b7f4c23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.5 Windows/11
|
Security for quick-cppkh-interface 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.