PyFinitDiff 2.1.6__tar.gz → 2.2.0__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 (82) hide show
  1. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/.github/workflows/deploy_anaconda.yml +3 -3
  2. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/.github/workflows/deploy_coverage.yml +2 -2
  3. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/.github/workflows/deploy_documentation.yml +4 -3
  4. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PKG-INFO +7 -6
  5. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/_version.py +9 -4
  6. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff.egg-info/PKG-INFO +7 -6
  7. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff.egg-info/SOURCES.txt +0 -1
  8. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff.egg-info/requires.txt +4 -4
  9. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/source/conf.py +0 -1
  10. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/meta.yaml +4 -4
  11. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/pyproject.toml +4 -4
  12. pyfinitdiff-2.1.6/.readthedocs.yml +0 -35
  13. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/.flake8 +0 -0
  14. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/.github/dependabot.yml +0 -0
  15. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/.github/workflows/deploy_pypi.yml +0 -0
  16. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/.gitignore +0 -0
  17. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/LICENSE +0 -0
  18. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/__init__.py +0 -0
  19. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/coefficients/__init__.py +0 -0
  20. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/coefficients/backward.py +0 -0
  21. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/coefficients/central.py +0 -0
  22. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/coefficients/forward.py +0 -0
  23. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/directories.py +0 -0
  24. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/finite_difference_1D/__init__.py +0 -0
  25. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/finite_difference_1D/boundaries.py +0 -0
  26. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/finite_difference_1D/derivative.py +0 -0
  27. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/finite_difference_1D/diagonals.py +0 -0
  28. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/finite_difference_1D/finite_difference.py +0 -0
  29. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/finite_difference_1D/utils.py +0 -0
  30. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/finite_difference_2D/__init__.py +0 -0
  31. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/finite_difference_2D/boundaries.py +0 -0
  32. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/finite_difference_2D/derivative.py +0 -0
  33. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/finite_difference_2D/diagonals.py +0 -0
  34. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/finite_difference_2D/finite_difference.py +0 -0
  35. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/finite_difference_2D/utils.py +0 -0
  36. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/triplet.py +0 -0
  37. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff/utils.py +0 -0
  38. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff.egg-info/dependency_links.txt +0 -0
  39. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/PyFinitDiff.egg-info/top_level.txt +0 -0
  40. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/README.rst +0 -0
  41. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/Makefile +0 -0
  42. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/README.rst +0 -0
  43. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_1d/README.rst +0 -0
  44. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_1d/example_0.py +0 -0
  45. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_1d/example_1.py +0 -0
  46. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_1d/example_2.py +0 -0
  47. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_1d/example_3.py +0 -0
  48. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_2d/README.rst +0 -0
  49. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_2d/example_0.py +0 -0
  50. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_2d/example_1.py +0 -0
  51. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_2d/example_2.py +0 -0
  52. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_2d/example_3.py +0 -0
  53. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_2d/example_4.py +0 -0
  54. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_2d/example_5.py +0 -0
  55. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_2d/example_6.py +0 -0
  56. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_2d/example_8.py +0 -0
  57. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/eigenmodes_2d/examples_7.py +0 -0
  58. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/extras/README.rst +0 -0
  59. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/extras/gradient.py +0 -0
  60. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/extras/plot_WM_field.py +0 -0
  61. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/triplets/README.rst +0 -0
  62. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/triplets/plot_triplets_0.py +0 -0
  63. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/triplets/plot_triplets_1.py +0 -0
  64. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/triplets/plot_triplets_2.py +0 -0
  65. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/examples/triplets/plot_triplets_3.py +0 -0
  66. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/images/logo.png +0 -0
  67. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/images/triplet_example_0.png +0 -0
  68. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/make.bat +0 -0
  69. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/source/_static/default.css +0 -0
  70. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/source/code.rst +0 -0
  71. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/source/gallery/index.rst +0 -0
  72. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/source/index.rst +0 -0
  73. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/source/references.rst +0 -0
  74. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/docs/source/theory.rst +0 -0
  75. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/setup.cfg +0 -0
  76. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/tests/__init__.py +0 -0
  77. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/tests/test_1D_api.py +0 -0
  78. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/tests/test_1D_derivative.py +0 -0
  79. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/tests/test_2D_api.py +0 -0
  80. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/tests/test_2D_derivative.py +0 -0
  81. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/tests/test_2D_eigen.py +0 -0
  82. {pyfinitdiff-2.1.6 → pyfinitdiff-2.2.0}/tests/test_triplet.py +0 -0
@@ -3,8 +3,7 @@ name: Deploy Conda Packages
3
3
  on:
