FiberFusing 1.6.0__tar.gz → 1.7.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 (140) hide show
  1. fiberfusing-1.7.0/.github/workflows/deploy_PyPI.yml +20 -0
  2. fiberfusing-1.7.0/.github/workflows/deploy_anaconda.yml +21 -0
  3. fiberfusing-1.7.0/.github/workflows/deploy_coverage.yml +25 -0
  4. fiberfusing-1.7.0/.github/workflows/deploy_documentation.yml +24 -0
  5. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/_version.py +9 -4
  6. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing.egg-info/PKG-INFO +5 -4
  7. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing.egg-info/SOURCES.txt +0 -1
  8. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing.egg-info/requires.txt +2 -2
  9. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/PKG-INFO +5 -4
  10. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/pyproject.toml +2 -2
  11. fiberfusing-1.6.0/.github/workflows/build_documentation.yml +0 -60
  12. fiberfusing-1.6.0/.github/workflows/deploy_PyPI.yml +0 -30
  13. fiberfusing-1.6.0/.github/workflows/deploy_anaconda.yml +0 -34
  14. fiberfusing-1.6.0/.github/workflows/deploy_coverage.yml +0 -52
  15. fiberfusing-1.6.0/.github/workflows/deploy_documentation.yml +0 -123
  16. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/.flake8 +0 -0
  17. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/.github/dependabot.yml +0 -0
  18. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/.gitignore +0 -0
  19. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/.readthedocs.yml +0 -0
  20. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/__init__.py +0 -0
  21. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/background.py +0 -0
  22. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/base_fused.py +0 -0
  23. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/buffer.py +0 -0
  24. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/components/__init__.py +0 -0
  25. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/components/base_class.py +0 -0
  26. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/components/linestring.py +0 -0
  27. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/components/point.py +0 -0
  28. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/components/polygon.py +0 -0
  29. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/components/utils.py +0 -0
  30. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/__init__.py +0 -0
  31. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/line/__init__.py +0 -0
  32. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/line/configuration_01x01.py +0 -0
  33. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/line/configuration_02x02.py +0 -0
  34. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/line/configuration_03x03.py +0 -0
  35. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/line/configuration_04x04.py +0 -0
  36. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/line/configuration_05x05.py +0 -0
  37. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/ring/__init__.py +0 -0
  38. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/ring/configuration_01x01.py +0 -0
  39. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/ring/configuration_02x02.py +0 -0
  40. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/ring/configuration_03x03.py +0 -0
  41. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/ring/configuration_04x04.py +0 -0
  42. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/ring/configuration_05x05.py +0 -0
  43. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/ring/configuration_06x06.py +0 -0
  44. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/ring/configuration_07x07.py +0 -0
  45. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/ring/configuration_10x10.py +0 -0
  46. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/ring/configuration_12x12.py +0 -0
  47. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/configuration/ring/configuration_19x19.py +0 -0
  48. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/connection.py +0 -0
  49. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/connection_optimization.py +0 -0
  50. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/coordinate_system.py +0 -0
  51. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/directories.py +0 -0
  52. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/__init__.py +0 -0
  53. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/catalogue.py +0 -0
  54. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/1550BHP.yaml +0 -0
  55. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/DCF13.yaml +0 -0
  56. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/DCF1300S_20.yaml +0 -0
  57. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/DCF1300S_26.yaml +0 -0
  58. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/DCF1300S_33.yaml +0 -0
  59. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/DCF1300S_42.yaml +0 -0
  60. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/F2028M12.yaml +0 -0
  61. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/F2028M21.yaml +0 -0
  62. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/F2028M24.yaml +0 -0
  63. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/F2058G1.yaml +0 -0
  64. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/F2058L1.yaml +0 -0
  65. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/HI1060.yaml +0 -0
  66. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/HP630.yaml +0 -0
  67. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/SM1950.yaml +0 -0
  68. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/SMF28.yaml +0 -0
  69. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/fluorine_doped_1%_capillary.yaml +0 -0
  70. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/fluorine_doped_2%_capillary.yaml +0 -0
  71. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/test_fiber.yaml +0 -0
  72. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/fiber_files/test_multimode_fiber.yaml +0 -0
  73. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/generic_fiber.py +0 -0
  74. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/loader.py +0 -0
  75. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber/structure_collection.py +0 -0
  76. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/fiber_structure.py +0 -0
  77. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/geometry.py +0 -0
  78. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/helper.py +0 -0
  79. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/optical_structure.py +0 -0
  80. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/plottings.py +0 -0
  81. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing/utils.py +0 -0
  82. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing.egg-info/dependency_links.txt +0 -0
  83. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/FiberFusing.egg-info/top_level.txt +0 -0
  84. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/LICENSE +0 -0
  85. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/README.rst +0 -0
  86. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/Makefile +0 -0
  87. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/README.rst +0 -0
  88. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/clad/README.rst +0 -0
  89. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/clad/fusion_degree.py +0 -0
  90. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/clad/plot_line_3.py +0 -0
  91. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/clad/plot_line_4.py +0 -0
  92. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/clad/plot_line_5.py +0 -0
  93. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/clad/plot_ring_12.py +0 -0
  94. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/clad/plot_ring_19.py +0 -0
  95. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/clad/plot_ring_2.py +0 -0
  96. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/clad/plot_ring_3py +0 -0
  97. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/clad/plot_ring_4.py +0 -0
  98. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/clad/plot_ring_7.py +0 -0
  99. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/clad/plot_single.py +0 -0
  100. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/clad/radomize_core.py +0 -0
  101. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/clad/structure_shift.py +0 -0
  102. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/geometry/README.rst +0 -0
  103. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/geometry/plot_line_3.py +0 -0
  104. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/geometry/plot_line_4.py +0 -0
  105. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/geometry/plot_line_5.py +0 -0
  106. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/geometry/plot_ring_10.py +0 -0
  107. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/geometry/plot_ring_2.py +0 -0
  108. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/geometry/plot_ring_3.py +0 -0
  109. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/geometry/plot_ring_4.py +0 -0
  110. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/geometry/plot_ring_5.py +0 -0
  111. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/geometry/plot_ring_7.py +0 -0
  112. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/examples/geometry/plot_single.py +0 -0
  113. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/images/example_3x3.png +0 -0
  114. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/images/logo.png +0 -0
  115. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/make.bat +0 -0
  116. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/source/_static/default.css +0 -0
  117. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/source/_static/thumbnail.png +0 -0
  118. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/source/code/buffer.rst +0 -0
  119. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/source/code/components.rst +0 -0
  120. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/source/code/coordinate_system.rst +0 -0
  121. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/source/code/geometry.rst +0 -0
  122. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/source/code/utils.rst +0 -0
  123. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/source/code.rst +0 -0
  124. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/source/conf.py +0 -0
  125. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/source/gallery/index.rst +0 -0
  126. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/source/index.rst +0 -0
  127. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/source/references.rst +0 -0
  128. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/docs/source/theory.rst +0 -0
  129. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/meta.yaml +0 -0
  130. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/notebook.ipynb +0 -0
  131. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/setup.cfg +0 -0
  132. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/tests/__init__.py +0 -0
  133. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/tests/fiber_loader.py +0 -0
  134. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/tests/test_boundaries.py +0 -0
  135. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/tests/test_cooordinate_system.py +0 -0
  136. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/tests/test_fiber.py +0 -0
  137. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/tests/test_fused_structure.py +0 -0
  138. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/tests/test_generic_fiber.py +0 -0
  139. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/tests/test_geometries.py +0 -0
  140. {fiberfusing-1.6.0 → fiberfusing-1.7.0}/tests/test_polygon.py +0 -0
