Skip to main content

fastkpcv

fastkpcv is a lightweight Python wrapper for fast density computation for Kernelized Parallel Coordinates Visualization (KPCV).

This package provides an efficient way to compute density results through a simple Python interface.
The current version focuses on fast density computation and outputs the computed results as a JSON file.


✨ Features

  • 🚀 High-performance backend implemented in Java
  • 🐍 Simple Python interface (kpcv.run(...))
  • 📦 Bundled .jar — no need to manage Java files manually
  • 🔧 Minimal user inputs
  • ⚡ Fast density computation for large-scale and high-resolution settings
  • 📄 Outputs density computation results as a JSON file

📦 Installation

Install from PyPI:

pip install fastkpcv

⚠️ Requirements

  • Python >= 3.9
  • Java (JRE or JDK) must be installed and available in your system PATH

Verify Java installation:

java -version

JDK version 1.8 is suggested.

Quick Example

import fastkpcv as kpcv

# 1. Specify the input dataset path and output path
data_path = "dataset/diabetes.xlsx"
out_path = "output/diabetes.json"

# 2. Run fastkpcv with the desired resolution and number of rows
kpcv.run(
    datapath=data_path,
    nrows=768,
    x_res=1920,
    y_res=1080,
    outpath=out_path
)

# 3. The visualization result will be written to the output path
print(f"Result saved to: {out_path}")

Notes

  • The current release is designed for fast density computation.
  • Visualization functionality will be integrated in future versions.

Release files for fastkpcv 0.1.1

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

Source distribution (sdist)

Source distribution for fastkpcv 0.1.1
File Size Uploaded
fastkpcv-0.1.1.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastkpcv 0.1.1
File Interpreter ABI Platform
fastkpcv-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / fastkpcv-0.1.1.tar.gz

Download URL fastkpcv-0.1.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
42ae4e086bd89f25ab79a5bf8f09c8af28764e115fcb22956539439b742fd380
BLAKE2b-256 checksum
How to use checksums
f61a36d21bc95ce7dcf2910f70a160679a88c420a5f4677a42834030cd87c67e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release files / fastkpcv-0.1.1-py3-none-any.whl

Download URL fastkpcv-0.1.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8a5fbb153fcfe37ca101428e4bbbc93df85b737c798b55fcd7a1a852c4ac770
BLAKE2b-256 checksum
How to use checksums
6e1db8fe2f1c24ddff49158e5393f146014b0340f0c7c4a76bdcfc2d000828a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

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