larray 0.34.3__tar.gz → 0.35__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 (125) hide show
  1. {larray-0.34.3/larray.egg-info → larray-0.35}/PKG-INFO +22 -15
  2. {larray-0.34.3 → larray-0.35}/README.rst +5 -7
  3. {larray-0.34.3 → larray-0.35}/larray/__init__.py +4 -4
  4. {larray-0.34.3 → larray-0.35}/larray/core/array.py +231 -98
  5. {larray-0.34.3 → larray-0.35}/larray/core/axis.py +381 -160
  6. {larray-0.34.3 → larray-0.35}/larray/core/checked.py +207 -253
  7. {larray-0.34.3 → larray-0.35}/larray/core/expr.py +59 -6
  8. {larray-0.34.3 → larray-0.35}/larray/core/group.py +30 -7
  9. {larray-0.34.3 → larray-0.35}/larray/core/npufuncs.py +0 -2
  10. larray-0.35/larray/core/plot.py +568 -0
  11. {larray-0.34.3 → larray-0.35}/larray/core/session.py +93 -0
  12. {larray-0.34.3 → larray-0.35}/larray/core/ufuncs.py +186 -0
  13. {larray-0.34.3 → larray-0.35}/larray/extra/ipfp.py +26 -17
  14. {larray-0.34.3 → larray-0.35}/larray/inout/pandas.py +54 -42
  15. {larray-0.34.3 → larray-0.35}/larray/inout/xw_excel.py +1 -1
  16. {larray-0.34.3 → larray-0.35}/larray/random.py +1 -1
  17. {larray-0.34.3 → larray-0.35}/larray/tests/common.py +4 -7
  18. {larray-0.34.3 → larray-0.35}/larray/tests/test_array.py +295 -63
  19. {larray-0.34.3 → larray-0.35}/larray/tests/test_axis.py +40 -2
  20. {larray-0.34.3 → larray-0.35}/larray/tests/test_axiscollection.py +4 -4
  21. {larray-0.34.3 → larray-0.35}/larray/tests/test_checked_session.py +53 -18
  22. {larray-0.34.3 → larray-0.35}/larray/tests/test_session.py +42 -6
  23. {larray-0.34.3 → larray-0.35}/larray/util/misc.py +57 -1
  24. larray-0.35/larray/util/plot.py +37 -0
  25. {larray-0.34.3 → larray-0.35}/larray/viewer/__init__.py +4 -2
  26. {larray-0.34.3 → larray-0.35/larray.egg-info}/PKG-INFO +22 -15
  27. {larray-0.34.3 → larray-0.35}/larray.egg-info/SOURCES.txt +1 -4
  28. {larray-0.34.3 → larray-0.35}/larray.egg-info/requires.txt +3 -0
  29. larray-0.35/larray.egg-info/top_level.txt +1 -0
  30. {larray-0.34.3 → larray-0.35}/pyproject.toml +64 -4
  31. larray-0.34.3/doc/source/check_api_doc.py +0 -403
  32. larray-0.34.3/doc/source/conf.py +0 -324
  33. larray-0.34.3/doc/source/fetch_changelogs.py +0 -50
  34. larray-0.34.3/larray/core/plot.py +0 -322
  35. larray-0.34.3/larray.egg-info/top_level.txt +0 -6
  36. larray-0.34.3/setup.py +0 -58
  37. {larray-0.34.3 → larray-0.35}/LICENSE +0 -0
  38. {larray-0.34.3 → larray-0.35}/MANIFEST.in +0 -0
  39. {larray-0.34.3 → larray-0.35}/larray/core/__init__.py +0 -0
  40. {larray-0.34.3 → larray-0.35}/larray/core/abstractbases.py +0 -0
  41. {larray-0.34.3 → larray-0.35}/larray/core/constants.py +0 -0
  42. {larray-0.34.3 → larray-0.35}/larray/core/metadata.py +0 -0
  43. {larray-0.34.3 → larray-0.35}/larray/core/misc.py +0 -0
  44. {larray-0.34.3 → larray-0.35}/larray/example.py +0 -0
  45. {larray-0.34.3 → larray-0.35}/larray/extra/__init__.py +0 -0
  46. {larray-0.34.3 → larray-0.35}/larray/inout/__init__.py +0 -0
  47. {larray-0.34.3 → larray-0.35}/larray/inout/common.py +0 -0
  48. {larray-0.34.3 → larray-0.35}/larray/inout/csv.py +0 -0
  49. {larray-0.34.3 → larray-0.35}/larray/inout/excel.py +0 -0
  50. {larray-0.34.3 → larray-0.35}/larray/inout/hdf.py +0 -0
  51. {larray-0.34.3 → larray-0.35}/larray/inout/misc.py +0 -0
  52. {larray-0.34.3 → larray-0.35}/larray/inout/pickle.py +0 -0
  53. {larray-0.34.3 → larray-0.35}/larray/inout/sas.py +0 -0
  54. {larray-0.34.3 → larray-0.35}/larray/inout/session.py +0 -0
  55. {larray-0.34.3 → larray-0.35}/larray/inout/stata.py +0 -0
  56. {larray-0.34.3 → larray-0.35}/larray/inout/xw_reporting.py +0 -0
  57. {larray-0.34.3 → larray-0.35}/larray/ipfp/__init__.py +0 -0
  58. {larray-0.34.3 → larray-0.35}/larray/tests/__init__.py +0 -0
  59. {larray-0.34.3 → larray-0.35}/larray/tests/data/births_and_deaths.xlsx +0 -0
  60. {larray-0.34.3 → larray-0.35}/larray/tests/data/demography.h5 +0 -0
  61. {larray-0.34.3 → larray-0.35}/larray/tests/data/demography.xlsx +0 -0
  62. {larray-0.34.3 → larray-0.35}/larray/tests/data/demography_eurostat/__metadata__.csv +0 -0
  63. {larray-0.34.3 → larray-0.35}/larray/tests/data/demography_eurostat/births.csv +0 -0
  64. {larray-0.34.3 → larray-0.35}/larray/tests/data/demography_eurostat/deaths.csv +0 -0
  65. {larray-0.34.3 → larray-0.35}/larray/tests/data/demography_eurostat/immigration.csv +0 -0
  66. {larray-0.34.3 → larray-0.35}/larray/tests/data/demography_eurostat/population.csv +0 -0
  67. {larray-0.34.3 → larray-0.35}/larray/tests/data/demography_eurostat/population_5_countries.csv +0 -0
  68. {larray-0.34.3 → larray-0.35}/larray/tests/data/demography_eurostat/population_benelux.csv +0 -0
  69. {larray-0.34.3 → larray-0.35}/larray/tests/data/demography_eurostat.h5 +0 -0
  70. {larray-0.34.3 → larray-0.35}/larray/tests/data/demography_eurostat.xlsx +0 -0
  71. {larray-0.34.3 → larray-0.35}/larray/tests/data/examples/births.csv +0 -0
  72. {larray-0.34.3 → larray-0.35}/larray/tests/data/examples/deaths.csv +0 -0
  73. {larray-0.34.3 → larray-0.35}/larray/tests/data/examples/immigration.csv +0 -0
  74. {larray-0.34.3 → larray-0.35}/larray/tests/data/examples/population.csv +0 -0
  75. {larray-0.34.3 → larray-0.35}/larray/tests/data/examples/population_missing_axis_name.csv +0 -0
  76. {larray-0.34.3 → larray-0.35}/larray/tests/data/examples/population_missing_values.csv +0 -0
  77. {larray-0.34.3 → larray-0.35}/larray/tests/data/examples/population_narrow_format.csv +0 -0
  78. {larray-0.34.3 → larray-0.35}/larray/tests/data/examples.h5 +0 -0
  79. {larray-0.34.3 → larray-0.35}/larray/tests/data/examples.xlsx +0 -0
  80. {larray-0.34.3 → larray-0.35}/larray/tests/data/excel_with_links/BookA.xlsx +0 -0
  81. {larray-0.34.3 → larray-0.35}/larray/tests/data/excel_with_links/BookB.xlsx +0 -0
  82. {larray-0.34.3 → larray-0.35}/larray/tests/data/excel_with_links/BookC.xlsx +0 -0
  83. {larray-0.34.3 → larray-0.35}/larray/tests/data/hh.csv +0 -0
  84. {larray-0.34.3 → larray-0.35}/larray/tests/data/missing_axis_name.csv +0 -0
  85. {larray-0.34.3 → larray-0.35}/larray/tests/data/missing_values_3d.csv +0 -0
  86. {larray-0.34.3 → larray-0.35}/larray/tests/data/narrow_2d.csv +0 -0
  87. {larray-0.34.3 → larray-0.35}/larray/tests/data/pop.csv +0 -0
  88. {larray-0.34.3 → larray-0.35}/larray/tests/data/population_only.xlsx +0 -0
  89. {larray-0.34.3 → larray-0.35}/larray/tests/data/qx.csv +0 -0
  90. {larray-0.34.3 → larray-0.35}/larray/tests/data/test.h5 +0 -0
  91. {larray-0.34.3 → larray-0.35}/larray/tests/data/test.xlsx +0 -0
  92. {larray-0.34.3 → larray-0.35}/larray/tests/data/test1d.csv +0 -0
  93. {larray-0.34.3 → larray-0.35}/larray/tests/data/test1d_liam2.csv +0 -0
  94. {larray-0.34.3 → larray-0.35}/larray/tests/data/test1d_narrow.csv +0 -0
  95. {larray-0.34.3 → larray-0.35}/larray/tests/data/test2d.csv +0 -0
  96. {larray-0.34.3 → larray-0.35}/larray/tests/data/test2d_classic.csv +0 -0
  97. {larray-0.34.3 → larray-0.35}/larray/tests/data/test2d_classic_narrow.csv +0 -0
  98. {larray-0.34.3 → larray-0.35}/larray/tests/data/test2d_narrow.csv +0 -0
  99. {larray-0.34.3 → larray-0.35}/larray/tests/data/test3d.csv +0 -0
  100. {larray-0.34.3 → larray-0.35}/larray/tests/data/test3d_narrow.csv +0 -0
  101. {larray-0.34.3 → larray-0.35}/larray/tests/data/test5d_eurostat.csv +0 -0
  102. {larray-0.34.3 → larray-0.35}/larray/tests/data/test5d_liam2.csv +0 -0
  103. {larray-0.34.3 → larray-0.35}/larray/tests/data/test_blank_cells.xlsx +0 -0
  104. {larray-0.34.3 → larray-0.35}/larray/tests/data/test_narrow.xlsx +0 -0
  105. {larray-0.34.3 → larray-0.35}/larray/tests/data/test_session.h5 +0 -0
  106. {larray-0.34.3 → larray-0.35}/larray/tests/data/testint_labels.csv +0 -0
  107. {larray-0.34.3 → larray-0.35}/larray/tests/data/testint_labels_narrow.csv +0 -0
  108. {larray-0.34.3 → larray-0.35}/larray/tests/data/testmissing_values.csv +0 -0
  109. {larray-0.34.3 → larray-0.35}/larray/tests/data/testmissing_values_narrow.csv +0 -0
  110. {larray-0.34.3 → larray-0.35}/larray/tests/data/testunsorted.csv +0 -0
  111. {larray-0.34.3 → larray-0.35}/larray/tests/data/testunsorted_narrow.csv +0 -0
  112. {larray-0.34.3 → larray-0.35}/larray/tests/excel_template/Line.crtx +0 -0
  113. {larray-0.34.3 → larray-0.35}/larray/tests/excel_template/Line_Marker.crtx +0 -0
  114. {larray-0.34.3 → larray-0.35}/larray/tests/generate_data.py +0 -0
  115. {larray-0.34.3 → larray-0.35}/larray/tests/test_example.py +0 -0
  116. {larray-0.34.3 → larray-0.35}/larray/tests/test_excel.py +0 -0
  117. {larray-0.34.3 → larray-0.35}/larray/tests/test_group.py +0 -0
  118. {larray-0.34.3 → larray-0.35}/larray/tests/test_ipfp.py +0 -0
  119. {larray-0.34.3 → larray-0.35}/larray/tests/test_options.py +0 -0
  120. {larray-0.34.3 → larray-0.35}/larray/util/__init__.py +0 -0
  121. {larray-0.34.3 → larray-0.35}/larray/util/options.py +0 -0
  122. {larray-0.34.3 → larray-0.35}/larray/util/oset.py +0 -0
  123. {larray-0.34.3 → larray-0.35}/larray/util/types.py +0 -0
  124. {larray-0.34.3 → larray-0.35}/larray.egg-info/dependency_links.txt +0 -0
  125. {larray-0.34.3 → larray-0.35}/setup.cfg +0 -0
