Skip to main content

Installation

pip install kahipwrapper

Usage

from kahipwrapper import kaHIP

vwgt = None
xadj = [0,2,5,7,9,12]
adjcwgt = [1,1,1,1,1,1,1,1,1,1,1,1]
adjncy = [1,4,0,2,4,1,3,2,4,0,1,3]
nparts = 2
imbalance = 0.03
suppress_output = False
mode = kaHIP.STRONG
seed = 0

ncount = len(xadj) - 1
nparts = 2

print(ncount)

print(kaHIP.kaffpa_balance_NE(ncount, vwgt, xadj, adjcwgt, adjncy,
                              nparts, imbalance, suppress_output,
                              seed, mode))
print(kaHIP.kaffpa(ncount, vwgt, xadj, adjcwgt, adjncy, nparts,
                   imbalance, suppress_output, seed, mode))

print(kaHIP.node_separator(ncount, vwgt, xadj, adjcwgt, adjncy, nparts,
                           imbalance, suppress_output, seed, mode))

For more information, please visit KaHIP site here

Metadata

Release files for kahipwrapper 0.1.7

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

Built distributions (wheels)

Table of built distributions (wheels) for kahipwrapper 0.1.7
File
kahipwrapper-0.1.7-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
kahipwrapper-0.1.7-cp35-cp35m-manylinux1_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 Details
kahipwrapper-0.1.7-cp34-cp34m-manylinux1_x86_64.whl CPython 3.4 CPython 3.4 pymalloc Linux glibc 2.5+ x86-64 Details
kahipwrapper-0.1.7-cp33-cp33m-manylinux1_x86_64.whl CPython 3.3 CPython 3.3 pymalloc Linux glibc 2.5+ x86-64 Details
kahipwrapper-0.1.7-cp27-cp27mu-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 Details
kahipwrapper-0.1.7-cp27-cp27m-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64 Details
kahipwrapper-0.1.7-cp26-cp26mu-manylinux1_x86_64.whl CPython 2.6 CPython 2.6 pymalloc wide-unicode Linux glibc 2.5+ x86-64 Details
kahipwrapper-0.1.7-cp26-cp26m-manylinux1_x86_64.whl CPython 2.6 CPython 2.6 pymalloc Linux glibc 2.5+ x86-64 Details

Total release size: 4.7 MB

Release files / kahipwrapper-0.1.7-cp36-cp36m-manylinux1_x86_64.whl

Download URL kahipwrapper-0.1.7-cp36-cp36m-manylinux1_x86_64.whl
Size 595.8 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
87a3af51781b59c0205cbe505b7e81219675e99df764a56dc427b59e54f83338
BLAKE2b-256 checksum
How to use checksums
3b62d6530527e15961b569425312dceb834f529c26a47eb5b3f192ec212cae5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / kahipwrapper-0.1.7-cp35-cp35m-manylinux1_x86_64.whl

Download URL kahipwrapper-0.1.7-cp35-cp35m-manylinux1_x86_64.whl
Size 595.8 kB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
5b8eb66ad5a580f174ca1ec081956b2346ddd3d81a9cb0ab7590a6e927bc9910
BLAKE2b-256 checksum
How to use checksums
dbe497c0d91c924e8ca858cb5b5e4335a4761f83a6a4931b4d5a19c49f2f331b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / kahipwrapper-0.1.7-cp34-cp34m-manylinux1_x86_64.whl

Download URL kahipwrapper-0.1.7-cp34-cp34m-manylinux1_x86_64.whl
Size 595.7 kB
Tags CPython 3.4 CPython 3.4 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
f352c3e4cd079897036554ba14f55ce7def1942784ee6b2483a01f0439c07c21
BLAKE2b-256 checksum
How to use checksums
c6f352c31ef7100b6fa06e6e1739c38bbd3b39c01cb5f8c79bf25938c8cdd7a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / kahipwrapper-0.1.7-cp33-cp33m-manylinux1_x86_64.whl

Download URL kahipwrapper-0.1.7-cp33-cp33m-manylinux1_x86_64.whl
Size 595.1 kB
Tags CPython 3.3 CPython 3.3 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
6c3498c003658d00e6d27b53c0081650e342fb74f5ecff0867451ef5fa8858d3
BLAKE2b-256 checksum
How to use checksums
3a122f7740dfa1fe8dc3c619f6059e9b4ed3361b25e60d77e0505b5610607804
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / kahipwrapper-0.1.7-cp27-cp27mu-manylinux1_x86_64.whl

Download URL kahipwrapper-0.1.7-cp27-cp27mu-manylinux1_x86_64.whl
Size 596.8 kB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
4eb02b1f60878fb9d14d59215c38f4ff810dc0e10beff57da97d1164f43dde0e
BLAKE2b-256 checksum
How to use checksums
37e82b984e0a2f27955440ca0dbf2ad885afd74c3f2b44d10a8d93aff34388d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / kahipwrapper-0.1.7-cp27-cp27m-manylinux1_x86_64.whl

Download URL kahipwrapper-0.1.7-cp27-cp27m-manylinux1_x86_64.whl
Size 596.8 kB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
0d22a01ae6bc696c02ee0b92dc086b44db086e25a27a87ef9e327f2d90fb52f7
BLAKE2b-256 checksum
How to use checksums
14ea62d7bcd921d842e6b192bc27ea55800878a182f4f8aba5e6ed5275a1007a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / kahipwrapper-0.1.7-cp26-cp26mu-manylinux1_x86_64.whl

Download URL kahipwrapper-0.1.7-cp26-cp26mu-manylinux1_x86_64.whl
Size 556.6 kB
Tags CPython 2.6 CPython 2.6 pymalloc wide-unicode Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
c78a83b3c167c2fca6648b7d54f4696a89f03590944107ac2f4570d577140e2e
BLAKE2b-256 checksum
How to use checksums
9707d2c97403d14109d4413a0d1ae32a7fdd21985b1ca4fa58e6db685bd66b54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / kahipwrapper-0.1.7-cp26-cp26m-manylinux1_x86_64.whl

Download URL kahipwrapper-0.1.7-cp26-cp26m-manylinux1_x86_64.whl
Size 556.6 kB
Tags CPython 2.6 CPython 2.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
a363c7729f5aac802204534df108d4d892ddc58f0156558bd9b7ba1c2a2f4fd9
BLAKE2b-256 checksum
How to use checksums
efe07c14bf9af6679dfbaa52b368287990d9213b20619da3c5d9e4fbd645e5b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.7 This release

8 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