sparse-ir 2.1.6__tar.gz → 2.1.7__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 (41) hide show
  1. {sparse_ir-2.1.6/src/sparse_ir.egg-info → sparse_ir-2.1.7}/PKG-INFO +21 -6
  2. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/README.rst +16 -1
  3. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/pyproject.toml +5 -5
  4. {sparse_ir-2.1.6 → sparse_ir-2.1.7/src/sparse_ir.egg-info}/PKG-INFO +21 -6
  5. sparse_ir-2.1.7/src/sparse_ir.egg-info/requires.txt +3 -0
  6. sparse_ir-2.1.6/src/sparse_ir.egg-info/requires.txt +0 -3
  7. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/LICENSE.txt +0 -0
  8. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/MANIFEST.in +0 -0
  9. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/setup.cfg +0 -0
  10. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir/__init__.py +0 -0
  11. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir/_gauss.py +0 -0
  12. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir/_util.py +0 -0
  13. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir/abstract.py +0 -0
  14. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir/augment.py +0 -0
  15. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir/basis.py +0 -0
  16. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir/basis_set.py +0 -0
  17. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir/dlr.py +0 -0
  18. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir/kernel.py +0 -0
  19. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir/poly.py +0 -0
  20. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir/sampling.py +0 -0
  21. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir/sve.py +0 -0
  22. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir.egg-info/SOURCES.txt +0 -0
  23. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir.egg-info/dependency_links.txt +0 -0
  24. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/src/sparse_ir.egg-info/top_level.txt +0 -0
  25. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_advanced_features.py +0 -0
  26. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_augment.py +0 -0
  27. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_basis.py +0 -0
  28. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_basis_set.py +0 -0
  29. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_boundary.py +0 -0
  30. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_core.py +0 -0
  31. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_dlr.py +0 -0
  32. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_ffi_boundary.py +0 -0
  33. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_integration.py +0 -0
  34. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_kernel.py +0 -0
  35. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_oracle.py +0 -0
  36. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_poly.py +0 -0
  37. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_public_surface.py +0 -0
  38. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_sampling.py +0 -0
  39. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_sampling_advanced.py +0 -0
  40. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_sve.py +0 -0
  41. {sparse_ir-2.1.6 → sparse_ir-2.1.7}/tests/test_sve_advanced.py +0 -0
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sparse-ir
3
- Version: 2.1.6
3
+ Version: 2.1.7
4
4
  Summary: Python bindings for the libsparseir library, providing efficient sparse intermediate representation for many-body physics calculations
5
5
  Author: SpM-lab
6
6
  License-Expression: MIT
7
- Project-URL: Homepage, https://github.com/SpM-lab/sparse-r
8
- Project-URL: Repository, https://github.com/SpM-lab/sparse-r
9
- Project-URL: Bug Tracker, https://github.com/SpM-lab/sparse-r/issues
7
+ Project-URL: Homepage, https://github.com/SpM-lab/sparse-ir
8
+ Project-URL: Repository, https://github.com/SpM-lab/sparse-ir
9
+ Project-URL: Bug Tracker, https://github.com/SpM-lab/sparse-ir/issues
10
10
  Keywords: physics,many-body,green-functions,sparse-ir
11
11
  Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Intended Audience :: Science/Research
@@ -20,7 +20,7 @@ Description-Content-Type: text/x-rst
20
20
  License-File: LICENSE.txt
21
21
  Requires-Dist: numpy
22
22
  Requires-Dist: scipy
23
- Requires-Dist: pylibsparseir<0.13.0,>=0.8.3
23
+ Requires-Dist: pylibsparseir!=0.13.*,<0.15.0,>=0.8.3
24
24
  Dynamic: license-file
25
25
 
26
26
  sparse-ir - A library for the intermediate representation of propagators
@@ -32,6 +32,9 @@ intermediate representation of correlation functions. It provides:
32
32
  - basis functions and singular values are accurate to full precision
33
33
  - routines for sparse sampling
34
34
 
35
+ sparse-ir is part of the `sparse-ir ecosystem`_ (overview, history of IR and DLR,
36
+ notation, and the Julia, Rust, C and Fortran libraries), maintained by `SpM-lab`_.
37
+
35
38
 
36
39
  Installation
37
40
  ------------
@@ -47,6 +50,16 @@ sparse-ir requires `numpy <https://numpy.org/>`_, `scipy <https://scipy.org/>`_,
47
50
  and `pylibsparseir <https://pypi.org/project/pylibsparseir>`_ (a thin Python wrapper
48
51
  for the libsparseir C API from `sparse-ir-rs <https://github.com/SpM-lab/sparse-ir-rs>`_).
49
52
 
53
+ The prebuilt ``pylibsparseir`` (0.14 on) uses the fused multiply-add (FMA)
54
+ instruction, which every aarch64 CPU and every x86-64 CPU since 2013 has. On a
55
+ CPU without it, ``import sparse_ir`` raises a ``RuntimeError`` naming the
56
+ requirement instead of crashing. There, build ``pylibsparseir`` from its
57
+ repository with FMA turned off (a Rust toolchain is needed)::
58
+
59
+ RUSTFLAGS="-C target-feature=-fma" pip install "pylibsparseir @ git+https://github.com/SpM-lab/sparse-ir-rs@v0.14.0#subdirectory=python"
60
+
61
+ (0.13 also needs FMA but lacks the check, so this package does not accept it.)
62
+
50
63
  To manually install the current development version, you can use the following::