@@ -1,32 +1,41 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: larray
3
- Version: 0.34.3
3
+ Version: 0.35
4
4
  Summary: N-D labeled arrays in Python
5
- Home-page: https://github.com/larray-project/larray
6
- Author: Gaetan de Menten, Geert Bryon, Johan Duyck, Alix Damman
7
- Author-email: gdementen@gmail.com
8
- License: GPLv3
5
+ Author: Geert Bryon, Johan Duyck
6
+ Author-email: Gaetan de Menten <gdementen@gmail.com>, Alix Damman <ald@plan.be>
7
+ License-Expression: GPL-3.0-only
8
+ Project-URL: homepage, https://github.com/larray-project/larray
9
+ Project-URL: repository, https://github.com/larray-project/larray
10
+ Project-URL: issues, https://github.com/larray-project/larray/issues
11
+ Project-URL: documentation, https://larray.readthedocs.io/en/stable/
9
12
  Classifier: Development Status :: 4 - Beta
10
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
11
13
  Classifier: Operating System :: OS Independent
12
14
  Classifier: Intended Audience :: Science/Research
13
15
  Classifier: Intended Audience :: Developers
14
16
  Classifier: Programming Language :: Python
15
17
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.8
17
18
  Classifier: Programming Language :: Python :: 3.9
