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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file krange-1.1.tar.gz.

File metadata

  • Download URL: krange-1.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.1

File hashes

Hashes for krange-1.1.tar.gz
Algorithm Hash digest
SHA256 a4f6bd3e4d2d2794f2bd87b34bd279bf148e1f6fac1509956f896705af553373
MD5 4a371c7f59d4bca3ef1d47fab59e1b36
BLAKE2b-256 53b67864dab5cad216e67889a2250d459e3642049cfeea7e59870fd94cb19e07

See more details on using hashes here.

File details

Details for the file krange-1.1-py3-none-any.whl.

File metadata

  • Download URL: krange-1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.1

File hashes

Hashes for krange-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e902d3befcc2041fb7f645b305a8fe8e1cb00cbf422fe9731163bf0af5702a24
MD5 1d69185c1409296975658f2c24bb9d4a
BLAKE2b-256 dc5c4761f71d3c19098663e36932fe787aa8d5741ee00ece0cdc5f91d989c7b0

See more details on using hashes here.

Supported by

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