$npx skillfedfor your agent

jenkspy

Compute Natural Breaks (Fisher-Jenks algorithm)

Worth itPyPI Scientific/EngineeringReleased Jun 2024207.5K downloads / mopermissive licensePlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — jenkspy-0.4.1-cp310-cp310-macosx_10_9_x86_64.whl · jenkspy-0.4.1-cp310-cp310-macosx_11_0_arm64.whl · jenkspy-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
v0.4.1 · released 2024-06-03 · Python >=3.7 · 1 runtime deps: numpy

Yes. Jenkspy is a stable, production-ready library with no known vulnerabilities, permissive MIT licensing, and solid adoption. Install friction is moderate due to C compilation, but wheels eliminate this for most users. Use it if you need deterministic, optimal class boundaries for numerical data.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires numpy as a runtime dependency; C compiler needed only when building from source.
  • Medium install friction due to C extension compilation, but wheels are provided for Windows, macOS, and Linux across multiple Python versions.
  • Repository is aging but stable and actively maintained with recent commit activity.

License · maintenance · safety

permissive license (permissive) — MIT License permits unrestricted use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects alike.

last release 2024-06-03 (802 days) · last repo commit 2026-02-13 · 239 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 207,474 downloads/mo, #9,550 on PyPI

Verify before relying

import jenkspy
import numpy as np

data = [0.0, 1.5, 2.3, 5.1, 6.8, 9.2]
breaks = jenkspy.jenks_breaks(data, n_classes=3)
print(breaks)  # [0.0, 2.3, 6.8, 9.2]
  • Performance characteristics (speed relative to other implementations) not quantified in fact sheet.
  • Exact support status for Python 3.7–3.9—wheels shown for 3.10+ only, though classifiers list earlier versions.
  • Whether the package remains actively developed or is in maintenance-only mode given 802-day release gap.
Same gist for agents: .md · .json

What it is and what it does

Jenkspy implements the Fisher-Jenks algorithm, a deterministic optimization method that finds the best way to partition numerical data into a specified number of classes by minimizing variance within each class. It accepts lists, tuples, arrays, or numpy arrays of integers or floats and returns the break points that define class boundaries. The package provides two interfaces: a simple `jenks_breaks()` function for direct break computation, and a scikit-learn-style `JenksNaturalBreaks` class for fitting, prediction, and grouping workflows.

The library is built as a C extension and ships with pre-compiled wheels for major platforms and Python versions, eliminating compilation for most users. It depends only on numpy and is marked Production/Stable with MIT licensing, making it suitable for integration into data analysis and geospatial classification pipelines.

Use it for

  • Classify geographic or demographic data into natural groups for choropleth mapping or statistical analysis.
  • Discretize continuous variables into optimal bins for machine learning feature engineering.
  • Identify natural thresholds in sensor or time-series data for alerting or segmentation.
  • Group numerical measurements into categories with minimal within-group variation for reporting.
  • Partition income, age, or other population data into statistically meaningful brackets.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Jenkspy is a stable, production-ready library with no known vulnerabilities, permissive MIT licensing, and solid adoption. Install friction is moderate due to C compilation, but wheels eliminate this for most users. Use it if you need deterministic, optimal class boundaries for numerical data.

Install

jenkspy on PyPI

Before you install

Medium install friction due to C extension compilation, but wheels are provided for Windows, macOS, and Linux across multiple Python versions. Repository is aging but stable and actively maintained with recent commit activity.

Requires numpy as a runtime dependency; C compiler needed only when building from source.

License in practice

MIT License permits unrestricted use, modification, and distribution with minimal restrictions—suitable for commercial and open-source projects alike.

Quickstart

import jenkspy
import numpy as np

data = [0.0, 1.5, 2.3, 5.1, 6.8, 9.2]
breaks = jenkspy.jenks_breaks(data, n_classes=3)
print(breaks)  # [0.0, 2.3, 6.8, 9.2]

Verify before relying

  • Performance characteristics (speed relative to other implementations) not quantified in fact sheet.
  • Exact support status for Python 3.7–3.9—wheels shown for 3.10+ only, though classifiers list earlier versions.
  • Whether the package remains actively developed or is in maintenance-only mode given 802-day release gap.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.7
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
numpy
MaintenanceAging 802 days since the last release
Last repo commit
First released
Downloads207,474 / month, #9,550 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTyping :: Typed

Evidence: jenkspy-0.4.1-cp310-cp310-macosx_10_9_x86_64.whl; jenkspy-0.4.1-cp310-cp310-macosx_11_0_arm64.whl; jenkspy-0.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; jenkspy-0.4.1-cp310-cp310-win_amd64.whl; jenkspy-0.4.1-cp311-cp311-macosx_10_9_x86_64.whl; jenkspy-0.4.1-cp311-cp311-macosx_11_0_arm64.whl; jenkspy-0.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; jenkspy-0.4.1-cp311-cp311-win_amd64.whl; jenkspy-0.4.1-cp312-cp312-macosx_10_9_x86_64.whl; jenkspy-0.4.1-cp312-cp312-macosx_11_0_arm64.whl; jenkspy-0.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; jenkspy-0.4.1-cp312-cp312-win_amd64.whl; jenkspy-0.4.1-cp313-cp313-macosx_10_13_x86_64.whl; jenkspy-0.4.1-cp313-cp313-macosx_11_0_arm64.whl; jenkspy-0.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; jenkspy-0.4.1-cp313-cp313-win_amd64.whl; jenkspy-0.4.1-cp314-cp314-macosx_10_15_x86_64.whl; jenkspy-0.4.1-cp314-cp314-macosx_11_0_arm64.whl; jenkspy-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; jenkspy-0.4.1-cp314-cp314t-macosx_10_15_x86_64.whl

Tags

Capabilities
natural breaks classificationfisher-jenks algorithmoptimal data binningjenks optimization methodstatistical data clusteringclass boundary detectiondata discretization
Topics
data-binningstatistical-classificationgeospatial

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “natural breaks classification”

  • jenkspyComputes optimal class boundaries for numerical data using the…
  • kiwipiepyKiwipiepy tokenizes and analyzes Korean text into morphemes with…
  • clarifaiOfficial Python client for Clarifai's AI platform, enabling computer…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also kmodes · optbinning · k-means-constrained · lap · Bottleneck · munkres · multiscale-spatial-image · dwave-samplers · ncls