qupled 1.3.0__tar.gz → 1.3.1__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 (145) hide show
  1. {qupled-1.3.0 → qupled-1.3.1}/.github/workflows/release.yml +6 -6
  2. {qupled-1.3.0 → qupled-1.3.1}/PKG-INFO +1 -1
  3. {qupled-1.3.0 → qupled-1.3.1}/docs/introduction.rst +55 -29
  4. {qupled-1.3.0 → qupled-1.3.1}/pyproject.toml +1 -1
  5. {qupled-1.3.0 → qupled-1.3.1}/src/qupled.egg-info/PKG-INFO +1 -1
  6. {qupled-1.3.0 → qupled-1.3.1}/.clang-format +0 -0
  7. {qupled-1.3.0 → qupled-1.3.1}/.devcontainer/Dockerfile +0 -0
  8. {qupled-1.3.0 → qupled-1.3.1}/.devcontainer/devcontainer.json +0 -0
  9. {qupled-1.3.0 → qupled-1.3.1}/.github/workflows/build-and-test.yml +0 -0
  10. {qupled-1.3.0 → qupled-1.3.1}/.github/workflows/formatting.yml +0 -0
  11. {qupled-1.3.0 → qupled-1.3.1}/.gitignore +0 -0
  12. {qupled-1.3.0 → qupled-1.3.1}/.readthedocs.yaml +0 -0
  13. {qupled-1.3.0 → qupled-1.3.1}/LICENSE +0 -0
  14. {qupled-1.3.0 → qupled-1.3.1}/MANIFEST.in +0 -0
  15. {qupled-1.3.0 → qupled-1.3.1}/README.md +0 -0
  16. {qupled-1.3.0 → qupled-1.3.1}/dev/devtool.py +0 -0
  17. {qupled-1.3.0 → qupled-1.3.1}/dev/requirements-apt.txt +0 -0
  18. {qupled-1.3.0 → qupled-1.3.1}/dev/requirements-brew.txt +0 -0
  19. {qupled-1.3.0 → qupled-1.3.1}/dev/requirements-pip.txt +0 -0
  20. {qupled-1.3.0 → qupled-1.3.1}/devtool +0 -0
  21. {qupled-1.3.0 → qupled-1.3.1}/docs/_static/css/rdt_theme_python_properties.css +0 -0
  22. {qupled-1.3.0 → qupled-1.3.1}/docs/conf.py +0 -0
  23. {qupled-1.3.0 → qupled-1.3.1}/docs/contribute.rst +0 -0
  24. {qupled-1.3.0 → qupled-1.3.1}/docs/examples.rst +0 -0
  25. {qupled-1.3.0 → qupled-1.3.1}/docs/index.rst +0 -0
  26. {qupled-1.3.0 → qupled-1.3.1}/docs/make.bat +0 -0
  27. {qupled-1.3.0 → qupled-1.3.1}/docs/qupled.rst +0 -0
  28. {qupled-1.3.0 → qupled-1.3.1}/docs/requirements.txt +0 -0
  29. {qupled-1.3.0 → qupled-1.3.1}/examples/docs/fixed_adr.py +0 -0
  30. {qupled-1.3.0 → qupled-1.3.1}/examples/docs/initial_guess_stls.py +0 -0
  31. {qupled-1.3.0 → qupled-1.3.1}/examples/docs/solve_quantum_schemes.py +0 -0
  32. {qupled-1.3.0 → qupled-1.3.1}/examples/docs/solve_qvsstls.py +0 -0
  33. {qupled-1.3.0 → qupled-1.3.1}/examples/docs/solve_rpa_and_esa.py +0 -0
  34. {qupled-1.3.0 → qupled-1.3.1}/examples/docs/solve_stls.py +0 -0
  35. {qupled-1.3.0 → qupled-1.3.1}/examples/docs/solve_stls_iet.py +0 -0
  36. {qupled-1.3.0 → qupled-1.3.1}/examples/docs/solve_vsstls.py +0 -0
  37. {qupled-1.3.0 → qupled-1.3.1}/examples/readme/create_cover.py +0 -0
  38. {qupled-1.3.0 → qupled-1.3.1}/examples/readme/qupled_animation_dark.svg +0 -0
  39. {qupled-1.3.0 → qupled-1.3.1}/examples/readme/qupled_animation_light.svg +0 -0
  40. {qupled-1.3.0 → qupled-1.3.1}/examples/tests/test_examples.py +0 -0
  41. {qupled-1.3.0 → qupled-1.3.1}/manylinux/Dockerfile.manylinux_2_28 +0 -0
  42. {qupled-1.3.0 → qupled-1.3.1}/manylinux/build_manylinux_2_28 +0 -0
  43. {qupled-1.3.0 → qupled-1.3.1}/setup.cfg +0 -0
  44. {qupled-1.3.0 → qupled-1.3.1}/setup.py +0 -0
  45. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/__init__.py +0 -0
  46. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/database.py +0 -0
  47. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/esa.py +0 -0
  48. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/hf.py +0 -0
  49. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/mpi.py +0 -0
  50. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/chemical_potential.hpp +0 -0
  51. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/database.hpp +0 -0
  52. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/dual.hpp +0 -0
  53. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/esa.hpp +0 -0
  54. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/free_energy.hpp +0 -0
  55. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/hf.hpp +0 -0
  56. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/iet.hpp +0 -0
  57. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/input.hpp +0 -0
  58. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/internal_energy.hpp +0 -0
  59. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/logger.hpp +0 -0
  60. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/mpi_util.hpp +0 -0
  61. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/num_util.hpp +0 -0
  62. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/numerics.hpp +0 -0
  63. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/python_interface/inputs.hpp +0 -0
  64. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/python_interface/schemes.hpp +0 -0
  65. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/python_interface/util.hpp +0 -0
  66. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/python_interface/utilities.hpp +0 -0
  67. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/qstls.hpp +0 -0
  68. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/qstlsiet.hpp +0 -0
  69. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/qvsstls.hpp +0 -0
  70. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/rdf.hpp +0 -0
  71. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/rpa.hpp +0 -0
  72. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/stls.hpp +0 -0
  73. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/stlsiet.hpp +0 -0
  74. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/thermo_util.hpp +0 -0
  75. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/vector2D.hpp +0 -0
  76. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/vector3D.hpp +0 -0
  77. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/vector_util.hpp +0 -0
  78. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/vsbase.hpp +0 -0
  79. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/include/vsstls.hpp +0 -0
  80. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/CMakeLists.txt +0 -0
  81. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/chemical_potential.cpp +0 -0
  82. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/esa.cpp +0 -0
  83. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/free_energy.cpp +0 -0
  84. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/hf.cpp +0 -0
  85. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/iet.cpp +0 -0
  86. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/input.cpp +0 -0
  87. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/internal_energy.cpp +0 -0
  88. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/logger.cpp +0 -0
  89. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/mpi_util.cpp +0 -0
  90. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/num_util.cpp +0 -0
  91. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/numerics.cpp +0 -0
  92. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/python_interface/inputs.cpp +0 -0
  93. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/python_interface/native.cpp +0 -0
  94. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/python_interface/schemes.cpp +0 -0
  95. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/python_interface/util.cpp +0 -0
  96. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/python_interface/utilities.cpp +0 -0
  97. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/qstls.cpp +0 -0
  98. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/qstlsiet.cpp +0 -0
  99. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/qvsstls.cpp +0 -0
  100. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/rdf.cpp +0 -0
  101. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/rpa.cpp +0 -0
  102. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/stls.cpp +0 -0
  103. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/stlsiet.cpp +0 -0
  104. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/thermo_util.cpp +0 -0
  105. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/vector2D.cpp +0 -0
  106. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/vector3D.cpp +0 -0
  107. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/vector_util.cpp +0 -0
  108. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/vsbase.cpp +0 -0
  109. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/native/src/vsstls.cpp +0 -0
  110. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/output.py +0 -0
  111. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/qstls.py +0 -0
  112. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/qstlsiet.py +0 -0
  113. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/qvsstls.py +0 -0
  114. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/rpa.py +0 -0
  115. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/stls.py +0 -0
  116. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/stlsiet.py +0 -0
  117. {qupled-1.3.0 → qupled-1.3.1}/src/qupled/vsstls.py +0 -0
  118. {qupled-1.3.0 → qupled-1.3.1}/src/qupled.egg-info/SOURCES.txt +0 -0
  119. {qupled-1.3.0 → qupled-1.3.1}/src/qupled.egg-info/dependency_links.txt +0 -0
  120. {qupled-1.3.0 → qupled-1.3.1}/src/qupled.egg-info/not-zip-safe +0 -0
  121. {qupled-1.3.0 → qupled-1.3.1}/src/qupled.egg-info/requires.txt +0 -0
  122. {qupled-1.3.0 → qupled-1.3.1}/src/qupled.egg-info/top_level.txt +0 -0
  123. {qupled-1.3.0 → qupled-1.3.1}/tests/native/conftest.py +0 -0
  124. {qupled-1.3.0 → qupled-1.3.1}/tests/native/test_esa_native.py +0 -0
  125. {qupled-1.3.0 → qupled-1.3.1}/tests/native/test_hf_native.py +0 -0
  126. {qupled-1.3.0 → qupled-1.3.1}/tests/native/test_qstls_iet_native.py +0 -0
  127. {qupled-1.3.0 → qupled-1.3.1}/tests/native/test_qstls_native.py +0 -0
  128. {qupled-1.3.0 → qupled-1.3.1}/tests/native/test_qvsstls_native.py +0 -0
  129. {qupled-1.3.0 → qupled-1.3.1}/tests/native/test_rpa_native.py +0 -0
  130. {qupled-1.3.0 → qupled-1.3.1}/tests/native/test_stls_iet_native.py +0 -0
  131. {qupled-1.3.0 → qupled-1.3.1}/tests/native/test_stls_native.py +0 -0
  132. {qupled-1.3.0 → qupled-1.3.1}/tests/native/test_vsstls_native.py +0 -0
  133. {qupled-1.3.0 → qupled-1.3.1}/tests/test_database.py +0 -0
  134. {qupled-1.3.0 → qupled-1.3.1}/tests/test_esa.py +0 -0
  135. {qupled-1.3.0 → qupled-1.3.1}/tests/test_hf.py +0 -0
  136. {qupled-1.3.0 → qupled-1.3.1}/tests/test_mpi.py +0 -0
  137. {qupled-1.3.0 → qupled-1.3.1}/tests/test_output.py +0 -0
  138. {qupled-1.3.0 → qupled-1.3.1}/tests/test_qstls.py +0 -0
  139. {qupled-1.3.0 → qupled-1.3.1}/tests/test_qstlsiet.py +0 -0
  140. {qupled-1.3.0 → qupled-1.3.1}/tests/test_qvsstls.py +0 -0
  141. {qupled-1.3.0 → qupled-1.3.1}/tests/test_rpa.py +0 -0
  142. {qupled-1.3.0 → qupled-1.3.1}/tests/test_stls.py +0 -0
  143. {qupled-1.3.0 → qupled-1.3.1}/tests/test_stlsiet.py +0 -0
  144. {qupled-1.3.0 → qupled-1.3.1}/tests/test_vsstls.py +0 -0
  145. {qupled-1.3.0 → qupled-1.3.1}/tox.ini +0 -0