@@ -0,0 +1,20 @@
1
+ name: Deploy to PyPi
2
+
3
+ on:
4
+ push:
5
+ branches: [ "master" ]
6
+ tags:
7
+ - '*'
8
+ pull_request:
9
+ branches: [ "master" ]
10
+
11
+ permissions:
12
+ contents: write
13
+
14
+ jobs:
15
+ pure_package:
16
+ uses: MartinPdeS/MPSActions/.github/workflows/publish_pure_package_to_PyPi.yml@master
17
+ with:
18
+ python-version: "3.11"
19
+ secrets:
20
+ PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
@@ -0,0 +1,21 @@
1
+ name: Deploy Conda Packages
2
+
3
+ on:
4
+ push:
5
+ branches: [ "master" ]
6
+ tags:
7
+ - '*'
8
+ pull_request:
9
+ branches: [ "master" ]
10
+
11
+ permissions:
12
+ contents: write
13
+
14
+ jobs:
15
+ ManyLinux_x86_64:
16
+ uses: MartinPdeS/MPSActions/.github/workflows/publish_compiled_package_to_anaconda.yml@master
17
+ with:
18
+ python-versions: '["3.11", "3.12"]'
19
+ secrets:
20
+ ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
21
+
@@ -0,0 +1,25 @@
1
+ # Simple workflow for deploying static content to GitHub Pages
2
+ name: Deploy coverage
3
+
4
+ on:
5
+ push:
6
+ branches: [ "master" ]
7
+ tags:
8
+ - '*'
9
+ pull_request:
10
+ branches: [ "master" ]
11
+
12
+
13
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
14
+ permissions:
15
+ contents: write
16
+ pages: write
17
+ id-token: write
18
+
19
+ jobs:
20
+ ManyLinux_x86_64:
21
+ uses: MartinPdeS/MPSActions/.github/workflows/publish_coverage.yml@master
22
+ with:
23
+ python-version: "3.11"
24
+ secrets:
25
+ _GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,24 @@
1
+ # Simple workflow for deploying static content to GitHub Pages
2
+ name: Deploy documentation to github page
3
+
4
+ on:
5
+ push:
6
+ branches: [ "master" ]
7
+ tags:
8
+ - '*'
9
+ pull_request:
10
+ branches: [ "master" ]
11
+
12
+
13
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
14
+ permissions:
15
+ contents: write
16
+ pages: write
17
+ id-token: write
18
+
19
+ jobs:
20
+ ManyLinux_x86_64:
21
+ uses: MartinPdeS/MPSActions/.github/workflows/publish_documentation.yml@master
22
+ with:
23
+ python-version: "3.11"
24
+ package-name: "FiberFusing"
@@ -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 = '1.6.0'
16
- __version_tuple__ = version_tuple = (1, 6, 0)
20
+ __version__ = version = '1.7.0'
21
+ __version_tuple__ = version_tuple = (1, 7, 0)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: FiberFusing
3
- Version: 1.6.0
3
+ Version: 1.7.0
4
4
  Summary: A package fiber fusing configuration simulating the transverse fusion of fiber optics.
