Skip to main content

lightkde

Documentation Status Continuous integration CodeQL PyPI version python versions coverage Ruff

A lightning fast, lightweight, and reliable kernel density estimation.

  • Easy to use, e.g. density_vec, x_vec = kde_1d(sample_vec=sample).
  • Works with 1d and 2d samples.
  • Works with weighted samples as well.
  • Based on the MATLAB implementations of Botev: kde, kde2d.

alt text

Install

pip install lightkde

Usage

import numpy as np
from lightkde import kde_1d

sample = np.random.randn(1000)

density_vec, x_vec = kde_1d(sample_vec=sample)

For further examples see the documentation.

Other kde packages

Other python packages for kernel density estimation:

Release files for lightkde 1.0.5

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

Source distribution (sdist)

Source distribution for lightkde 1.0.5
File Size Uploaded
lightkde-1.0.5.tar.gz 178.8 kB Details

Built distribution (wheel)

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

Total release size: 188.2 kB

Release files / lightkde-1.0.5.tar.gz

Download URL lightkde-1.0.5.tar.gz
Size 178.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6ddff3075e577124587a3dec1aeeea4c6223a3eec7de0e87c19bcb2219f14318
BLAKE2b-256 checksum
How to use checksums
9aa11c7f7655217dd58018778b1a59a458c5a2e2a4112dbaf9d305720eec3121
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log

Release files / lightkde-1.0.5-py3-none-any.whl

Download URL lightkde-1.0.5-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
120f9be0deefd8f6026df489ddfd7b9b7a8a4b5e332828dedb6394dd12bd6e33
BLAKE2b-256 checksum
How to use checksums
c1b586a41bc24b17d1485128409cf8f5f356264a06b0c3dfde51775f45db8565
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.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