arrlp 0.1.10__py3-none-any.whl → 0.1.11__py3-none-any.whl

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/__init__.py CHANGED
@@ -11,13 +11,19 @@ A library providing custom functions for arrays.
11
11
 
12
12
 
13
13
 
14
- # %% Lazy imports
15
- from corelp import getmodule
16
- __getattr__, __all__ = getmodule(__file__)
14
+ # %% Source code
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
+ }
17
24
 
18
25
 
19
26
 
20
- # %% Test function run
21
- if __name__ == "__main__":
22
- from corelp import test
23
- test(__file__)
27
+ # %% Lazy imports
28
+ from corelp import getmodule
29
+ __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!')
@@ -15,7 +15,7 @@ compress : Compresses an array between values by normalizing, with possibility t
15
15
 
16
16
 
17
17
  # %% Libraries
18
- from corelp import print, debug
18
+ from corelp import debug
19
19
  import pytest
20
20
  from arrlp import compress
21
21
  debug_folder = debug(__file__)
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
@@ -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
@@ -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!')
@@ -15,7 +15,7 @@ relabel : This function redefines a label array to fill potential holes inside.
15
15
 
16
16
 
17
17
  # %% Libraries
18
- from corelp import print, debug
18
+ from corelp import debug
19
19
  import pytest
20
20
  from arrlp import relabel
21
21
  debug_folder = debug(__file__)
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!')
@@ -15,7 +15,7 @@ xp : Use as a decorator for hybrid function numpy/cupy (CPU/GPU), inside the fun
15
15
 
16
16
 
17
17
  # %% Libraries
18
- from corelp import print, debug
18
+ from corelp import debug
19
19
  import pytest
20
20
  import numpy as np
21
21
  try:
File without changes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: arrlp
3
- Version: 0.1.10
3
+ Version: 0.1.11
4
4
  Summary: A library providing custom functions for arrays.
5
5
  Requires-Dist: astropy
6
6
  Requires-Dist: corelp
@@ -0,0 +1,42 @@
1
+ arrlp/__init__.py,sha256=kzS4L4mxdLN_gn5qKiCDNTORvZEAXm3KJ07YOzOPqmA,703
2
+ arrlp/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ arrlp/modules/compress_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ arrlp/modules/compress_LP/compress.py,sha256=NGTqGjz-ZTtYy2M9XW-kimwGAeML4E1r58Urz06jgis,4011
5
+ arrlp/modules/compress_LP/functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ arrlp/modules/compress_LP/functions/__template__.py,sha256=pTGY1L6GD6uNbMyPDTzszhu06hF08FM6EM1D3ljCU9A,241
7
+ arrlp/modules/compress_LP/test_compress.py,sha256=VxmR5UOKXE5g8E5pZq1-RiRptxNMz_2UjH2GGDmGoZY,1522
8
+ arrlp/modules/convolve_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ arrlp/modules/convolve_LP/convolve.py,sha256=Y6-aI-5k5XnRQ06ChHXRis3By7o7hWh4a5P0oDohP-8,1486
10
+ arrlp/modules/convolve_LP/functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ arrlp/modules/convolve_LP/functions/__template__.py,sha256=pTGY1L6GD6uNbMyPDTzszhu06hF08FM6EM1D3ljCU9A,241
12
+ arrlp/modules/convolve_LP/test_convolve.py,sha256=hws1boa0xXvFLIOSKdwvgAXMU9vDcSnkZm44xS5nCP0,1198
13
+ arrlp/modules/coordinates_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
+ arrlp/modules/coordinates_LP/coordinates.py,sha256=SFxtD2iBYQjX1Eg1KBymB5Dcn2d6g7_3_XFkXcRmY04,3519
15
+ arrlp/modules/coordinates_LP/functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
+ arrlp/modules/coordinates_LP/functions/__template__.py,sha256=pTGY1L6GD6uNbMyPDTzszhu06hF08FM6EM1D3ljCU9A,241
17
+ arrlp/modules/coordinates_LP/test_coordinates.py,sha256=Z1XQzUy6zPbcBKK4epgfUConioVwJiogUo57Y79lqdM,1165
18
+ arrlp/modules/correlate_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
+ arrlp/modules/correlate_LP/correlate.py,sha256=U0CncMqAuvccGDlLVmNRUMZLk89xwYEzMyRqoLpKNfo,6133
20
+ arrlp/modules/correlate_LP/functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
+ arrlp/modules/correlate_LP/functions/__template__.py,sha256=pTGY1L6GD6uNbMyPDTzszhu06hF08FM6EM1D3ljCU9A,241
22
+ arrlp/modules/correlate_LP/test_correlate.py,sha256=KrVm2ncdxXs_yH0CFpP4t9Vlwwc6HApRXyxZjLNxdfQ,1203
23
+ arrlp/modules/kernel_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
+ arrlp/modules/kernel_LP/functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
+ arrlp/modules/kernel_LP/functions/__template__.py,sha256=pTGY1L6GD6uNbMyPDTzszhu06hF08FM6EM1D3ljCU9A,241
26
+ arrlp/modules/kernel_LP/kernel.py,sha256=qhO6dOHu2WrfzTJznlsndupxh2Y52rO_KZ3DrsW-YbE,4887
27
+ arrlp/modules/kernel_LP/test_kernel.py,sha256=n8Jt9aebOcwPPNUFYCKLpxwivgduCgSy67uRGDCsgu8,1058
28
+ arrlp/modules/relabel_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
+ arrlp/modules/relabel_LP/functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
+ arrlp/modules/relabel_LP/functions/__template__.py,sha256=pTGY1L6GD6uNbMyPDTzszhu06hF08FM6EM1D3ljCU9A,241
31
+ arrlp/modules/relabel_LP/relabel.py,sha256=w3iNR4iyQQfaqjDIH6URX62lUllyQBxOYzLCDkDxJsg,1405
32
+ arrlp/modules/relabel_LP/test_relabel.py,sha256=ZJIJY8WcRBovAki4X55i_lqLJBkGgWPt2ayH1vVPHcc,660
33
+ arrlp/modules/xp_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
+ arrlp/modules/xp_LP/functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
+ arrlp/modules/xp_LP/functions/__template__.py,sha256=pTGY1L6GD6uNbMyPDTzszhu06hF08FM6EM1D3ljCU9A,241
36
+ arrlp/modules/xp_LP/test_xp.py,sha256=3DuMdIEvtv8T7t6C7msgKqvhv7qEJXBEzbgysS2NDKc,1671
37
+ arrlp/modules/xp_LP/xp.py,sha256=5KS70x5YyNeEvMibufwDFY1NM6H6QaQpn0HWIlVJN7Q,2599
38
+ arrlp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
+ arrlp/routines/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
40
+ arrlp-0.1.11.dist-info/WHEEL,sha256=XV0cjMrO7zXhVAIyyc8aFf1VjZ33Fen4IiJk5zFlC3g,80
41
+ arrlp-0.1.11.dist-info/METADATA,sha256=7C5MQptPnqWd9GY9eizZCClieeala9IHplGvgg7ZhuM,1728
42
+ arrlp-0.1.11.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.8.24
2
+ Generator: uv 0.9.26
3
3
  Root-Is-Purelib: true