5
5
  Author-email: Martin Poinsinet de Sivry-Houle <martin.poinsinet.de.sivry@gmail.com>
6
6
  License: MIT License
@@ -44,7 +44,7 @@ License-File: LICENSE
44
44
  Requires-Dist: pyyaml~=6.0
45
45
  Requires-Dist: pydantic>=2.9
46
46
  Requires-Dist: scipy~=1.11
47
- Requires-Dist: numpy<3.0,>=1.26
47
+ Requires-Dist: numpy>=1.26
48
48
  Requires-Dist: shapely~=2.0
49
49
  Requires-Dist: MPSPlots
50
50
  Requires-Dist: PyOptik
@@ -58,8 +58,9 @@ Provides-Extra: documentation
58
58
  Requires-Dist: numpydoc~=1.8; extra == "documentation"
59
59
  Requires-Dist: sphinx>=6; extra == "documentation"
60
60
  Requires-Dist: sphinx-gallery~=0.17; extra == "documentation"
61
- Requires-Dist: sphinx-rtd-theme~=2.0; extra == "documentation"
61
+ Requires-Dist: sphinx-rtd-theme<4,>=2; extra == "documentation"
62
62
  Requires-Dist: pydata-sphinx-theme~=0.15; extra == "documentation"
63
+ Dynamic: license-file
63
64
 
64
65
  FiberFusing
65
66
  ===========
@@ -7,7 +7,6 @@ meta.yaml
7
7
  notebook.ipynb
