Skip to main content

A range / interval package.

Project description

Krange Package

This package contains a component that follows this kata, which contains the following operations:

  • intergerContainsRange: Checks whether a range contains certain elements of a set.
  • containsRange: Checks whether a range is contained in another range.
  • getAllPoints: Gets all the points in a specified range.
  • endPoints: Gets the endpoints, or limits, in a range.
  • overlapsRange: Checks whether a part of the range is inside another range.
  • Equals: Checks whether two ranges are the same.

The purpose of this package is to fix some of the issues that the range class has in Python. Please refer to the LICENSE file in order to check the permissions of this package.

Changelog

Version 1.0

Launched the package.

Version 1.1

Fixed bugs with negative numbers and input strings.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

krange-1.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

krange-1.1-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page