Intervals

Latest version: v0.9.2

Safety actively analyzes 613682 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.9.1

^^^^^^^^^^^^^^^^^^

- Fixed discrete interval length (53)

0.9.0

^^^^^^^^^^^^^^^^^^

- Fixed interval coercion (42)
- Dropped py27 and py34 support

0.8.1

^^^^^^^^^^^^^^^^^^

- Fixed interval coercion (41)

0.8.0

^^^^^^^^^^^^^^^^^^

- Added is_connected utility method
- Made interval constructor throw IllegalArgument exception for intervals such as (a..a)
- Fixed some edge cases with interval intersections
- Fixed interval union (33)

0.7.1

^^^^^^^^^^^^^^^^^^

- Added support for step argument in ``from_string`` factory method
- Added better error message when passing string as a first constructor argument

0.7.0

^^^^^^^^^^^^^^^^^^

- Added canonicalize to main module import
- Added factory methods for easier interval initialization ``open``, ``closed``, ``open_closed``, ``closed_open``, ``greater_than``, ``at_least``, ``less_than``, ``at_most`` and ``all``
- Renamed ``open`` and ``closed`` properties to ``is_open`` and ``is_closed``

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.