18
19
  Classifier: Programming Language :: Python :: 3.10
19
20
  Classifier: Programming Language :: Python :: 3.11
20
21
  Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: 3.14
21
24
  Classifier: Topic :: Scientific/Engineering
22
25
  Classifier: Topic :: Software Development :: Libraries
26
+ Requires-Python: >=3.9
23
27
  Description-Content-Type: text/x-rst
24
28
  License-File: LICENSE
29
+ Requires-Dist: numpy>=1.22
30
+ Requires-Dist: pandas>=0.20.0
31
+ Provides-Extra: test
32
+ Requires-Dist: pytest; extra == "test"
33
+ Dynamic: license-file
25
34
 
26
35
  LArray: N-dimensional labelled arrays
27
36
  =====================================
28
37
 
29
- |build-status| |docs|
38
+ |ci-status| |docs|
30
39
 
31
40
  .. _start-intro:
32
41
 
@@ -98,7 +107,7 @@ Once you have satisfied the requirements detailed below, simply run::
98
107
  Required Dependencies
99
108
  ---------------------
100
109
 
101
- - Python 3.8, 3.9, 3.10, 3.11 or 3.12
110
+ - Python 3.9, 3.10, 3.11, 3.12, 3.13 or 3.14
102
111
  - `numpy <http://www.numpy.org/>`__ (1.22 or later)