4
- Tag: py3-none-any
4
+ Tag: py3-none-any
arrlp/modules.json DELETED
@@ -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
- }
arrlp/scripts.json DELETED
@@ -1 +0,0 @@
1
- {}
@@ -1,30 +0,0 @@
1
- arrlp/__init__.py,sha256=EOH7t03_YW3YBcmw4MetXAWQzP8TJcJm-tYxhGIg7Sk,436
2
- arrlp/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- arrlp/modules/compress_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- arrlp/modules/compress_LP/compress.py,sha256=NGTqGjz-ZTtYy2M9XW-kimwGAeML4E1r58Urz06jgis,4011
5
- arrlp/modules/compress_LP/test_compress.py,sha256=V6YwrWhNN8-89XsHwL4IPCDq4JsR3BZe7z5JzEjmnSY,1529
6
- arrlp/modules/convolve_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- arrlp/modules/convolve_LP/convolve.py,sha256=Y6-aI-5k5XnRQ06ChHXRis3By7o7hWh4a5P0oDohP-8,1486
8
- arrlp/modules/convolve_LP/test_convolve.py,sha256=hws1boa0xXvFLIOSKdwvgAXMU9vDcSnkZm44xS5nCP0,1198
9
- arrlp/modules/coordinates_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- arrlp/modules/coordinates_LP/coordinates.py,sha256=SFxtD2iBYQjX1Eg1KBymB5Dcn2d6g7_3_XFkXcRmY04,3519
11
- arrlp/modules/coordinates_LP/test_coordinates.py,sha256=Z1XQzUy6zPbcBKK4epgfUConioVwJiogUo57Y79lqdM,1165
12
- arrlp/modules/correlate_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
- arrlp/modules/correlate_LP/correlate.py,sha256=U0CncMqAuvccGDlLVmNRUMZLk89xwYEzMyRqoLpKNfo,6133
14
- arrlp/modules/correlate_LP/test_correlate.py,sha256=KrVm2ncdxXs_yH0CFpP4t9Vlwwc6HApRXyxZjLNxdfQ,1203
15
- arrlp/modules/kernel_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
- arrlp/modules/kernel_LP/kernel.py,sha256=qhO6dOHu2WrfzTJznlsndupxh2Y52rO_KZ3DrsW-YbE,4887
17
- arrlp/modules/kernel_LP/test_kernel.py,sha256=n8Jt9aebOcwPPNUFYCKLpxwivgduCgSy67uRGDCsgu8,1058
18
- arrlp/modules/relabel_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
- arrlp/modules/relabel_LP/relabel.py,sha256=w3iNR4iyQQfaqjDIH6URX62lUllyQBxOYzLCDkDxJsg,1405
20
- arrlp/modules/relabel_LP/test_relabel.py,sha256=pue00n5MVP4sog8bZFqgtu7GYf_2JtevrwHzJIIZFqk,667
21
- arrlp/modules/xp_LP/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
- arrlp/modules/xp_LP/test_xp.py,sha256=UWEo_ybrfwWD8quawpkwXOaSF0JymNibiYFE3b7t14s,1678
23
- arrlp/modules/xp_LP/xp.py,sha256=5KS70x5YyNeEvMibufwDFY1NM6H6QaQpn0HWIlVJN7Q,2599
24
- arrlp/modules.json,sha256=39LhiMbMHIQXxwOIOedrlkw2wjXqVHL86DtdTlUwOyg,1644
25
- arrlp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
- arrlp/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
- arrlp/scripts.json,sha256=RBNvo1WzZ4oRRq0W9-hknpT7T8If536DEMBg9hyq_4o,2
28
- arrlp-0.1.10.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
29
- arrlp-0.1.10.dist-info/METADATA,sha256=dGxdGF0n5N_kWUDzys1XLvRGDaf7SypEsxZn7PGC1Ko,1728
30
- arrlp-0.1.10.dist-info/RECORD,,