@@ -37,7 +37,7 @@ jobs:
37
37
 
38
38
  strategy:
39
39
  matrix:
40
- arch: [x86_64] # add also aarch64
40
+ arch: [x86_64, aarch64]
41
41
 
42
42
  steps:
43
43
  - name: Checkout source code
@@ -93,11 +93,11 @@ jobs:
93
93
  name: wheels-x86_64
94
94
  path: temp-wheels-x86_64
95
95
 
96
- # - name: Download wheels (aarch64)
97
- # uses: actions/download-artifact@v4
98
- # with:
99
- # name: wheels-aarch64
100
- # path: temp-wheels-aarch64
96
+ - name: Download wheels (aarch64)
97
+ uses: actions/download-artifact@v4
98
+ with:
99
+ name: wheels-aarch64
100
+ path: temp-wheels-aarch64
101
101
 
102
102
  - name: Move all files to dist/
103
103
  run: |
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qupled
3
- Version: 1.3.0
3
+ Version: 1.3.1
4
4
  Summary: qupled: a package to investigate quantum plasmas via the dielectric formalism
5
5
  Author-email: Federico Lucco Castello <federico.luccocastello@gmail.com>
6
6
  License-Expression: GPL-3.0-or-later
@@ -34,57 +34,83 @@ All the calculations are performed in normalized units. The wave vectors are nor
34
34
  Fermi wave-vector and the frequencies are normalized to :math:`2\pi E_{\mathrm{f}}/h`. Here :math:`E_{\mathrm{f}}`