103
112
  - `pandas <http://pandas.pydata.org/>`__ (0.20 or later)
104
113
 
@@ -181,12 +190,10 @@ Get in touch
181
190
 
182
191
  .. end-readme-file
183
192
 
184
- .. |build-status| image:: https://github.com/larray-project/larray/actions/workflows/test-larray.yml/badge.svg
185
- :alt: Build Status
186
- :scale: 100%
187
- :target: https://github.com/larray-project/larray/actions/workflows/test-larray.yml
193
+ .. |ci-status| image:: https://github.com/larray-project/larray/actions/workflows/ci.yml/badge.svg
194
+ :alt: CI status
195
+ :target: https://github.com/larray-project/larray/actions/workflows/ci.yml
188
196
 
189
197
  .. |docs| image:: https://readthedocs.org/projects/larray/badge/?version=stable
190
198
  :alt: Documentation Status
191
- :scale: 100%
192
199
  :target: https://larray.readthedocs.io/en/latest/?badge=stable
@@ -1,7 +1,7 @@
1
1
  LArray: N-dimensional labelled arrays
2
2
  =====================================
3
3
 
4
- |build-status| |docs|
4
+ |ci-status| |docs|
5
5
 
6
6
  .. _start-intro:
7
7
 
@@ -73,7 +73,7 @@ Once you have satisfied the requirements detailed below, simply run::
73
73
  Required Dependencies