4
4
  push:
5
5
  branches: [ "master" ]
6
- tags:
7
- - '*'
6
+ tags: '*'
8
7
  pull_request:
9
8
  branches: [ "master" ]
10
9
 
@@ -15,7 +14,8 @@ jobs:
15
14
  ManyLinux_x86_64:
16
15
  uses: MartinPdeS/MPSActions/.github/workflows/publish_compiled_package_to_anaconda.yml@master
17
16
  with:
18
- python-versions: '["3.11", "3.12"]'
17
+ python-versions: '["3.11", "3.12", "3.13"]'
18
+ apt-package: ""
19
19
  secrets:
20
20
  ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
21
21
 
@@ -4,8 +4,7 @@ name: Deploy coverage
4
4
  on:
5
5
  push:
6
6
  branches: [ "master" ]
7
- tags:
8
- - '*'
7
+ tags: '*'
9
8
  pull_request:
10
9
  branches: [ "master" ]
11
10
 
@@ -21,5 +20,6 @@ jobs:
21
20
  uses: MartinPdeS/MPSActions/.github/workflows/publish_coverage.yml@master
22
21
  with:
23
22
  python-version: "3.11"
23
+ apt-package: xvfb
24
24
  secrets:
25
25
  _GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -1,11 +1,10 @@
1
1
  # Simple workflow for deploying static content to GitHub Pages
2
- name: Deploy documentation to github page
2
+ name: Documentation
3
3
 
4
4
  on:
5
5
  push:
6
6
  branches: [ "master" ]
7
- tags:
8
- - '*'
7
+ tags: '*'
9
8
  pull_request:
10
9
  branches: [ "master" ]
11
10
 
@@ -21,3 +20,5 @@ jobs:
21
20
  uses: MartinPdeS/MPSActions/.github/workflows/publish_documentation.yml@master
22
21
  with:
23
22
  python-version: "3.11"
23
+ package-name: "PyFinitDiff"
24
+ apt-package: xvfb jq
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: PyFinitDiff
3
- Version: 2.1.6
3
+ Version: 2.2.0
4
4
  Summary: A package for generating finite-difference matrices, particularly suited for physics and engineering applications.
5
5
  Author-email: Martin Poinsinet de Sivry-Houle <martin.poinsinet.de.sivry@gmail.com>
6
6
  License: MIT License
@@ -41,11 +41,11 @@ Classifier: Intended Audience :: Science/Research
41
41
  Requires-Python: >=3.10
42
42
  Description-Content-Type: text/x-rst
43
43
  License-File: LICENSE
44
- Requires-Dist: scipy~=1.14
45
- Requires-Dist: pydantic~=2.9
46
- Requires-Dist: numpy<3.0,>=1.26
44
+ Requires-Dist: scipy>=1.14
45
+ Requires-Dist: pydantic
46
+ Requires-Dist: numpy
47
47
  Requires-Dist: MPSPlots
48
- Requires-Dist: tabulate~=0.9
48
+ Requires-Dist: tabulate
49
49
  Provides-Extra: testing
50
50
  Requires-Dist: pytest<9.0,>=7.4; extra == "testing"
51
51
  Requires-Dist: pytest-cov<7,>=2; extra == "testing"
@@ -59,6 +59,7 @@ Requires-Dist: sphinx-rtd-theme~=3.0; extra == "documentation"
59
59
  Requires-Dist: pydata-sphinx-theme~=0.15; extra == "documentation"
60
60
  Provides-Extra: dev
61
61
  Requires-Dist: flake8==7.1.1; extra == "dev"
62
+ Dynamic: license-file
62
63
 
63
64
  PyFinitDiff
64
65
  ===========
@@ -1,8 +1,13 @@
1
- # file generated by setuptools_scm
1
+ # file generated by setuptools-scm
2
2
  # don't change, don't track in version control
3
+
4
+ __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
5
+
3
6
  TYPE_CHECKING = False
4
7
  if TYPE_CHECKING:
5
- from typing import Tuple, Union
8
+ from typing import Tuple
9
+ from typing import Union
10
+
6
11
  VERSION_TUPLE = Tuple[Union[int, str], ...]
7
12
  else:
8
13
  VERSION_TUPLE = object
@@ -12,5 +17,5 @@ __version__: str
12
17
  __version_tuple__: VERSION_TUPLE
13
18
  version_tuple: VERSION_TUPLE
14
19
 
