From fe064a18cb96ff06bafe71e6e2fae6adbf515821 Mon Sep 17 00:00:00 2001 From: Matthieu Viry Date: Fri, 12 Aug 2022 09:12:34 +0200 Subject: [PATCH] Increment version number to 0.2.1 --- CHANGES.rst | 2 +- README.rst | 19 +++++++------------ jenkspy/__init__.py | 2 +- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index cbd7bab..9764a6b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,7 +1,7 @@ Changes ======= -0.2.1 (2022-08-xx) +0.2.1 (2022-08-12) ------------------ - Add a method to the `JenksNaturalBreaks` class that calculates the Goodness of Fit Variance thanks to MaurĂ­cio Gomes / @mgomesq (#17). diff --git a/README.rst b/README.rst index e440308..b4c636e 100644 --- a/README.rst +++ b/README.rst @@ -3,11 +3,11 @@ Fast Jenks breaks for Python Compute "natural breaks" (*Fisher-Jenks algorithm*) on list / tuple / array / numpy.ndarray of integers/floats. -Intented compatibility: CPython 3.4+ +Intended compatibility: CPython 3.6+ -Wheels are provided via PyPI for windows users - Also available on conda-forge channel for Anaconda users +Wheels are provided via PyPI for Windows / MacOS / Linux users - Also available on conda-forge channel for Anaconda users. -|Version| |Anaconda-Server Badge| |Build Status travis| |Build status appveyor| |PyPI download month| +|Version| |Anaconda-Server Badge| |Build Status GH| |PyPI download month| Usage : ------- @@ -16,8 +16,6 @@ This package consists of a single function (named `jenks_breaks`) which takes as It returns a list of values that correspond to the limits of the classes (starting with the minimum value of the series - the lower bound of the first class - and ending with its maximum value - the upper bound of the last class). - - .. code:: python >>> import jenkspy @@ -130,16 +128,13 @@ Motivation : - Making a painless installing C extension so it could be used more easily as a dependency in an other package (and so learning how to build wheels - using *appveyor*). -- Getting the break values! (and fast!). No fancy functionnality provided, + using *appveyor* / *travis* at first - now it uses *GitHub Actions*). +- Getting the break values! (and fast!). No fancy functionality provided, but contributions/forks/etc are welcome. - Other python implementations are currently existing but not as fast nor available on PyPi. -.. |Build Status travis| image:: https://travis-ci.org/mthh/jenkspy.svg?branch=master - :target: https://travis-ci.org/mthh/jenkspy - -.. |Build status appveyor| image:: https://ci.appveyor.com/api/projects/status/9ffk6juf2499xqk0/branch/master?svg=true - :target: https://ci.appveyor.com/project/mthh/jenkspy/branch/master +.. |Build status GH| image:: https://github.com/mthh/jenkspy/actions/workflows/wheel.yml/badge.svg + :target: https://github.com/mthh/jenkspy/actions/workflows/wheel.yml .. |Version| image:: https://img.shields.io/pypi/v/jenkspy.svg :target: https://pypi.python.org/pypi/jenkspy diff --git a/jenkspy/__init__.py b/jenkspy/__init__.py index 069a93b..418f54a 100644 --- a/jenkspy/__init__.py +++ b/jenkspy/__init__.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -__version__ = "0.2.0" +__version__ = "0.2.1" from .core import jenks_breaks from .core import JenksNaturalBreaks