74
74
  ---------------------
75
75
 
76
- - Python 3.8, 3.9, 3.10, 3.11 or 3.12
76
+ - Python 3.9, 3.10, 3.11, 3.12, 3.13 or 3.14
77
77
  - `numpy <http://www.numpy.org/>`__ (1.22 or later)
78
78
  - `pandas <http://pandas.pydata.org/>`__ (0.20 or later)
79
79
 
@@ -156,12 +156,10 @@ Get in touch
156
156
 
157
157
  .. end-readme-file
158
158
 
159
- .. |build-status| image:: https://github.com/larray-project/larray/actions/workflows/test-larray.yml/badge.svg
160
- :alt: Build Status
161
- :scale: 100%
162
- :target: https://github.com/larray-project/larray/actions/workflows/test-larray.yml
159
+ .. |ci-status| image:: https://github.com/larray-project/larray/actions/workflows/ci.yml/badge.svg
160
+ :alt: CI status
161
+ :target: https://github.com/larray-project/larray/actions/workflows/ci.yml
163
162
 
164
163
  .. |docs| image:: https://readthedocs.org/projects/larray/badge/?version=stable
165
164
  :alt: Documentation Status
166
- :scale: 100%
167
165
  :target: https://larray.readthedocs.io/en/latest/?badge=stable
@@ -1,4 +1,4 @@
1
- __version__ = '0.34.3'
1
+ __version__ = '0.35'
2
2
 
3
3
 
4
4
  from larray.core.axis import Axis, AxisCollection, X
@@ -11,15 +11,15 @@ from larray.core.session import Session, local_arrays, global_arrays, arrays
11
11
  from larray.core.checked import CheckedArray, CheckedSession, CheckedParameters
12
12
  from larray.core.constants import nan, inf, pi, e, euler_gamma
13
13
  from larray.core.metadata import Metadata
14
- from larray.core.ufuncs import wrap_elementwise_array_func, maximum, minimum, where
14
+ from larray.core.ufuncs import wrap_elementwise_array_func, maximum, minimum, where, isnan, nan_to_num
15
15
  from larray.core.npufuncs import (sin, cos, tan, arcsin, arccos, arctan, hypot, arctan2, degrees,
16
16
  radians, unwrap, sinh, cosh, tanh, arcsinh, arccosh, arctanh,
17
17
  angle, real, imag, conj,
18
18
  round, around, rint, fix, floor, ceil, trunc,
19
19
  exp, expm1, exp2, log, log10, log2, log1p, logaddexp, logaddexp2,
20
20
  i0, sinc, signbit, copysign, frexp, ldexp,
21
- convolve, clip, sqrt, absolute, fabs, sign, fmax, fmin, nan_to_num,
22
- real_if_close, interp, isnan, isinf, inverse)
21
+ convolve, clip, sqrt, absolute, fabs, sign, fmax, fmin,
22
+ real_if_close, interp, isinf, inverse)
23
23
  from larray.core.misc import isscalar
24
24
 
25
25
  from larray.inout.misc import from_lists, from_string