15
- __version__ = version = '2.1.6'
16
- __version_tuple__ = version_tuple = (2, 1, 6)
20
+ __version__ = version = '2.2.0'
21
+ __version_tuple__ = version_tuple = (2, 2, 0)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: PyFinitDiff
3
- Version: 2.1.6
3
+ Version: 2.2.0
4
4
  Summary: A package for generating finite-difference matrices, particularly suited for physics and engineering applications.
5
5
  Author-email: Martin Poinsinet de Sivry-Houle <martin.poinsinet.de.sivry@gmail.com>
6
6
  License: MIT License
@@ -41,11 +41,11 @@ Classifier: Intended Audience :: Science/Research
41
41
  Requires-Python: >=3.10
42
42
  Description-Content-Type: text/x-rst
43
43
  License-File: LICENSE
44
- Requires-Dist: scipy~=1.14
45
- Requires-Dist: pydantic~=2.9
46
- Requires-Dist: numpy<3.0,>=1.26
44
+ Requires-Dist: scipy>=1.14
45
+ Requires-Dist: pydantic
46
+ Requires-Dist: numpy
47
47
  Requires-Dist: MPSPlots
48
- Requires-Dist: tabulate~=0.9
48
+ Requires-Dist: tabulate
49
49
  Provides-Extra: testing
50
50
  Requires-Dist: pytest<9.0,>=7.4; extra == "testing"
51
51
  Requires-Dist: pytest-cov<7,>=2; extra == "testing"
@@ -59,6 +59,7 @@ Requires-Dist: sphinx-rtd-theme~=3.0; extra == "documentation"
59
59
  Requires-Dist: pydata-sphinx-theme~=0.15; extra == "documentation"
60
60
  Provides-Extra: dev
61
61
  Requires-Dist: flake8==7.1.1; extra == "dev"
62
+ Dynamic: license-file
62
63
 
63
64
  PyFinitDiff
64
65
  ===========
@@ -1,6 +1,5 @@
1
1
  .flake8
2
2
  .gitignore
3
- .readthedocs.yml
4
3
  LICENSE
5
4
  README.rst
6
5
  meta.yaml
@@ -1,8 +1,8 @@
1
- scipy~=1.14
2
- pydantic~=2.9
3
- numpy<3.0,>=1.26
1
+ scipy>=1.14
2
+ pydantic
3
+ numpy
4
4
  MPSPlots
5
- tabulate~=0.9
5
+ tabulate
6
6
 
7
7
  [dev]
8
8
  flake8==7.1.1
@@ -35,7 +35,6 @@ version = PyFinitDiff.__version__
35
35
 
36
36
  extensions = [
37
37
  'sphinx.ext.mathjax',
38
- 'pyvista.ext.plot_directive',
39
38
  'sphinx_gallery.gen_gallery',
40
39
  'sphinx.ext.autodoc',
41
40
  'sphinx.ext.napoleon',
@@ -25,10 +25,10 @@ requirements:
25
25
  - martinpdes::mpsplots
26
26
  run:
27
27
  - martinpdes::mpsplots
28
- - scipy ~=1.14
29
- - pydantic ~=2.9
30
- - numpy ~=1.26
31
- - tabulate ~=0.9
28
+ - scipy >=1.14
29
+ - pydantic
30
+ - numpy
31
+ - tabulate
32
32
 
33
33
 
34
34
  about:
@@ -25,11 +25,11 @@ classifiers = [
25
25
  keywords = ["finite-difference", "solving", "linear algebra", "physics", "matrix", "engineering"]
26
26
 
27
27
  dependencies = [
28
- "scipy ~=1.14",
29
- "pydantic ~=2.9",
30
- "numpy >=1.26,<3.0",
28
+ "scipy >=1.14",
29
+ "pydantic",
30
+ "numpy",
31
31
  "MPSPlots",
32
- "tabulate ~=0.9"
32
+ "tabulate"
33
33
  ]
34
34
 
35
35
  [project.urls]
@@ -1,35 +0,0 @@
1
- # .readthedocs.yml
2
- # Read the Docs configuration file
3
- # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4
-
5
- # Required
6
- version: 2
7
-
8
- submodules:
9
- include: all
10
- recursive: true
11
-
12
- build:
13
- os: ubuntu-22.04
14
-
15
-
16
- tools:
17
- python: "3.11"
18
- jobs:
19
- pre_install:
20
- - Xvfb :99 &
21
- - export DISPLAY=:99
22
- - cd docs && rm -rf source/gallery
23
- - sleep 3
24
-
25
- python:
26
- install:
27
- - method: pip
28
- path: .
29
- extra_requirements:
30
- - documentation
31
-
32
- sphinx:
33
- builder: html
34
- configuration: docs/source/conf.py
35
- fail_on_warning: false
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes