quant-met 0.0.27__tar.gz → 0.1.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.
- {quant_met-0.0.27 → quant_met-0.1.1}/.coveragerc +0 -5
- {quant_met-0.0.27/.github/workflows → quant_met-0.1.1/.github}/codspeed.yml +2 -5
- {quant_met-0.0.27 → quant_met-0.1.1}/.github/dependabot.yml +1 -4
- {quant_met-0.0.27 → quant_met-0.1.1}/.github/workflows/check_version.yml +1 -4
- {quant_met-0.0.27 → quant_met-0.1.1}/.github/workflows/integration_tests.yml +2 -5
- {quant_met-0.0.27 → quant_met-0.1.1}/.github/workflows/linting.yml +2 -5
- {quant_met-0.0.27 → quant_met-0.1.1}/.github/workflows/publish.yml +2 -5
- {quant_met-0.0.27 → quant_met-0.1.1}/.github/workflows/typing.yml +2 -5
- {quant_met-0.0.27 → quant_met-0.1.1}/.github/workflows/unit_tests.yml +2 -5
- {quant_met-0.0.27 → quant_met-0.1.1}/.gitignore +0 -5
- quant_met-0.1.1/.pre-commit-config.yaml +15 -0
- {quant_met-0.0.27 → quant_met-0.1.1}/.readthedocs.yaml +1 -4
- quant_met-0.1.1/.vscode/settings.json +8 -0
- {quant_met-0.0.27 → quant_met-0.1.1}/CHANGELOG.rst +28 -4
- {quant_met-0.0.27 → quant_met-0.1.1}/Makefile +1 -4
- {quant_met-0.0.27 → quant_met-0.1.1}/PKG-INFO +5 -11
- {quant_met-0.0.27 → quant_met-0.1.1}/README.md +0 -7
- quant_met-0.1.1/changelog.d/scriv.ini +2 -0
- {quant_met-0.0.27 → quant_met-0.1.1}/check_version.sh +1 -4
- {quant_met-0.0.27 → quant_met-0.1.1}/docs/Makefile +1 -4
- {quant_met-0.0.27 → quant_met-0.1.1}/docs/make.bat +0 -5
- {quant_met-0.0.27 → quant_met-0.1.1}/docs/requirements.txt +0 -4
- {quant_met-0.0.27 → quant_met-0.1.1}/docs/source/_static/custom.css +0 -7
- {quant_met-0.0.27 → quant_met-0.1.1}/docs/source/_templates/autosummary/attribute.rst +1 -4
- quant_met-0.1.1/docs/source/_templates/autosummary/class.rst +43 -0
- {quant_met-0.0.27 → quant_met-0.1.1}/docs/source/_templates/autosummary/function.rst +1 -4
- {quant_met-0.0.27 → quant_met-0.1.1}/docs/source/_templates/autosummary/method.rst +1 -4
- {quant_met-0.0.27 → quant_met-0.1.1}/docs/source/_templates/autosummary/module.rst +1 -4
- {quant_met-0.0.27 → quant_met-0.1.1}/docs/source/_templates/autosummary/property.rst +1 -4
- quant_met-0.1.1/docs/source/changelog.rst +6 -0
- {quant_met-0.0.27 → quant_met-0.1.1}/docs/source/conf.py +3 -5
- {quant_met-0.0.27 → quant_met-0.1.1}/docs/source/development.rst +7 -17
- quant_met-0.1.1/docs/source/examples/dec-graphene.HSX +0 -0
- quant_met-0.1.1/docs/source/examples/decorated_graphene_nonint.ipynb +198 -0
- quant_met-0.1.1/docs/source/examples/decorated_graphene_scf.ipynb +202 -0
- quant_met-0.1.1/docs/source/examples/decorated_graphene_sisl.ipynb +185 -0
- quant_met-0.1.1/docs/source/examples/example-crit-temp.yaml +12 -0
- quant_met-0.1.1/docs/source/examples/example-q-analysis-dec-graphene.yaml +9 -0
- quant_met-0.1.1/docs/source/examples/example-q-loop-dec-graphene.yaml +21 -0
- quant_met-0.1.1/docs/source/examples/example-q-loop-from-scratch.yaml +21 -0
- quant_met-0.1.1/docs/source/examples/example-q-loop.yaml +13 -0
- quant_met-0.1.1/docs/source/examples/example-scf.yaml +14 -0
- quant_met-0.1.1/docs/source/examples/hamiltonian.HSX +0 -0
- quant_met-0.1.1/docs/source/examples/test_sisl.ipynb +140 -0
- quant_met-0.1.1/docs/source/extra/versions.json +12 -0
- {quant_met-0.0.27 → quant_met-0.1.1}/docs/source/index.rst +1 -4
- quant_met-0.1.1/docs/source/reference/bdg.rst +5 -0
- quant_met-0.1.1/docs/source/reference/cli.rst +5 -0
- quant_met-0.1.1/docs/source/reference/generated/parameters/quant_met.parameters.Control.rst +6 -0
- quant_met-0.1.1/docs/source/reference/generated/parameters/quant_met.parameters.KPoints.rst +6 -0
- quant_met-0.1.1/docs/source/reference/generated/parameters/quant_met.parameters.Parameters.rst +6 -0
- quant_met-0.1.1/docs/source/reference/generated/quant_met.bdg.bdg_hamiltonian.rst +13 -0
- quant_met-0.1.1/docs/source/reference/generated/quant_met.bdg.calculate_current_density.rst +13 -0
- quant_met-0.1.1/docs/source/reference/generated/quant_met.bdg.calculate_superfluid_weight.rst +13 -0
- quant_met-0.1.1/docs/source/reference/generated/quant_met.bdg.diagonalize_bdg.rst +13 -0
- quant_met-0.1.1/docs/source/reference/generated/quant_met.bdg.gap_equation.rst +13 -0
- quant_met-0.1.1/docs/source/reference/generated/quant_met.quantum_geometry.calculate_qgt.rst +13 -0
- quant_met-0.1.1/docs/source/reference/generated/quant_met.routines.self_consistency_loop.rst +13 -0
- quant_met-0.1.1/docs/source/reference/index.rst +31 -0
- quant_met-0.1.1/docs/source/reference/parameters.rst +5 -0
- quant_met-0.1.1/docs/source/reference/quantum_geometry.rst +5 -0
- quant_met-0.1.1/docs/source/reference/routines.rst +5 -0
- quant_met-0.1.1/docs/source/user_guide/first-scf.rst +4 -0
- quant_met-0.1.1/docs/source/user_guide/search_T_C.rst +4 -0
- quant_met-0.1.1/docs/source/user_guide.rst +15 -0
- quant_met-0.1.1/justfile +31 -0
- {quant_met-0.0.27 → quant_met-0.1.1}/pyproject.toml +14 -24
- quant_met-0.1.1/src/quant_met/__init__.py +5 -0
- quant_met-0.1.1/src/quant_met/bdg/__init__.py +26 -0
- quant_met-0.1.1/src/quant_met/bdg/bdg_hamiltonian.py +97 -0
- quant_met-0.1.1/src/quant_met/bdg/gap_equation.py +127 -0
- quant_met-0.1.1/src/quant_met/bdg/sc_current.py +60 -0
- quant_met-0.1.1/src/quant_met/bdg/superfluid_weight.py +110 -0
- {quant_met-0.0.27 → quant_met-0.1.1}/src/quant_met/cli/__init__.py +0 -5
- {quant_met-0.0.27 → quant_met-0.1.1}/src/quant_met/cli/crit_temp.py +18 -16
- {quant_met-0.0.27 → quant_met-0.1.1}/src/quant_met/cli/main.py +8 -5
- quant_met-0.1.1/src/quant_met/cli/q_analysis.py +60 -0
- quant_met-0.1.1/src/quant_met/cli/q_loop.py +95 -0
- quant_met-0.1.1/src/quant_met/cli/scf.py +92 -0
- quant_met-0.1.1/src/quant_met/parameters/__init__.py +24 -0
- quant_met-0.1.1/src/quant_met/parameters/control.py +57 -0
- quant_met-0.1.1/src/quant_met/parameters/main.py +38 -0
- quant_met-0.1.1/src/quant_met/quantum_geometry/__init__.py +13 -0
- quant_met-0.1.1/src/quant_met/quantum_geometry/qgt.py +37 -0
- quant_met-0.1.1/src/quant_met/routines/__init__.py +22 -0
- quant_met-0.1.1/src/quant_met/routines/analyse_q_data.py +226 -0
- quant_met-0.1.1/src/quant_met/routines/loop_over_q.py +154 -0
- {quant_met-0.0.27/src/quant_met/mean_field → quant_met-0.1.1/src/quant_met/routines}/search_crit_temp.py +71 -48
- {quant_met-0.0.27/src/quant_met/mean_field → quant_met-0.1.1/src/quant_met/routines}/self_consistency.py +32 -28
- {quant_met-0.0.27 → quant_met-0.1.1}/src/quant_met/utils.py +1 -6
- quant_met-0.1.1/tests/conftest.py +31 -0
- quant_met-0.1.1/tests/test_bdg.py +18 -0
- quant_met-0.1.1/tests/test_scf.py +16 -0
- {quant_met-0.0.27 → quant_met-0.1.1}/uv.lock +594 -22
- quant_met-0.0.27/.pre-commit-config.yaml +0 -29
- quant_met-0.0.27/LICENSES/MIT.txt +0 -9
- quant_met-0.0.27/changelog.d/scriv.ini +0 -7
- quant_met-0.0.27/docs/source/_templates/autosummary/class.rst +0 -19
- quant_met-0.0.27/docs/source/_templates/autosummary/pydantic.rst +0 -21
- quant_met-0.0.27/docs/source/changelog.rst +0 -9
- quant_met-0.0.27/docs/source/example_input_T_C.yaml +0 -24
- quant_met-0.0.27/docs/source/example_input_T_C_one_band.yaml +0 -22
- quant_met-0.0.27/docs/source/example_input_dmft.yaml +0 -33
- quant_met-0.0.27/docs/source/example_input_scf.yaml +0 -27
- quant_met-0.0.27/docs/source/examples/EG-X bands.pdf +0 -0
- quant_met-0.0.27/docs/source/examples/band_structures.ipynb +0 -165
- quant_met-0.0.27/docs/source/extra/versions.json +0 -22
- quant_met-0.0.27/docs/source/reference/cli.rst +0 -8
- quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.BaseHamiltonian.rst +0 -19
- quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.DressedGraphene.rst +0 -19
- quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.Graphene.rst +0 -19
- quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.OneBand.rst +0 -19
- quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.ThreeBand.rst +0 -19
- quant_met-0.0.27/docs/source/reference/generated/hamiltonians/quant_met.mean_field.hamiltonians.TwoBand.rst +0 -19
- quant_met-0.0.27/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.DressedGrapheneParameters.rst +0 -21
- quant_met-0.0.27/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.GrapheneParameters.rst +0 -21
- quant_met-0.0.27/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.HamiltonianParameters.rst +0 -21
- quant_met-0.0.27/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.OneBandParameters.rst +0 -21
- quant_met-0.0.27/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.ThreeBandParameters.rst +0 -21
- quant_met-0.0.27/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.TwoBandParameters.rst +0 -21
- quant_met-0.0.27/docs/source/reference/generated/parameters/hamiltonians/quant_met.parameters.hamiltonians.rst +0 -15
- quant_met-0.0.27/docs/source/reference/generated/parameters/quant_met.parameters.Control.rst +0 -21
- quant_met-0.0.27/docs/source/reference/generated/parameters/quant_met.parameters.KPoints.rst +0 -21
- quant_met-0.0.27/docs/source/reference/generated/parameters/quant_met.parameters.Parameters.rst +0 -21
- quant_met-0.0.27/docs/source/reference/generated/quant_met.geometry.BaseLattice.rst +0 -19
- quant_met-0.0.27/docs/source/reference/generated/quant_met.geometry.GrapheneLattice.rst +0 -19
- quant_met-0.0.27/docs/source/reference/generated/quant_met.geometry.SquareLattice.rst +0 -19
- quant_met-0.0.27/docs/source/reference/generated/quant_met.geometry.generate_bz_path.rst +0 -16
- quant_met-0.0.27/docs/source/reference/generated/quant_met.mean_field.hamiltonians.rst +0 -15
- quant_met-0.0.27/docs/source/reference/generated/quant_met.mean_field.search_crit_temp.rst +0 -16
- quant_met-0.0.27/docs/source/reference/generated/quant_met.mean_field.self_consistency_loop.rst +0 -16
- quant_met-0.0.27/docs/source/reference/generated/quant_met.plotting.format_plot.rst +0 -16
- quant_met-0.0.27/docs/source/reference/generated/quant_met.plotting.plot_bandstructure.rst +0 -16
- quant_met-0.0.27/docs/source/reference/generated/quant_met.plotting.plot_superfluid_weight.rst +0 -16
- quant_met-0.0.27/docs/source/reference/generated/quant_met.plotting.scatter_into_bz.rst +0 -16
- quant_met-0.0.27/docs/source/reference/generated/quant_met.utils.generate_uniform_grid.rst +0 -16
- quant_met-0.0.27/docs/source/reference/geometry.rst +0 -8
- quant_met-0.0.27/docs/source/reference/index.rst +0 -30
- quant_met-0.0.27/docs/source/reference/mean_field.rst +0 -8
- quant_met-0.0.27/docs/source/reference/parameters.rst +0 -8
- quant_met-0.0.27/docs/source/reference/plotting.rst +0 -8
- quant_met-0.0.27/docs/source/reference/utils.rst +0 -8
- quant_met-0.0.27/docs/source/user_guide/first-scf.rst +0 -7
- quant_met-0.0.27/docs/source/user_guide/search_T_C.rst +0 -7
- quant_met-0.0.27/docs/source/user_guide.rst +0 -20
- quant_met-0.0.27/justfile +0 -13
- quant_met-0.0.27/src/quant_met/__init__.py +0 -10
- quant_met-0.0.27/src/quant_met/cli/_utils.py +0 -32
- quant_met-0.0.27/src/quant_met/cli/scf.py +0 -71
- quant_met-0.0.27/src/quant_met/geometry/__init__.py +0 -36
- quant_met-0.0.27/src/quant_met/geometry/base_lattice.py +0 -100
- quant_met-0.0.27/src/quant_met/geometry/bz_path.py +0 -90
- quant_met-0.0.27/src/quant_met/geometry/graphene.py +0 -48
- quant_met-0.0.27/src/quant_met/geometry/square.py +0 -47
- quant_met-0.0.27/src/quant_met/mean_field/__init__.py +0 -38
- quant_met-0.0.27/src/quant_met/mean_field/_utils.py +0 -17
- quant_met-0.0.27/src/quant_met/mean_field/hamiltonians/__init__.py +0 -34
- quant_met-0.0.27/src/quant_met/mean_field/hamiltonians/base_hamiltonian.py +0 -793
- quant_met-0.0.27/src/quant_met/mean_field/hamiltonians/dressed_graphene.py +0 -118
- quant_met-0.0.27/src/quant_met/mean_field/hamiltonians/graphene.py +0 -95
- quant_met-0.0.27/src/quant_met/mean_field/hamiltonians/one_band_tight_binding.py +0 -70
- quant_met-0.0.27/src/quant_met/mean_field/hamiltonians/three_band_tight_binding.py +0 -85
- quant_met-0.0.27/src/quant_met/mean_field/hamiltonians/two_band_tight_binding.py +0 -76
- quant_met-0.0.27/src/quant_met/parameters/__init__.py +0 -50
- quant_met-0.0.27/src/quant_met/parameters/hamiltonians.py +0 -182
- quant_met-0.0.27/src/quant_met/parameters/main.py +0 -91
- quant_met-0.0.27/src/quant_met/plotting/__init__.py +0 -31
- quant_met-0.0.27/src/quant_met/plotting/plotting.py +0 -215
- quant_met-0.0.27/tests/__init__.py +0 -6
- quant_met-0.0.27/tests/baseline_images/test_plotting/nonint_bandstructure_dressed_graphene.png +0 -0
- quant_met-0.0.27/tests/baseline_images/test_plotting/nonint_bandstructure_graphene.png +0 -0
- quant_met-0.0.27/tests/baseline_images/test_plotting/nonint_bandstructure_one_band.png +0 -0
- quant_met-0.0.27/tests/baseline_images/test_plotting/scatter_into_bz.png +0 -0
- quant_met-0.0.27/tests/baseline_images/test_plotting/scatter_into_bz_with_data.png +0 -0
- quant_met-0.0.27/tests/baseline_images/test_plotting/sf_weight.png +0 -0
- quant_met-0.0.27/tests/test_benchmarks.py +0 -141
- quant_met-0.0.27/tests/test_cli.py +0 -135
- quant_met-0.0.27/tests/test_geometry.py +0 -41
- quant_met-0.0.27/tests/test_hamiltonians/__init__.py +0 -6
- quant_met-0.0.27/tests/test_hamiltonians/test_fixed_values.py +0 -127
- quant_met-0.0.27/tests/test_hamiltonians/test_invalid_values.py +0 -94
- quant_met-0.0.27/tests/test_hamiltonians/test_random_samples.py +0 -163
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_bdg_hamiltonian_derivative_graphene.npz +0 -0
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_bdg_hamiltonian_derivative_graphene.npz.license +0 -4
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_current.npz +0 -0
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_current.npz.license +0 -4
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_density_of_states.npz +0 -0
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_density_of_states.npz.license +0 -4
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_free_energy.npz +0 -0
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_free_energy.npz.license +0 -4
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_graphene.npz +0 -0
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_graphene.npz.license +0 -4
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_one_band.npz +0 -0
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_hamiltonian_derivative_one_band.npz.license +0 -4
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_hamiltonian_three_band.npz +0 -0
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_hamiltonian_three_band.npz.license +0 -4
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_hamiltonian_two_band.npz +0 -0
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_hamiltonian_two_band.npz.license +0 -4
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_spectral_gap.npz +0 -0
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions/test_spectral_gap.npz.license +0 -4
- quant_met-0.0.27/tests/test_hamiltonians/test_regressions.py +0 -305
- quant_met-0.0.27/tests/test_hamiltonians/test_save.py +0 -214
- quant_met-0.0.27/tests/test_integration/__init__.py +0 -6
- quant_met-0.0.27/tests/test_integration/test_crit_temp.py +0 -70
- quant_met-0.0.27/tests/test_integration/test_scf.py +0 -44
- quant_met-0.0.27/tests/test_plotting.py +0 -288
- quant_met-0.0.27/tests/test_quantum_metric/test_quantum_metric_dressed_graphene.npz +0 -0
- quant_met-0.0.27/tests/test_quantum_metric/test_quantum_metric_graphene.npz +0 -0
- quant_met-0.0.27/tests/test_quantum_metric.py +0 -77
- quant_met-0.0.27/tests/test_self_consistency.py +0 -63
- quant_met-0.0.27/tests/test_superfluid_weight/test_superfluid_weight_dressed_graphene.npz +0 -0
- quant_met-0.0.27/tests/test_superfluid_weight/test_superfluid_weight_graphene.npz +0 -0
- quant_met-0.0.27/tests/test_superfluid_weight.py +0 -73
- quant_met-0.0.27/tests/test_utils.py +0 -83
- quant_met-0.0.27/uv.lock.license +0 -4
- {quant_met-0.0.27 → quant_met-0.1.1}/LICENSE.txt +0 -0
- {quant_met-0.0.27 → quant_met-0.1.1}/docs/source/reference/generated/quant_met.cli.cli.rst +0 -0
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
# SPDX-FileCopyrightText: 2025 Tjark Sievers
|
3
|
-
#
|
4
|
-
# SPDX-License-Identifier: MIT
|
1
|
+
|
5
2
|
|
6
3
|
name: Codspeed
|
7
4
|
|
@@ -27,7 +24,7 @@ jobs:
|
|
27
24
|
fetch-depth: 0
|
28
25
|
- uses: actions/checkout@v4
|
29
26
|
- name: Install uv
|
30
|
-
uses: astral-sh/setup-uv@
|
27
|
+
uses: astral-sh/setup-uv@v6
|
31
28
|
- name: Install the project
|
32
29
|
run: uv sync --group=test
|
33
30
|
- uses: extractions/setup-just@v3
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
# SPDX-FileCopyrightText: 2025 Tjark Sievers
|
3
|
-
#
|
4
|
-
# SPDX-License-Identifier: MIT
|
1
|
+
|
5
2
|
|
6
3
|
name: Integration tests
|
7
4
|
|
@@ -29,7 +26,7 @@ jobs:
|
|
29
26
|
fetch-depth: 0
|
30
27
|
- uses: actions/checkout@v4
|
31
28
|
- name: Install uv
|
32
|
-
uses: astral-sh/setup-uv@
|
29
|
+
uses: astral-sh/setup-uv@v6
|
33
30
|
- name: Install the project
|
34
31
|
run: uv sync --group=test
|
35
32
|
- uses: extractions/setup-just@v3
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
# SPDX-FileCopyrightText: 2025 Tjark Sievers
|
3
|
-
#
|
4
|
-
# SPDX-License-Identifier: MIT
|
1
|
+
|
5
2
|
|
6
3
|
name: Linting
|
7
4
|
|
@@ -28,7 +25,7 @@ jobs:
|
|
28
25
|
with:
|
29
26
|
python-version: "3.12"
|
30
27
|
- name: Install uv
|
31
|
-
uses: astral-sh/setup-uv@
|
28
|
+
uses: astral-sh/setup-uv@v6
|
32
29
|
- name: Install the project
|
33
30
|
run: uv sync --group=lint
|
34
31
|
- uses: extractions/setup-just@v3
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
# SPDX-FileCopyrightText: 2025 Tjark Sievers
|
3
|
-
#
|
4
|
-
# SPDX-License-Identifier: MIT
|
1
|
+
|
5
2
|
|
6
3
|
name: Publish python package
|
7
4
|
|
@@ -24,6 +21,6 @@ jobs:
|
|
24
21
|
steps:
|
25
22
|
- uses: actions/checkout@v4
|
26
23
|
- name: Install uv
|
27
|
-
uses: astral-sh/setup-uv@
|
24
|
+
uses: astral-sh/setup-uv@v6
|
28
25
|
- name: Build and publish to pypi
|
29
26
|
run: uv build && uv publish
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
# SPDX-FileCopyrightText: 2025 Tjark Sievers
|
3
|
-
#
|
4
|
-
# SPDX-License-Identifier: MIT
|
1
|
+
|
5
2
|
|
6
3
|
name: Type checking
|
7
4
|
|
@@ -28,7 +25,7 @@ jobs:
|
|
28
25
|
with:
|
29
26
|
python-version: "3.12"
|
30
27
|
- name: Install uv
|
31
|
-
uses: astral-sh/setup-uv@
|
28
|
+
uses: astral-sh/setup-uv@v6
|
32
29
|
- name: Install the project
|
33
30
|
run: uv sync --group=type
|
34
31
|
- uses: extractions/setup-just@v3
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
# SPDX-FileCopyrightText: 2025 Tjark Sievers
|
3
|
-
#
|
4
|
-
# SPDX-License-Identifier: MIT
|
1
|
+
|
5
2
|
|
6
3
|
name: Unit tests
|
7
4
|
|
@@ -30,7 +27,7 @@ jobs:
|
|
30
27
|
with:
|
31
28
|
fetch-depth: 0
|
32
29
|
- name: Install uv
|
33
|
-
uses: astral-sh/setup-uv@
|
30
|
+
uses: astral-sh/setup-uv@v6
|
34
31
|
with:
|
35
32
|
python-version: ${{ matrix.python-version }}
|
36
33
|
enable-cache: true
|
@@ -0,0 +1,15 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
repos:
|
4
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
5
|
+
rev: v5.0.0
|
6
|
+
hooks:
|
7
|
+
- id: check-toml
|
8
|
+
- id: check-yaml
|
9
|
+
- id: end-of-file-fixer
|
10
|
+
- id: trailing-whitespace
|
11
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
12
|
+
rev: v5.0.0
|
13
|
+
hooks:
|
14
|
+
- id: no-commit-to-branch
|
15
|
+
args: [ --branch, main ]
|
@@ -1,7 +1,31 @@
|
|
1
|
-
|
2
|
-
..
|
3
|
-
|
4
|
-
|
1
|
+
|
2
|
+
.. _changelog-0.1.1:
|
3
|
+
|
4
|
+
0.1.1 — 2025-07-27
|
5
|
+
------------------
|
6
|
+
|
7
|
+
Fixed
|
8
|
+
^^^^^
|
9
|
+
|
10
|
+
- The crit-temp calculation in the q-loop now uses the correct control parameters instead of the ones in the q-loop calculation
|
11
|
+
|
12
|
+
- Delete the q-loop result file only if it exists
|
13
|
+
|
14
|
+
.. _changelog-0.1.0:
|
15
|
+
|
16
|
+
0.1.0 — 2025-07-27
|
17
|
+
------------------
|
18
|
+
|
19
|
+
Added
|
20
|
+
^^^^^
|
21
|
+
|
22
|
+
- Routines to loop over finite momenta and analyse the resulting data
|
23
|
+
|
24
|
+
Changed
|
25
|
+
^^^^^^^
|
26
|
+
|
27
|
+
- Switch whole architecture to use sisl as a basis for tight binding Hamiltonians
|
28
|
+
|
5
29
|
|
6
30
|
.. _changelog-0.0.25:
|
7
31
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: quant-met
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.1.1
|
4
4
|
Summary: Calculate superconductivity in flat-band systems.
|
5
|
-
Author-email: Tjark Sievers <
|
5
|
+
Author-email: Tjark Sievers <tjarksievers@icloud.com>
|
6
6
|
License-File: LICENSE.txt
|
7
7
|
Requires-Python: >=3.11
|
8
8
|
Requires-Dist: click>=8.1.8
|
@@ -10,28 +10,22 @@ Requires-Dist: h5py>=3.12.1
|
|
10
10
|
Requires-Dist: matplotlib>=3.10.0
|
11
11
|
Requires-Dist: numba>=0.61.0
|
12
12
|
Requires-Dist: numpy>=2.1
|
13
|
-
Requires-Dist: numpydantic>=1.6.
|
13
|
+
Requires-Dist: numpydantic>=1.6.8
|
14
14
|
Requires-Dist: pandas>=2.2.3
|
15
15
|
Requires-Dist: pydantic>=2.10.4
|
16
|
-
Requires-Dist: pythtb>=1.8.0
|
17
16
|
Requires-Dist: pyyaml>=6.0.2
|
18
17
|
Requires-Dist: scipy>=1.15.0
|
18
|
+
Requires-Dist: sisl[viz]>0.16.0
|
19
19
|
Requires-Dist: tables>=3.10.2
|
20
|
+
Requires-Dist: tbmodels>=1.4.3
|
20
21
|
Description-Content-Type: text/markdown
|
21
22
|
|
22
|
-
<!--
|
23
|
-
SPDX-FileCopyrightText: 2024 Tjark Sievers
|
24
|
-
SPDX-FileCopyrightText: 2025 Tjark Sievers
|
25
|
-
|
26
|
-
SPDX-License-Identifier: MIT
|
27
|
-
-->
|
28
23
|
|
29
24
|
# quant-met
|
30
25
|
|
31
26
|
[](https://zenodo.org/badge/latestdoi/800628635)
|
32
27
|
[](https://github.com/Ruberhauptmann/quant-met/actions/workflows/unit_tests.yml)
|
33
28
|
[](https://coveralls.io/github/Ruberhauptmann/quant-met?branch=main)
|
34
|
-
[](https://pypi.org/project/quant-met/)
|
35
29
|
[](https://pypi.org/project/quant-met/)
|
36
30
|
|
37
31
|
quant-met is a python package to treat superconductivity in flat-band systems.
|
@@ -1,16 +1,9 @@
|
|
1
|
-
<!--
|
2
|
-
SPDX-FileCopyrightText: 2024 Tjark Sievers
|
3
|
-
SPDX-FileCopyrightText: 2025 Tjark Sievers
|
4
|
-
|
5
|
-
SPDX-License-Identifier: MIT
|
6
|
-
-->
|
7
1
|
|
8
2
|
# quant-met
|
9
3
|
|
10
4
|
[](https://zenodo.org/badge/latestdoi/800628635)
|
11
5
|
[](https://github.com/Ruberhauptmann/quant-met/actions/workflows/unit_tests.yml)
|
12
6
|
[](https://coveralls.io/github/Ruberhauptmann/quant-met?branch=main)
|
13
|
-
[](https://pypi.org/project/quant-met/)
|
14
7
|
[](https://pypi.org/project/quant-met/)
|
15
8
|
|
16
9
|
quant-met is a python package to treat superconductivity in flat-band systems.
|
@@ -0,0 +1,43 @@
|
|
1
|
+
.. raw:: html
|
2
|
+
|
3
|
+
<div class="prename">{{ module }}.</div>
|
4
|
+
<div class="empty"></div>
|
5
|
+
|
6
|
+
{{ name }}
|
7
|
+
{{ underline }}
|
8
|
+
|
9
|
+
.. currentmodule:: {{ module }}
|
10
|
+
|
11
|
+
.. autoclass:: {{ objname }}
|
12
|
+
:no-members:
|
13
|
+
:no-inherited-members:
|
14
|
+
:no-special-members:
|
15
|
+
|
16
|
+
{% block methods %}
|
17
|
+
.. HACK -- the point here is that we don't want this to appear in the output, but the autosummary should still generate the pages.
|
18
|
+
.. autosummary::
|
19
|
+
:toctree:
|
20
|
+
{% for item in all_methods %}
|
21
|
+
{%- if not item.startswith('_') or item in ['__call__', '__mul__', '__getitem__', '__len__', '__pow__'] %}
|
22
|
+
{{ name }}.{{ item }}
|
23
|
+
{%- endif -%}
|
24
|
+
{%- endfor %}
|
25
|
+
{% for item in inherited_members %}
|
26
|
+
{%- if item in ['__call__', '__mul__', '__getitem__', '__len__', '__pow__'] %}
|
27
|
+
{{ name }}.{{ item }}
|
28
|
+
{%- endif -%}
|
29
|
+
{%- endfor %}
|
30
|
+
{% endblock %}
|
31
|
+
|
32
|
+
{% block attributes %}
|
33
|
+
{% if attributes %}
|
34
|
+
.. HACK -- the point here is that we don't want this to appear in the output, but the autosummary should still generate the pages.
|
35
|
+
.. autosummary::
|
36
|
+
:toctree:
|
37
|
+
{% for item in all_attributes %}
|
38
|
+
{%- if not item.startswith('_') %}
|
39
|
+
{{ name }}.{{ item }}
|
40
|
+
{%- endif -%}
|
41
|
+
{%- endfor %}
|
42
|
+
{% endif %}
|
43
|
+
{% endblock %}
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
# SPDX-FileCopyrightText: 2025 Tjark Sievers
|
3
|
-
#
|
4
|
-
# SPDX-License-Identifier: MIT
|
1
|
+
|
5
2
|
|
6
3
|
# Configuration file for the Sphinx documentation builder.
|
7
4
|
#
|
@@ -15,7 +12,7 @@
|
|
15
12
|
import importlib.metadata
|
16
13
|
import os
|
17
14
|
import sys
|
18
|
-
sys.path.insert(0, os.path.abspath('
|
15
|
+
sys.path.insert(0, os.path.abspath('../../src/'))
|
19
16
|
|
20
17
|
project = "quant-met"
|
21
18
|
copyright = "2025, Tjark Sievers"
|
@@ -38,6 +35,7 @@ extensions = [
|
|
38
35
|
"sphinx_design",
|
39
36
|
"sphinxcontrib.autodoc_pydantic"
|
40
37
|
]
|
38
|
+
extensions.remove("sphinxcontrib.autodoc_pydantic")
|
41
39
|
|
42
40
|
intersphinx_mapping = {
|
43
41
|
"h5py": ("https://docs.h5py.org/en/latest/", None),
|
@@ -1,8 +1,3 @@
|
|
1
|
-
.. SPDX-FileCopyrightText: 2024 Tjark Sievers
|
2
|
-
.. SPDX-FileCopyrightText: 2025 Tjark Sievers
|
3
|
-
..
|
4
|
-
.. SPDX-License-Identifier: MIT
|
5
|
-
|
6
1
|
Development
|
7
2
|
===========
|
8
3
|
|
@@ -14,26 +9,21 @@ This should help you get set up to start this.
|
|
14
9
|
|
15
10
|
Prerequisites:
|
16
11
|
|
17
|
-
* make
|
18
12
|
* python
|
19
|
-
*
|
13
|
+
* just
|
14
|
+
* uv
|
20
15
|
|
21
16
|
Set up the development environment:
|
22
17
|
|
23
18
|
* clone the repository
|
24
|
-
* run ``
|
25
|
-
* now activate the conda environment ``conda activate quant-met-dev``
|
19
|
+
* run ``just environment``
|
26
20
|
|
27
|
-
You can manually run tests using for example ``
|
21
|
+
You can manually run tests using for example ``just test``.
|
28
22
|
After pushing your branch, all tests will also be run via Github Actions.
|
29
23
|
|
30
24
|
Using ``pre-commit``, automatic linting and formatting is done before every commit, which may cause the first commit to fail.
|
31
25
|
A second try should then succeed.
|
32
26
|
|
33
|
-
To fix the reuse copyright::
|
34
|
-
|
35
|
-
reuse annotate --license=MIT --copyright="Tjark Sievers" --skip-unrecognised -r .
|
36
|
-
|
37
27
|
After you are done working on an issue and all tests are running successful, you can add a new piece of changelog via ``scriv create`` and make a pull request.
|
38
28
|
|
39
29
|
Release Walkthrough
|
@@ -52,9 +42,9 @@ Where ``x.x.x`` is the version number for the upcoming release.
|
|
52
42
|
2. Make sure all tests pass
|
53
43
|
+++++++++++++++++++++++++++
|
54
44
|
|
55
|
-
Run all tests via::
|
45
|
+
Run all tests, linting and typechecking via::
|
56
46
|
|
57
|
-
|
47
|
+
just
|
58
48
|
|
59
49
|
|
60
50
|
3. Collect changelog
|
@@ -74,7 +64,7 @@ This needs to be changed in ``docs/source/extra/versions.json``.
|
|
74
64
|
5. Bump version
|
75
65
|
+++++++++++++++
|
76
66
|
|
77
|
-
In ``pyproject.toml``, then lock the new version via ``
|
67
|
+
In ``pyproject.toml``, then lock the new version via ``uv lock``.
|
78
68
|
|
79
69
|
6. Prepare Github release
|
80
70
|
+++++++++++++++++++++++++
|
Binary file
|