Name | rangel JSON |
Version |
0.0.8
JSON |
| download |
home_page | None |
Summary | Range data manipulations and operations |
upload_time | 2024-08-20 21:12:41 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | MIT License =========== *Copyright (c) 2024 Tariq Shihadah* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
python
range
numeric
interval
linear
|
VCS |
|
bugtrack_url |
|
requirements |
numpy
matplotlib
shapely
pandas
geopandas
rangel
scipy
build
twine
ipython
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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
Raw data
{
"_id": null,
"home_page": null,
"name": "rangel",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "python, range, numeric, interval, linear",
"author": null,
"author_email": "Tariq Shihadah <tariq.shihadah@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/fa/b9/d7035cd1213722fb042a8ff44c42ff32b3949b1f2b092e1e3d27fca82a15/rangel-0.0.8.tar.gz",
"platform": null,
"description": "# Overview\nModule 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.\n\n# Release Notes\n## 0.0.8 (2024-08-20)\n- Add `round` method to the `RangeCollection` class for rounding to a select number of decimals and with a specified rounding factor.\n- Change `are_consecutive` `when_one` behavior to return a 1d array of the `when_one` value instead of the value itself.\n- 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.\n\n## 0.0.7 (2022-12-14)\n- 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.\n- Improved performance of new `union` method.\n- Various minor feature additions\n- Various bug fixes, performance improvements\n\n## 0.0.6 (2022-10-14)\n- 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.\n- Removed unused `get_...` methods based on the `is_...` methods for automatic selecting to clean namespace.\n- Change `RangeCollection` default sort value to `False`.\n- Added `closed` parameter visualization to `plot` method on `RangeCollection` class.\n- Various minor feature additions\n- Various bug fixes, performance improvements\n\n## 0.0.5 (2022-09-02)\n- Added balance option to `from_steps` method\n- Various minor feature additions\n- Various bug fixes, performance improvements\n\n## 0.0.4 (2022-04-11)\n- Added snapping to `set_centers` and `__init__` methods\n- Added `squeeze` parameter to `intersecting` method\n- Various bug fixes, performance improvements\n\n## 0.0.3 (2021-11-08)\n- Initial updated merging features\n- Various bug fixes, performance improvements\n\n## 0.0.2 (2021-09-27)\n- Various bug fixes, performance improvements\n\n## 0.0.1 (2021-09-13)\n- Initial release\n",
"bugtrack_url": null,
"license": "MIT License =========== *Copyright (c) 2024 Tariq Shihadah* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "Range data manipulations and operations",
"version": "0.0.8",
"project_urls": {
"repository": "https://github.com/tariqshihadah/linref"
},
"split_keywords": [
"python",
" range",
" numeric",
" interval",
" linear"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f62c43c6c14be11e4e741fc98d9c4dcc63a5b189c6b3fb15ec49f65f78766d3e",
"md5": "a2bb54f293558f080cc3e5c0535afc7b",
"sha256": "45b77cd1d4c2b8860bf8395640e8eacc08fedeab226c29eb7430884f925dd2e9"
},
"downloads": -1,
"filename": "rangel-0.0.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a2bb54f293558f080cc3e5c0535afc7b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 31508,
"upload_time": "2024-08-20T21:12:40",
"upload_time_iso_8601": "2024-08-20T21:12:40.065325Z",
"url": "https://files.pythonhosted.org/packages/f6/2c/43c6c14be11e4e741fc98d9c4dcc63a5b189c6b3fb15ec49f65f78766d3e/rangel-0.0.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fab9d7035cd1213722fb042a8ff44c42ff32b3949b1f2b092e1e3d27fca82a15",
"md5": "772ccc06e71acd2fb9425194bd7469e5",
"sha256": "e5b9acd9c457a20dd58a62887d9302e398bcebcc18a03f8d1b8a81c660a2d3da"
},
"downloads": -1,
"filename": "rangel-0.0.8.tar.gz",
"has_sig": false,
"md5_digest": "772ccc06e71acd2fb9425194bd7469e5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 30886,
"upload_time": "2024-08-20T21:12:41",
"upload_time_iso_8601": "2024-08-20T21:12:41.818805Z",
"url": "https://files.pythonhosted.org/packages/fa/b9/d7035cd1213722fb042a8ff44c42ff32b3949b1f2b092e1e3d27fca82a15/rangel-0.0.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-20 21:12:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tariqshihadah",
"github_project": "linref",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "numpy",
"specs": []
},
{
"name": "matplotlib",
"specs": []
},
{
"name": "shapely",
"specs": [
[
">=",
"1.7"
]
]
},
{
"name": "pandas",
"specs": [
[
">=",
"1.1"
]
]
},
{
"name": "geopandas",
"specs": [
[
">=",
"0.10.2"
]
]
},
{
"name": "rangel",
"specs": [
[
">=",
"0.0.7"
]
]
},
{
"name": "scipy",
"specs": [
[
">=",
"1.4.1"
]
]
},
{
"name": "build",
"specs": []
},
{
"name": "twine",
"specs": []
},
{
"name": "ipython",
"specs": []
}
],
"lcname": "rangel"
}