51
64
 
52
65
  # Only recommended for developers - no automatic updates!
@@ -88,7 +101,9 @@ G(iν) = ∫₀^β dτ e^{iντ} G(τ); and G(τ) is evaluated for τ in [-β,
88
101
  There is also a `Julia library`_ and (currently somewhat restricted)
89
102
  `C library with Fortran bindings`_ available for the IR basis and sparse sampling.
90
103
 
91
- .. _comprehensive tutorial: https://spm-lab.github.io/sparse-ir-tutorial-v2/
104
+ .. _comprehensive tutorial: https://spm-lab.github.io/sparse-ir-tutorial/
105
+ .. _sparse-ir ecosystem: https://spm-lab.github.io/sparse-ir-doc/
106
+ .. _SpM-lab: https://spm-lab.github.io/
92
107
  .. _API documentation: https://sparse-ir.readthedocs.io
93
108
  .. _notation page: https://spm-lab.github.io/sparse-ir-doc/src/notation.html
94
109
  .. _Julia library: https://github.com/SpM-lab/SparseIR.jl
@@ -7,6 +7,9 @@ intermediate representation of correlation functions. It provides:
7
7
  - basis functions and singular values are accurate to full precision
8
8
  - routines for sparse sampling
9
9
 
10
+ sparse-ir is part of the `sparse-ir ecosystem`_ (overview, history of IR and DLR,
11
+ notation, and the Julia, Rust, C and Fortran libraries), maintained by `SpM-lab`_.
12
+
10
13
 
11
14
  Installation
12
15
  ------------
@@ -22,6 +25,16 @@ sparse-ir requires `numpy <https://numpy.org/>`_, `scipy <https://scipy.org/>`_,
22
25
  and `pylibsparseir <https://pypi.org/project/pylibsparseir>`_ (a thin Python wrapper
23
26
  for the libsparseir C API from `sparse-ir-rs <https://github.com/SpM-lab/sparse-ir-rs>`_).
24
27
 
28
+ The prebuilt ``pylibsparseir`` (0.14 on) uses the fused multiply-add (FMA)
29
+ instruction, which every aarch64 CPU and every x86-64 CPU since 2013 has. On a
30
+ CPU without it, ``import sparse_ir`` raises a ``RuntimeError`` naming the
31
+ requirement instead of crashing. There, build ``pylibsparseir`` from its
32
+ repository with FMA turned off (a Rust toolchain is needed)::
33
+
34
+ RUSTFLAGS="-C target-feature=-fma" pip install "pylibsparseir @ git+https://github.com/SpM-lab/sparse-ir-rs@v0.14.0#subdirectory=python"
35
+
36
+ (0.13 also needs FMA but lacks the check, so this package does not accept it.)
37
+
25
38
  To manually install the current development version, you can use the following::
26
39
 
27
40
  # Only recommended for developers - no automatic updates!
@@ -63,7 +76,9 @@ G(iν) = ∫₀^β dτ e^{iντ} G(τ); and G(τ) is evaluated for τ in [-β,
63
76
  There is also a `Julia library`_ and (currently somewhat restricted)
64
77
  `C library with Fortran bindings`_ available for the IR basis and sparse sampling.
65
78
 
66
- .. _comprehensive tutorial: https://spm-lab.github.io/sparse-ir-tutorial-v2/
79
+ .. _comprehensive tutorial: https://spm-lab.github.io/sparse-ir-tutorial/
80
+ .. _sparse-ir ecosystem: https://spm-lab.github.io/sparse-ir-doc/
81
+ .. _SpM-lab: https://spm-lab.github.io/
67
82
  .. _API documentation: https://sparse-ir.readthedocs.io
68
83
  .. _notation page: https://spm-lab.github.io/sparse-ir-doc/src/notation.html
69
84
  .. _Julia library: https://github.com/SpM-lab/SparseIR.jl
@@ -1,13 +1,13 @@
1
1
  [project]
2
2
  name = "sparse-ir"
3
- version = "2.1.6"
3
+ version = "2.1.7"
4
4
  description = "Python bindings for the libsparseir library, providing efficient sparse intermediate representation for many-body physics calculations"
5
5
  readme = "README.rst"
6
6
  requires-python = ">=3.10"
7
7
  dependencies = [
8
8
  "numpy",
9
9
  "scipy",
10
- "pylibsparseir>=0.8.3,<0.13.0",
10
+ "pylibsparseir>=0.8.3,!=0.13.*,<0.15.0",
11
11
  ]
12
12
  authors = [
13
13
  {name = "SpM-lab"}
@@ -25,9 +25,9 @@ classifiers = [
25
25
  ]
26
26
 
27
27
  [project.urls]
28
- Homepage = "https://github.com/SpM-lab/sparse-r"
29
- Repository = "https://github.com/SpM-lab/sparse-r"
30
- "Bug Tracker" = "https://github.com/SpM-lab/sparse-r/issues"
28
+ Homepage = "https://github.com/SpM-lab/sparse-ir"
29
+ Repository = "https://github.com/SpM-lab/sparse-ir"
30
+ "Bug Tracker" = "https://github.com/SpM-lab/sparse-ir/issues"
31
31
 
32
32
  [build-system]
33
33
  requires = ["setuptools", "wheel"]
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sparse-ir
3
- Version: 2.1.6
3
+ Version: 2.1.7
4
4
  Summary: Python bindings for the libsparseir library, providing efficient sparse intermediate representation for many-body physics calculations
5
5
  Author: SpM-lab
6
6
  License-Expression: MIT
7
- Project-URL: Homepage, https://github.com/SpM-lab/sparse-r
8
- Project-URL: Repository, https://github.com/SpM-lab/sparse-r
9
- Project-URL: Bug Tracker, https://github.com/SpM-lab/sparse-r/issues
7
+ Project-URL: Homepage, https://github.com/SpM-lab/sparse-ir
8
+ Project-URL: Repository, https://github.com/SpM-lab/sparse-ir
9
+ Project-URL: Bug Tracker, https://github.com/SpM-lab/sparse-ir/issues
10
10
  Keywords: physics,many-body,green-functions,sparse-ir
11
11
  Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Intended Audience :: Science/Research
@@ -20,7 +20,7 @@ Description-Content-Type: text/x-rst
20
20
  License-File: LICENSE.txt
21
21
  Requires-Dist: numpy
22
22
  Requires-Dist: scipy
23
- Requires-Dist: pylibsparseir<0.13.0,>=0.8.3
23
+ Requires-Dist: pylibsparseir!=0.13.*,<0.15.0,>=0.8.3
24
24
  Dynamic: license-file
25
25
 
26
26
  sparse-ir - A library for the intermediate representation of propagators
@@ -32,6 +32,9 @@ intermediate representation of correlation functions. It provides:
32
32
  - basis functions and singular values are accurate to full precision
33
33
  - routines for sparse sampling
34
34
 
35
+ sparse-ir is part of the `sparse-ir ecosystem`_ (overview, history of IR and DLR,
36
+ notation, and the Julia, Rust, C and Fortran libraries), maintained by `SpM-lab`_.
37
+
35
38
 
36
39
  Installation
37
40
  ------------
@@ -47,6 +50,16 @@ sparse-ir requires `numpy <https://numpy.org/>`_, `scipy <https://scipy.org/>`_,
47
50
  and `pylibsparseir <https://pypi.org/project/pylibsparseir>`_ (a thin Python wrapper
48
51
  for the libsparseir C API from `sparse-ir-rs <https://github.com/SpM-lab/sparse-ir-rs>`_).
49
52
 
53
+ The prebuilt ``pylibsparseir`` (0.14 on) uses the fused multiply-add (FMA)
54
+ instruction, which every aarch64 CPU and every x86-64 CPU since 2013 has. On a
55
+ CPU without it, ``import sparse_ir`` raises a ``RuntimeError`` naming the
56
+ requirement instead of crashing. There, build ``pylibsparseir`` from its
57
+ repository with FMA turned off (a Rust toolchain is needed)::
58
+
59
+ RUSTFLAGS="-C target-feature=-fma" pip install "pylibsparseir @ git+https://github.com/SpM-lab/sparse-ir-rs@v0.14.0#subdirectory=python"
60
+
61
+ (0.13 also needs FMA but lacks the check, so this package does not accept it.)
62
+
50
63
  To manually install the current development version, you can use the following::
51
64
 
52
65
  # Only recommended for developers - no automatic updates!
@@ -88,7 +101,9 @@ G(iν) = ∫₀^β dτ e^{iντ} G(τ); and G(τ) is evaluated for τ in [-β,
88
101
  There is also a `Julia library`_ and (currently somewhat restricted)
89
102
  `C library with Fortran bindings`_ available for the IR basis and sparse sampling.
90
103
 
91
- .. _comprehensive tutorial: https://spm-lab.github.io/sparse-ir-tutorial-v2/
104
+ .. _comprehensive tutorial: https://spm-lab.github.io/sparse-ir-tutorial/
105
+ .. _sparse-ir ecosystem: https://spm-lab.github.io/sparse-ir-doc/
106
+ .. _SpM-lab: https://spm-lab.github.io/
92
107
  .. _API documentation: https://sparse-ir.readthedocs.io
93
108
  .. _notation page: https://spm-lab.github.io/sparse-ir-doc/src/notation.html
94
109
  .. _Julia library: https://github.com/SpM-lab/SparseIR.jl
@@ -0,0 +1,3 @@
1
+ numpy
2
+ scipy
3
+ pylibsparseir!=0.13.*,<0.15.0,>=0.8.3
@@ -1,3 +0,0 @@
1
- numpy
2
- scipy
3
- pylibsparseir<0.13.0,>=0.8.3
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes