Skip to content

Releases: intiocean/pyinter

v0.2.0

14 May 15:59
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release
  • Fix: The interval of 2 identical numbers equals the empty set if one of the boundaries is open #20
  • Improvement: Add lower and upper properties and replace method which works similarly to date.replace #19

v0.1.9

01 Aug 18:44
Compare
Choose a tag to compare
v0.1.9 Pre-release
Pre-release
  • Fix empty interval types so that empty intervals could be compared with other intervals
  • Add method copy() to create new Interval instances with the same bounds and values as the Interval being copied
  • Fix method overlaps on Interval and add tests for it!

v0.1.8

13 Jul 21:15
Compare
Choose a tag to compare
v0.1.8 Pre-release
Pre-release
  • Fix formatting in README.rst as pypi isn't rendering it properly.

v0.1.7

13 Jul 20:55
Compare
Choose a tag to compare
v0.1.7 Pre-release
Pre-release
  • Fix | and & in the documentation.
  • Implement subtraction of Interval's and IntervalSet's
  • Add method empty() to detect empty Interval objects.
  • Fix, each infinity should always equal itself.

v0.1.6

11 May 17:47
Compare
Choose a tag to compare
v0.1.6 Pre-release
Pre-release
  • Add a complement function
  • Fix bug with using & and | for union() and intersection()
  • Increase test coverage!

v0.1.5

13 Dec 07:35
Compare
Choose a tag to compare
v0.1.5 Pre-release
Pre-release
  • Fix the __all__ list so that you can from pyinter import *.
  • Change classes to new style classes (inheriting from object)
  • Added an add() function to the IntervalSet class. This will add (union) an Interval inplace. (similarly to set().add())
  • The optional iterable of Interval objects passed when initialising an IntervalSet is now added Interval by Interval so that initialising with overlapping intervals works as expected.

v0.1.4

17 Nov 00:17
Compare
Choose a tag to compare
v0.1.4 Pre-release
Pre-release
  • Fix formatting in HISTORY.rst which was stopping the pypi page rendering it.

v0.1.3

16 Nov 22:38
Compare
Choose a tag to compare
v0.1.3 Pre-release
Pre-release
  • Removed *.md from the MANIFEST file as it warns when installing that no files matching *.md are found.
  • Fix allowing an IntervalSet to be initialised with a generator.

Fixed the rendering of the README on pypi

12 Oct 16:49
Compare
Choose a tag to compare

Fixed the rendering of the README on pypi (hopefully!) by converting it from a .md file to a .rst file.

Fix source distribution to include the README.md file

12 Oct 16:48
Compare
Choose a tag to compare

This was broken because the README.md was not being included in the source distribution but setup.py had a reference to this file and therefore failed to run.