arrlp 0.1.10__tar.gz → 0.1.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {arrlp-0.1.10 → arrlp-0.1.12}/PKG-INFO +1 -1
- {arrlp-0.1.10 → arrlp-0.1.12}/pyproject.toml +6 -3
- arrlp-0.1.12/src/arrlp/__init__.py +41 -0
- arrlp-0.1.12/src/arrlp/modules/compress_LP/functions/__template__.py +19 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/compress_LP/test_compress.py +1 -1
- arrlp-0.1.12/src/arrlp/modules/convolve_LP/functions/__template__.py +19 -0
- arrlp-0.1.12/src/arrlp/modules/coordinates_LP/functions/__template__.py +19 -0
- arrlp-0.1.12/src/arrlp/modules/correlate_LP/functions/__template__.py +19 -0
- arrlp-0.1.12/src/arrlp/modules/kernel_LP/functions/__init__.py +0 -0
- arrlp-0.1.12/src/arrlp/modules/kernel_LP/functions/__template__.py +19 -0
- arrlp-0.1.12/src/arrlp/modules/relabel_LP/__init__.py +0 -0
- arrlp-0.1.12/src/arrlp/modules/relabel_LP/functions/__init__.py +0 -0
- arrlp-0.1.12/src/arrlp/modules/relabel_LP/functions/__template__.py +19 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/relabel_LP/test_relabel.py +1 -1
- arrlp-0.1.12/src/arrlp/modules/xp_LP/__init__.py +0 -0
- arrlp-0.1.12/src/arrlp/modules/xp_LP/functions/__init__.py +0 -0
- arrlp-0.1.12/src/arrlp/modules/xp_LP/functions/__template__.py +19 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/xp_LP/test_xp.py +1 -1
- arrlp-0.1.12/src/arrlp/py.typed +0 -0
- arrlp-0.1.12/src/arrlp/routines/__init__.py +0 -0
- arrlp-0.1.10/src/arrlp/__init__.py +0 -23
- arrlp-0.1.10/src/arrlp/modules.json +0 -44
- arrlp-0.1.10/src/arrlp/scripts.json +0 -1
- {arrlp-0.1.10 → arrlp-0.1.12}/README.md +0 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/__init__.py +0 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/compress_LP/__init__.py +0 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/compress_LP/compress.py +0 -0
- {arrlp-0.1.10/src/arrlp/modules/convolve_LP → arrlp-0.1.12/src/arrlp/modules/compress_LP/functions}/__init__.py +0 -0
- {arrlp-0.1.10/src/arrlp/modules/coordinates_LP → arrlp-0.1.12/src/arrlp/modules/convolve_LP}/__init__.py +0 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/convolve_LP/convolve.py +0 -0
- {arrlp-0.1.10/src/arrlp/modules/correlate_LP → arrlp-0.1.12/src/arrlp/modules/convolve_LP/functions}/__init__.py +0 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/convolve_LP/test_convolve.py +0 -0
- {arrlp-0.1.10/src/arrlp/modules/kernel_LP → arrlp-0.1.12/src/arrlp/modules/coordinates_LP}/__init__.py +0 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/coordinates_LP/coordinates.py +0 -0
- {arrlp-0.1.10/src/arrlp/modules/relabel_LP → arrlp-0.1.12/src/arrlp/modules/coordinates_LP/functions}/__init__.py +0 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/coordinates_LP/test_coordinates.py +0 -0
- {arrlp-0.1.10/src/arrlp/modules/xp_LP → arrlp-0.1.12/src/arrlp/modules/correlate_LP}/__init__.py +0 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/correlate_LP/correlate.py +0 -0
- {arrlp-0.1.10/src/arrlp/scripts → arrlp-0.1.12/src/arrlp/modules/correlate_LP/functions}/__init__.py +0 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/correlate_LP/test_correlate.py +0 -0
- /arrlp-0.1.10/src/arrlp/py.typed → /arrlp-0.1.12/src/arrlp/modules/kernel_LP/__init__.py +0 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/kernel_LP/kernel.py +0 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/kernel_LP/test_kernel.py +0 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/relabel_LP/relabel.py +0 -0
- {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/xp_LP/xp.py +0 -0
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "arrlp"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.12"
|
|
4
4
|
description = "A library providing custom functions for arrays."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.12"
|
|
7
7
|
dependencies = [ "astropy", "corelp", "numba", "numpy", "scipy",]
|
|
8
8
|
|
|
9
9
|
[build-system]
|
|
10
|
-
requires = [ "uv_build
|
|
10
|
+
requires = [ "uv_build",]
|
|
11
11
|
build-backend = "uv_build"
|
|
12
12
|
|
|
13
13
|
[dependency-groups]
|
|
14
|
-
|
|
14
|
+
tests = [ "pytest",]
|
|
15
15
|
docs = [ "sphinx", "sphinx-design", "sphinx-rtd-theme", "toml",]
|
|
16
16
|
anaconda = [ "ipykernel", "spyder-kernels",]
|
|
17
17
|
|
|
18
18
|
[tool.uv]
|
|
19
19
|
required-environments = [ "sys_platform == 'linux' and platform_machine == 'x86_64'", "sys_platform == 'win32' and (platform_machine == 'AMD64' or platform_machine == 'x86_64')",]
|
|
20
|
+
|
|
21
|
+
[tool.uv.sources.corelp]
|
|
22
|
+
workspace = true
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
# Date : 2025-08-28
|
|
4
|
+
# Author : Lancelot PINCET
|
|
5
|
+
# GitHub : https://github.com/LancelotPincet
|
|
6
|
+
# Library : arrLP
|
|
7
|
+
|
|
8
|
+
"""
|
|
9
|
+
A library providing custom functions for arrays.
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# %% Source import
|
|
15
|
+
sources = {
|
|
16
|
+
'compress': 'arrlp.modules.compress_LP.compress',
|
|
17
|
+
'convolve': 'arrlp.modules.convolve_LP.convolve',
|
|
18
|
+
'coordinates': 'arrlp.modules.coordinates_LP.coordinates',
|
|
19
|
+
'correlate': 'arrlp.modules.correlate_LP.correlate',
|
|
20
|
+
'kernel': 'arrlp.modules.kernel_LP.kernel',
|
|
21
|
+
'relabel': 'arrlp.modules.relabel_LP.relabel',
|
|
22
|
+
'xp': 'arrlp.modules.xp_LP.xp'
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# %% Hidden imports
|
|
28
|
+
if False :
|
|
29
|
+
import arrlp.modules.compress_LP.compress
|
|
30
|
+
import arrlp.modules.convolve_LP.convolve
|
|
31
|
+
import arrlp.modules.coordinates_LP.coordinates
|
|
32
|
+
import arrlp.modules.correlate_LP.correlate
|
|
33
|
+
import arrlp.modules.kernel_LP.kernel
|
|
34
|
+
import arrlp.modules.relabel_LP.relabel
|
|
35
|
+
import arrlp.modules.xp_LP.xp
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
# %% Lazy imports
|
|
40
|
+
from corelp import getmodule
|
|
41
|
+
__getattr__, __all__ = getmodule(sources)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
# Author : Lancelot PINCET
|
|
4
|
+
# GitHub : https://github.com/LancelotPincet
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# %% Libraries
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# %% Function
|
|
14
|
+
def temp(**kwargs) :
|
|
15
|
+
'''
|
|
16
|
+
TODO
|
|
17
|
+
'''
|
|
18
|
+
|
|
19
|
+
print('Hello world!')
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
# Author : Lancelot PINCET
|
|
4
|
+
# GitHub : https://github.com/LancelotPincet
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# %% Libraries
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# %% Function
|
|
14
|
+
def temp(**kwargs) :
|
|
15
|
+
'''
|
|
16
|
+
TODO
|
|
17
|
+
'''
|
|
18
|
+
|
|
19
|
+
print('Hello world!')
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
# Author : Lancelot PINCET
|
|
4
|
+
# GitHub : https://github.com/LancelotPincet
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# %% Libraries
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# %% Function
|
|
14
|
+
def temp(**kwargs) :
|
|
15
|
+
'''
|
|
16
|
+
TODO
|
|
17
|
+
'''
|
|
18
|
+
|
|
19
|
+
print('Hello world!')
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
# Author : Lancelot PINCET
|
|
4
|
+
# GitHub : https://github.com/LancelotPincet
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# %% Libraries
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# %% Function
|
|
14
|
+
def temp(**kwargs) :
|
|
15
|
+
'''
|
|
16
|
+
TODO
|
|
17
|
+
'''
|
|
18
|
+
|
|
19
|
+
print('Hello world!')
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
# Author : Lancelot PINCET
|
|
4
|
+
# GitHub : https://github.com/LancelotPincet
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# %% Libraries
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# %% Function
|
|
14
|
+
def temp(**kwargs) :
|
|
15
|
+
'''
|
|
16
|
+
TODO
|
|
17
|
+
'''
|
|
18
|
+
|
|
19
|
+
print('Hello world!')
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
# Author : Lancelot PINCET
|
|
4
|
+
# GitHub : https://github.com/LancelotPincet
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# %% Libraries
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# %% Function
|
|
14
|
+
def temp(**kwargs) :
|
|
15
|
+
'''
|
|
16
|
+
TODO
|
|
17
|
+
'''
|
|
18
|
+
|
|
19
|
+
print('Hello world!')
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
# Author : Lancelot PINCET
|
|
4
|
+
# GitHub : https://github.com/LancelotPincet
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# %% Libraries
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# %% Function
|
|
14
|
+
def temp(**kwargs) :
|
|
15
|
+
'''
|
|
16
|
+
TODO
|
|
17
|
+
'''
|
|
18
|
+
|
|
19
|
+
print('Hello world!')
|
|
File without changes
|
|
File without changes
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
# -*- coding: utf-8 -*-
|
|
3
|
-
# Date : 2025-08-28
|
|
4
|
-
# Author : Lancelot PINCET
|
|
5
|
-
# GitHub : https://github.com/LancelotPincet
|
|
6
|
-
# Library : arrLP
|
|
7
|
-
|
|
8
|
-
"""
|
|
9
|
-
A library providing custom functions for arrays.
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
# %% Lazy imports
|
|
15
|
-
from corelp import getmodule
|
|
16
|
-
__getattr__, __all__ = getmodule(__file__)
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
# %% Test function run
|
|
21
|
-
if __name__ == "__main__":
|
|
22
|
-
from corelp import test
|
|
23
|
-
test(__file__)
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compress": {
|
|
3
|
-
"date": "2025-11-30",
|
|
4
|
-
"description": "Compresses an array between values by normalizing, with possibility to saturate extrema.",
|
|
5
|
-
"module": "modules/compress_LP/compress",
|
|
6
|
-
"object": "compress"
|
|
7
|
-
},
|
|
8
|
-
"convolve": {
|
|
9
|
-
"date": "2025-08-30",
|
|
10
|
-
"description": "This function convolves two numpy arrays (1D, 2D, 3D).",
|
|
11
|
-
"module": "modules/convolve_LP/convolve",
|
|
12
|
-
"object": "convolve"
|
|
13
|
-
},
|
|
14
|
-
"coordinates": {
|
|
15
|
-
"date": "2025-08-30",
|
|
16
|
-
"description": "This function will return a ndarray corresponding to the coordinates array of the input.",
|
|
17
|
-
"module": "modules/coordinates_LP/coordinates",
|
|
18
|
-
"object": "coordinates"
|
|
19
|
-
},
|
|
20
|
-
"correlate": {
|
|
21
|
-
"date": "2025-08-30",
|
|
22
|
-
"description": "This function correlates two numpy arrays (1D, 2D, 3D).",
|
|
23
|
-
"module": "modules/correlate_LP/correlate",
|
|
24
|
-
"object": "correlate"
|
|
25
|
-
},
|
|
26
|
-
"kernel": {
|
|
27
|
-
"date": "2025-08-30",
|
|
28
|
-
"description": "This funtion creates kernels small arrays, mainly for convolutions.",
|
|
29
|
-
"module": "modules/kernel_LP/kernel",
|
|
30
|
-
"object": "kernel"
|
|
31
|
-
},
|
|
32
|
-
"relabel": {
|
|
33
|
-
"date": "2025-08-31",
|
|
34
|
-
"description": "This function redefines a label array to fill potential holes inside.",
|
|
35
|
-
"module": "modules/relabel_LP/relabel",
|
|
36
|
-
"object": "relabel"
|
|
37
|
-
},
|
|
38
|
-
"xp": {
|
|
39
|
-
"date": "2025-12-13",
|
|
40
|
-
"description": "Use as a decorator for hybrid function numpy/cupy (CPU/GPU), inside the function, \"xp\" will correspond to np/cp.",
|
|
41
|
-
"module": "modules/xp_LP/xp",
|
|
42
|
-
"object": "xp"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arrlp-0.1.10/src/arrlp/modules/xp_LP → arrlp-0.1.12/src/arrlp/modules/correlate_LP}/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{arrlp-0.1.10/src/arrlp/scripts → arrlp-0.1.12/src/arrlp/modules/correlate_LP/functions}/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|