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.
Files changed (45) hide show
  1. {arrlp-0.1.10 → arrlp-0.1.12}/PKG-INFO +1 -1
  2. {arrlp-0.1.10 → arrlp-0.1.12}/pyproject.toml +6 -3
  3. arrlp-0.1.12/src/arrlp/__init__.py +41 -0
  4. arrlp-0.1.12/src/arrlp/modules/compress_LP/functions/__template__.py +19 -0
  5. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/compress_LP/test_compress.py +1 -1
  6. arrlp-0.1.12/src/arrlp/modules/convolve_LP/functions/__template__.py +19 -0
  7. arrlp-0.1.12/src/arrlp/modules/coordinates_LP/functions/__template__.py +19 -0
  8. arrlp-0.1.12/src/arrlp/modules/correlate_LP/functions/__template__.py +19 -0
  9. arrlp-0.1.12/src/arrlp/modules/kernel_LP/functions/__init__.py +0 -0
  10. arrlp-0.1.12/src/arrlp/modules/kernel_LP/functions/__template__.py +19 -0
  11. arrlp-0.1.12/src/arrlp/modules/relabel_LP/__init__.py +0 -0
  12. arrlp-0.1.12/src/arrlp/modules/relabel_LP/functions/__init__.py +0 -0
  13. arrlp-0.1.12/src/arrlp/modules/relabel_LP/functions/__template__.py +19 -0
  14. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/relabel_LP/test_relabel.py +1 -1
  15. arrlp-0.1.12/src/arrlp/modules/xp_LP/__init__.py +0 -0
  16. arrlp-0.1.12/src/arrlp/modules/xp_LP/functions/__init__.py +0 -0
  17. arrlp-0.1.12/src/arrlp/modules/xp_LP/functions/__template__.py +19 -0
  18. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/xp_LP/test_xp.py +1 -1
  19. arrlp-0.1.12/src/arrlp/py.typed +0 -0
  20. arrlp-0.1.12/src/arrlp/routines/__init__.py +0 -0
  21. arrlp-0.1.10/src/arrlp/__init__.py +0 -23
  22. arrlp-0.1.10/src/arrlp/modules.json +0 -44
  23. arrlp-0.1.10/src/arrlp/scripts.json +0 -1
  24. {arrlp-0.1.10 → arrlp-0.1.12}/README.md +0 -0
  25. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/__init__.py +0 -0
  26. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/compress_LP/__init__.py +0 -0
  27. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/compress_LP/compress.py +0 -0
  28. {arrlp-0.1.10/src/arrlp/modules/convolve_LP → arrlp-0.1.12/src/arrlp/modules/compress_LP/functions}/__init__.py +0 -0
  29. {arrlp-0.1.10/src/arrlp/modules/coordinates_LP → arrlp-0.1.12/src/arrlp/modules/convolve_LP}/__init__.py +0 -0
  30. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/convolve_LP/convolve.py +0 -0
  31. {arrlp-0.1.10/src/arrlp/modules/correlate_LP → arrlp-0.1.12/src/arrlp/modules/convolve_LP/functions}/__init__.py +0 -0
  32. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/convolve_LP/test_convolve.py +0 -0
  33. {arrlp-0.1.10/src/arrlp/modules/kernel_LP → arrlp-0.1.12/src/arrlp/modules/coordinates_LP}/__init__.py +0 -0
  34. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/coordinates_LP/coordinates.py +0 -0
  35. {arrlp-0.1.10/src/arrlp/modules/relabel_LP → arrlp-0.1.12/src/arrlp/modules/coordinates_LP/functions}/__init__.py +0 -0
  36. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/coordinates_LP/test_coordinates.py +0 -0
  37. {arrlp-0.1.10/src/arrlp/modules/xp_LP → arrlp-0.1.12/src/arrlp/modules/correlate_LP}/__init__.py +0 -0
  38. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/correlate_LP/correlate.py +0 -0
  39. {arrlp-0.1.10/src/arrlp/scripts → arrlp-0.1.12/src/arrlp/modules/correlate_LP/functions}/__init__.py +0 -0
  40. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/correlate_LP/test_correlate.py +0 -0
  41. /arrlp-0.1.10/src/arrlp/py.typed → /arrlp-0.1.12/src/arrlp/modules/kernel_LP/__init__.py +0 -0
  42. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/kernel_LP/kernel.py +0 -0
  43. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/kernel_LP/test_kernel.py +0 -0
  44. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/relabel_LP/relabel.py +0 -0
  45. {arrlp-0.1.10 → arrlp-0.1.12}/src/arrlp/modules/xp_LP/xp.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: arrlp
3
- Version: 0.1.10
3
+ Version: 0.1.12
4
4
  Summary: A library providing custom functions for arrays.
5
5
  Requires-Dist: astropy
6
6
  Requires-Dist: corelp
@@ -1,19 +1,22 @@
1
1
  [project]
2
2
  name = "arrlp"
3
- version = "0.1.10"
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>=0.8.8,<0.9.0",]
10
+ requires = [ "uv_build",]
11
11
  build-backend = "uv_build"
12
12
 
13
13
  [dependency-groups]
14
- dev = [ "pytest",]
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!')
@@ -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__)
@@ -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!')
@@ -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
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