35
35
  is the Fermi energy and :math:`h` is Planck's constant.
36
36
 
37
- Installing qupled
38
- -----------------
37
+ Installation
38
+ ------------
39
+
40
+ Install with pip
41
+ ~~~~~~~~~~~~~~~~
42
+
43
+ Qupled can be installed as a pip package by running
44
+
45
+ .. code-block:: console
46
+
47
+ pip install qupled
48
+
49
+ This will also install all the python packages that are necessary for running the package.
50
+
51
+ Install with MPI support
52
+ ~~~~~~~~~~~~~~~~~~~~~~~~
53
+
54
+ If you need to use qupled with MPI support, install the :ref:`external_dependencies` and install the
55
+ source distribution with the following command:
56
+
57
+ .. code-block:: console
58
+
59
+ pip install --no-binary=:all: qupled
60
+
61
+
62
+ Install from source
63
+ ~~~~~~~~~~~~~~~~~~~
64
+
65
+ If you want full control over your qupled installation, you can install it also directly from the source.
66
+ Install the :ref:`external_dependencies` first, then clone the repository and run the following commands:
67
+
68
+ .. code-block:: console
69
+
70
+ git clone https://github.com/fedluc/qupled.git
71
+ cd qupled
72
+ ./devtool install-deps
73
+ ./devtool build
74
+ ./devtool test
75
+ ./devtool install
39
76
 