8
8
  pyproject.toml
9
9
  .github/dependabot.yml
10
- .github/workflows/build_documentation.yml
11
10
  .github/workflows/deploy_PyPI.yml
12
11
  .github/workflows/deploy_anaconda.yml
13
12
  .github/workflows/deploy_coverage.yml
@@ -1,7 +1,7 @@
1
1
  pyyaml~=6.0
2
2
  pydantic>=2.9
3
3
  scipy~=1.11
4
- numpy<3.0,>=1.26
4
+ numpy>=1.26
5
5
  shapely~=2.0
6
6
  MPSPlots
7
7
  PyOptik
@@ -10,7 +10,7 @@ PyOptik
10
10
  numpydoc~=1.8
11
11
  sphinx>=6
12
12
  sphinx-gallery~=0.17
13
- sphinx-rtd-theme~=2.0
13
+ sphinx-rtd-theme<4,>=2
14
14
  pydata-sphinx-theme~=0.15
15
15
 
16
16
  [testing]
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: FiberFusing
3
- Version: 1.6.0
3
+ Version: 1.7.0
4
4
  Summary: A package fiber fusing configuration simulating the transverse fusion of fiber optics.
5
5
  Author-email: Martin Poinsinet de Sivry-Houle <martin.poinsinet.de.sivry@gmail.com>
6
6
  License: MIT License
@@ -44,7 +44,7 @@ License-File: LICENSE
44
44
  Requires-Dist: pyyaml~=6.0
45
45
  Requires-Dist: pydantic>=2.9
46
46
  Requires-Dist: scipy~=1.11
47
- Requires-Dist: numpy<3.0,>=1.26
47
+ Requires-Dist: numpy>=1.26
48
48
  Requires-Dist: shapely~=2.0
49
49
  Requires-Dist: MPSPlots
50
50
  Requires-Dist: PyOptik
@@ -58,8 +58,9 @@ Provides-Extra: documentation
58
58
  Requires-Dist: numpydoc~=1.8; extra == "documentation"
59
59
  Requires-Dist: sphinx>=6; extra == "documentation"
60
60
  Requires-Dist: sphinx-gallery~=0.17; extra == "documentation"
61
- Requires-Dist: sphinx-rtd-theme~=2.0; extra == "documentation"
61
+ Requires-Dist: sphinx-rtd-theme<4,>=2; extra == "documentation"
62
62
  Requires-Dist: pydata-sphinx-theme~=0.15; extra == "documentation"
63
+ Dynamic: license-file
63
64
 
64
65
  FiberFusing
65
66
  ===========
@@ -31,7 +31,7 @@ dependencies = [
31
31
  "pyyaml ~= 6.0",
32
32
  "pydantic >=2.9",
33
33
  "scipy ~=1.11",
34
- "numpy >=1.26,<3.0",
34
+ "numpy >=1.26",
35
35
  "shapely ~=2.0",
36
36
  "MPSPlots",
37
37
  "PyOptik"
@@ -60,7 +60,7 @@ documentation = [
60
60
  "numpydoc ~=1.8",
61
61
  "sphinx >=6",
62
62
  "sphinx-gallery ~=0.17",
63
- "sphinx-rtd-theme ~=2.0",
63
+ "sphinx-rtd-theme >=2,<4",
64
64
  "pydata-sphinx-theme ~=0.15"
65
65
  ]
66
66
 
@@ -1,60 +0,0 @@
1
- # .github/workflows/deploy_documentation.yml
2
- name: Documentation
3
-
4
- on:
5
- push:
6
- branches: [ "master" ]
7
- tags:
8
- - '*'
9
- pull_request:
10
- branches: [ "master" ]
11
-
12
- jobs:
13
- documentation:
14
- name: Run the documentation building tools
15
- runs-on: ubuntu-latest
16
- permissions:
17
- pull-requests: write
18
- contents: write
19
-
20
- steps:
21
- - name: "Set-up: Python 3.11"
22
- uses: actions/setup-python@v5
23
- id: cp311
24
- with:
25
- python-version: 3.11
26
-
27
- - name: "Install: Dependencies for headless server"
28
- shell: bash
29
- run: |
30
- sudo apt-get update
31
- sudo apt-get install -y xvfb jq
32
-
33
- - name: "Checkout requirements and files for testing"
34
- uses: actions/checkout@v4
35
- with:
36
- fetch-depth: 0
37
- submodules: true
38
- ref: master
39
-
40
- - name: Install everything, run the tests, produce the .coverage file
41
- run: |
42
- python -m pip install wheel build
43
- python -m build --wheel
44
- python -m pip install .[documentation]
45
-
46
- - name: Get current tag
47
- id: get_tag
48
- run: |
49
- git fetch --tags
50
- echo "tag=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
51
-
52
- - name: "Sphinx build"
53
- run: |
54
- sphinx-build docs/source documentation_build
55
-
56
- - name: "Upload Documentation Artifact"
57
- uses: actions/upload-artifact@v4
58
- with:
59
- name: documentation_build
60
- path: documentation_build
@@ -1,30 +0,0 @@
1
- name: Deploy Wheel to PyPi
2
-
3
- on:
4
- push:
5
- branches: [ "master" ]
6
- tags:
7
- - '*'
8
- pull_request:
9
- branches: [ "master" ]
10
-
11
- permissions:
12
- contents: write
13
-
14
- jobs:
15
- build_pure_python:
16
- runs-on: ubuntu-latest
17
- steps:
18
- - uses: MartinPdeS/MPSActions/build_pure_python_package@master
19
- with:
20
- python-version: '3.10'
21
-
22
- publish_wheel:
23
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
24
- needs: [build_pure_python]
25
- runs-on: ubuntu-latest
26
- steps:
27
- - uses: MartinPdeS/MPSActions/publish_pypi@master
28
- with:
29
- python-version: "3.10"
30
- password: ${{ secrets.PYPI_API_TOKEN }}
@@ -1,34 +0,0 @@
1
- name: Deploy Conda Package
2
-
3
- on:
4
- push:
5
- branches: [ "master" ]
6
- tags:
7
- - '*'
8
- pull_request:
9
- branches: [ "master" ]
10
-
11
- jobs:
12
- build_and_publish_conda_package:
13
- runs-on: ubuntu-latest
14
- steps:
15
- - name: Checkout Repository
16
- uses: actions/checkout@v4
17
-
18
- - name: Set up Miniconda
19
- uses: conda-incubator/setup-miniconda@v2
20
- with:
21
- channels: conda-forge
22
- python-version: '3.11'
23
-
24
- - name: Upload to Anaconda (if tag)
25
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
26
- run: |
27
- conda config --set anaconda_upload true
28
-
29
- - name: Create Conda Environment and Install Dependencies
30
- env:
31
- ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }} # Ensure the Anaconda token is set
32
- run: |
33
- conda install conda-build anaconda-client conda-verify -y
34
- conda build . -c martinpdes
@@ -1,52 +0,0 @@
1
- # .github/workflows/coverage.yml
2
- name: Coverage
3
-
4
- on:
5
- push:
6
- branches: [ "master" ]
7
- tags:
8
- - '*'
9
- pull_request:
10
- branches: [ "master" ]
11
-
12
-
13
- jobs:
14
- coverage:
15
- name: Run test and generate coverage data
16
- runs-on: ubuntu-latest
17
- permissions:
18
- pull-requests: write
19
- contents: write
20
-
21
- steps:
22
- - name: "Set-up: Python ${{ env.cp_python_version }}"
23
- uses: actions/setup-python@v4
24
- id: cp310
25
- with:
26
- python-version: "3.10"
27
-
28
- - name: "Install: Dependencies for headless server"
29
- shell: bash
30
- run: |
31
- sudo apt-get update
32
- sudo apt-get install xvfb
33
-
34
- - name: "Checkout requirements and files for testing"
35
- uses: actions/checkout@v4
36
- with:
37
- fetch-depth: 0
38
- submodules: true
39
-
40
- - name: Install everything, run the tests, produce the .coverage file
41
- run: |
42
- python -m pip install wheel build
43
- python -m build --wheel
44
- python -m pip install .[testing]
45
- pytest
46
-
47
- - name: Coverage comment
48
- uses: py-cov-action/python-coverage-comment-action@v3
49
- with:
50
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51
- MINIMUM_GREEN: 90
52
- MINIMUM_ORANGE: 50
@@ -1,123 +0,0 @@
1
- # Simple workflow for deploying static content to GitHub Pages
2
- name: Deploy static content to Pages
3
-
4
-
5
- on:
6
- workflow_run:
7
- workflows: ["Documentation"] # This references the name of the first workflow
8
- types:
9
- - completed # Run when the Documentation workflow is completed successfully
10
-
11
-
12
- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13
- permissions:
14
- contents: write
15
- pages: write
16
- id-token: write
17
-
18
- jobs:
19
- deploy:
20
- runs-on: ubuntu-latest
21
- environment:
22
- name: github-pages
23
- url: ${{ steps.deployment.outputs.page_url }}
24
-
25
- steps:
26
- - name: Checkout
27
- uses: actions/checkout@v4
28
- with:
29
- fetch-depth: 0
30
- ref: documentation_page
31
-
32
- - name: Set up Git user
33
- run: |
34
- git config --global user.name "GitHub Actions"
35
- git config --global user.email "actions@github.com"
36
-
37
- - name: Download artifact
38
- id: download-artifact
39
- uses: dawidd6/action-download-artifact@v6
40
- with:
41
- workflow: build_documentation.yml
42
- name: documentation_build
43
- path: ./documentation_build
44
-
45
- - name: Get current tag
46
- id: get_tag
47
- run: |
48
- # Fetch all tags to ensure they are available
49
- git fetch --tags
50
- git tag -l
51
-
52
- # Get the latest tag by creation date
53
- TAG=$(git tag --sort=-creatordate | head -n 1)
54
-
55
- # Fallback to a default tag if no tag is found
56
- if [ -z "$TAG" ]; then
57
- TAG="0.0.0.0"
58
- fi
59
-
60
- echo "tag=$TAG" >> $GITHUB_ENV
61
- echo "Tag found or default: $TAG"
62
-
63
- - name: Update new documentation version
64
- run: |
65
- rm -rf docs/${{ env.tag }}
66
- mv documentation_build docs/${{ env.tag }}
67
-
68
- - name: Scan, sort versions, and update version_switcher.json
69
- run: |
70
- # Define the path to version_switcher.json
71
- json_file="version_switcher.json"
72
- rm $json_file
73
- docs_path="docs"
74
- base_url="https://martinpdes.github.io/FiberFusing"
75
-
76
- # Start the JSON array
77
- echo "[" > $json_file
78
-
79
- # Get sorted version directories in descending order
80
- version_dirs=$(ls -v $docs_path | sort -V -r)
81
-
82
-
83
- # Loop over sorted versions and add to JSON file
84
- first_entry=true
85
- for version in $version_dirs; do
86
- version_url="${base_url}/${docs_path}/${version}"
87
-
88
- # Add a comma if it's not the first entry
89
- if [ "$first_entry" = true ]; then
90
- first_entry=false
91
- else
92
- echo "," >> $json_file
93
- fi
94
-
95
- # Append each version as a JSON entry
96
- jq -n \
97
- --arg name "$version" \
98
- --arg version "$version" \
99
- --arg url "$version_url" \
100
- '{name: $name, version: $version, url: $url}' >> $json_file
101
- done
102
-
103
- # End the JSON array
104
- echo "]" >> $json_file
105
-
106
- # Add and commit the updated version_switcher.json
107
- git add $json_file
108
- echo $json_file
109
- git add docs/
110
- git commit --allow-empty -m "Update version_switcher.json"
111
- git push origin HEAD
112
-
113
- - name: Setup Pages
114
- uses: actions/configure-pages@v5
115
-
116
- - name: Upload artifact
117
- uses: actions/upload-pages-artifact@v3
118
- with:
119
- path: '.'
120
-
121
- - name: Deploy to GitHub Pages
122
- id: deployment
123
- uses: actions/deploy-pages@v4
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