Skip to main content

Range data manipulations and operations

Project description

# Overview Module featuring RangeCollection object class for the management of range data and optimized performance of various simple and complex range operations, including range and point overlays, equitable and score-based separation of overlapping ranges, generation of random range data, and range data comparisons among others.

# Release Notes ## 0.0.8 (2024-08-20) - Add round method to the RangeCollection class for rounding to a select number of decimals and with a specified rounding factor. - Change are_consecutive when_one behavior to return a 1d array of the when_one value instead of the value itself. - Switch RangeCollection initialization to use default to copy=None to address necessary copy error with numpy==2.x. Also includes a fallback for numpy==1.x errors with optional copy behavior.

## 0.0.7 (2022-12-14) - Improved performance of intersecting method by implementing new _ArrayLogicManager utility class to minimize superfluous array logic computations. Simplified logic flow for instances where one of the intersecting ranges has closed=’neither’. Removed outdated intersecting_old method which was being retained for legacy applications. - Improved performance of new union method. - Various minor feature additions - Various bug fixes, performance improvements

## 0.0.6 (2022-10-14) - Modified intersecting method to consider both collection closed parameter and input ranges closed parameter. Now, the closed parameter in the method refers to the edges of the input ranges, not as a call-time modifier to the class instance’s closed parameter. Instead, if needed, this should be done prior to the intersection method call with the set_closed method. - Removed unused get_… methods based on the is_… methods for automatic selecting to clean namespace. - Change RangeCollection default sort value to False. - Added closed parameter visualization to plot method on RangeCollection class. - Various minor feature additions - Various bug fixes, performance improvements

## 0.0.5 (2022-09-02) - Added balance option to from_steps method - Various minor feature additions - Various bug fixes, performance improvements

## 0.0.4 (2022-04-11) - Added snapping to set_centers and __init__ methods - Added squeeze parameter to intersecting method - Various bug fixes, performance improvements

## 0.0.3 (2021-11-08) - Initial updated merging features - Various bug fixes, performance improvements

## 0.0.2 (2021-09-27) - Various bug fixes, performance improvements

## 0.0.1 (2021-09-13) - Initial release

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

rangel-0.0.8.tar.gz (30.9 kB view hashes)

Uploaded Source

Built Distribution

rangel-0.0.8-py3-none-any.whl (31.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