40
77
  .. _external_dependencies:
41
78
 
42
79
  External dependencies
43
80
  ~~~~~~~~~~~~~~~~~~~~~
44
81
 
45
- The installation of qupled may require compiling some C++ code, depending on the platform and installation method.
46
- Therefore, ensure the following dependencies are met before attempting to install or run qupled:
82
+ Installing qupled may require compiling some C++ code, depending on the platform and installation method.
83
+ The following dependencies must be met before attempting to build the C++ part of qupled:
47
84
 
48
- - `Boost <https://www.boost.org/doc/libs/1_80_0/libs/python/doc/html/index.html>`_
49
85
  - `CMake <https://cmake.org/download/>`_
50
86
  - `fmt <https://github.com/fmtlib/fmt>`_
51
87
  - `GNU Scientific Library <https://www.gnu.org/software/gsl/>`_
52
88
  - `OpenMP <https://en.wikipedia.org/wiki/OpenMP>`_
53
89
  - `Open-MPI <https://www.open-mpi.org/software/ompi/v5.0/>`_
54
90
 
55
- For linux distributions all these dependencies can be installed with
91
+ **Ubuntu or Debian-based systems**
56
92
 
57
93
  .. code-block:: console
58
94
 
59
95
  sudo apt-get install -y cmake libopenmpi-dev libgsl-dev libomp-dev python3-dev libsqlite3-dev libsqlitecpp-dev
60
96
 
61
- For macOS they can be installed directly from homebrew
97
+ **Fedora or Red Hat-based system**
62
98
 
63
99
  .. code-block:: console
64
100
 
65
- brew install cmake gsl libomp openmpi sqlite sqlitecpp
101
+ sudo dnf install -y cmake openmpi openmpi-devel gsl-devel sqlite-devel
102
+ cd /tmp
103
+ git clone https://github.com/SRombauts/SQLiteCpp.git
104
+ cd SQLiteCpp
105
+ mkdir build && cd build
106
+ cmake ..
107
+ make -j$(nproc)
108
+ make install
109
+ ldconfig
110
+ cd / && rm -rf /tmp/SQLiteCpp
66
111
 
67
- Install with pip
68
- ~~~~~~~~~~~~~~~~
69
-
70
- Qupled can be installed as a pip package by running
112
+ **macOS**
71
113
 
72
114
  .. code-block:: console
73
115
 
74
- pip install qupled
75
-
76
- This will also install all the python packages that are necessary for running the package.
77
-
78
- Install from source
79
- ~~~~~~~~~~~~~~~~~~~
80
-
81
- Qupled and all its dependencies can also be installed from source by running
82
-
83
- .. code-block:: console
84
-
85
- git clone https://github.com/fedluc/qupled.git
86
- cd qupled
87
- ./devtool install-deps
88
- ./devtool build
89
- ./devtool test
90
- ./devtool install
116
+ brew install cmake gsl libomp openmpi sqlite sqlitecpp
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "qupled"
7
- version = "v1.3.0"
7
+ version = "v1.3.1"
8
8
  description = "qupled: a package to investigate quantum plasmas via the dielectric formalism"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10, <3.14"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qupled
3
- Version: 1.3.0
3
+ Version: 1.3.1
4
4
  Summary: qupled: a package to investigate quantum plasmas via the dielectric formalism
5
5
  Author-email: Federico Lucco Castello <federico.luccocastello@gmail.com>
6
6
  License-Expression: GPL-3.0-or-later
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
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
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
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