PyOptik 1.9.8.2__tar.gz → 1.9.8.4__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.
- pyoptik-1.9.8.2/.github/workflows/deploy_documentation.yml → pyoptik-1.9.8.4/.github/workflows/add_documentation_version.yml +5 -65
- pyoptik-1.9.8.4/.github/workflows/deploy_documentation.yml +67 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PKG-INFO +1 -1
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/_version.py +2 -2
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik.egg-info/PKG-INFO +1 -1
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik.egg-info/SOURCES.txt +1 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/.flake8 +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/.github/dependabot.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/.github/workflows/deploy_PyPi.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/.github/workflows/deploy_anaconda.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/.github/workflows/deploy_coverage.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/.gitignore +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/.readthedocs.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/LICENSE +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/__init__.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/__main__.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/__init__.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/BAK1.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/BK7.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/SF5.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/ZBLAN.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/air.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/argon.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/crown.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/flint.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/fused_silica.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/germanium.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/lithium_niobate.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/polystyren.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/silicon.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/soda_lime_glass.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/sellmeier/water.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/tabulated/aluminium.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/tabulated/calcium.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/tabulated/copper.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/tabulated/gold.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/tabulated/iron.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/tabulated/nickel.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/tabulated/silver.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/tabulated/sodium.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/data/tabulated/zinc.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/directories.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/libraries/__init__.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/libraries/classics.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/libraries/dielectrics.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/libraries/metals.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/libraries/minimal.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/libraries/organics.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/libraries/others.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/libraries/polymers.yml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/material/__init__.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/material/base_class.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/material/sellmeier_class.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/material/tabulated_class.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/material_bank.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/material_type.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/units.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik/utils.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik.egg-info/dependency_links.txt +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik.egg-info/requires.txt +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/PyOptik.egg-info/top_level.txt +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/README.rst +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/development/dev_0.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/Makefile +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/examples/README.rst +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/examples/sellmeier/README.rst +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/examples/sellmeier/plot_bk7.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/examples/sellmeier/plot_silica.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/examples/sellmeier/plot_water.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/examples/tabulated/README.rst +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/examples/tabulated/plot_sf5.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/examples/tabulated/plot_silver.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/examples/utils/README.rst +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/examples/utils/build_library.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/examples/utils/create_sellmeier_file.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/examples/utils/create_tabulated_file.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/examples/utils/download_yml_file.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/images/example_bk7.png +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/images/logo.png +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/make.bat +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/source/_static/default.css +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/source/_static/thumbnail.png +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/source/code.rst +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/source/conf.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/source/gallery/index.rst +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/source/index.rst +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/docs/source/references.rst +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/meta.yaml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/pyproject.toml +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/setup.cfg +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/tests/__init__.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/tests/test_sellmeier.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/tests/test_tabulated.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/tests/test_usual_material.py +0 -0
- {pyoptik-1.9.8.2 → pyoptik-1.9.8.4}/tests/test_utils.py +0 -0
|
@@ -1,76 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
name: Documentation
|
|
1
|
+
name: Update Documentation Versions
|
|
3
2
|
|
|
4
3
|
on:
|
|
5
4
|
push:
|
|
6
|
-
branches:
|
|
5
|
+
branches:
|
|
6
|
+
- documentation_page # Run on pushes to documentation_page branch
|
|
7
7
|
tags:
|
|
8
|
-
- '*'
|
|
9
|
-
pull_request:
|
|
10
|
-
branches: [ "master" ]
|
|
8
|
+
- '*' # Run on all new tags
|
|
11
9
|
|
|
12
10
|
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 xvfb
|
|
32
|
-
|
|
33
|
-
- name: "Checkout requirements and files for testing"
|
|
34
|
-
uses: actions/checkout@v4
|
|
35
|
-
with:
|
|
36
|
-
fetch-depth: 0
|
|
37
|
-
submodules: true
|
|
38
|
-
|
|
39
|
-
- name: Install everything, run the tests, produce the .coverage file
|
|
40
|
-
run: |
|
|
41
|
-
python -m pip install wheel build
|
|
42
|
-
python -m build --wheel
|
|
43
|
-
python -m pip install .[documentation]
|
|
44
|
-
|
|
45
|
-
- name: Install dependencies
|
|
46
|
-
run: |
|
|
47
|
-
pip install sphinx sphinx_rtd_theme myst_parser jq
|
|
48
|
-
|
|
49
|
-
- name: Get current tag
|
|
50
|
-
id: get_tag
|
|
51
|
-
run: |
|
|
52
|
-
git fetch --tags
|
|
53
|
-
echo "tag=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
|
|
54
|
-
|
|
55
|
-
- name: Sphinx build
|
|
56
|
-
run: |
|
|
57
|
-
sphinx-build docs/source _build
|
|
58
|
-
|
|
59
|
-
- name: "Deploy to documentation_page: specific version"
|
|
60
|
-
uses: peaceiris/actions-gh-pages@v3
|
|
61
|
-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
|
62
|
-
with:
|
|
63
|
-
publish_branch: documentation_page
|
|
64
|
-
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
65
|
-
publish_dir: _build/
|
|
66
|
-
destination_dir: "docs/${{ env.tag }}"
|
|
67
|
-
keep_files: true
|
|
68
|
-
|
|
69
11
|
update_version_switcher:
|
|
70
12
|
name: Update version_switcher.json
|
|
71
|
-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
|
72
13
|
runs-on: ubuntu-latest
|
|
73
|
-
needs: documentation # This job depends on the successful completion of the 'documentation' job
|
|
74
14
|
permissions:
|
|
75
15
|
contents: write
|
|
76
16
|
|
|
@@ -129,5 +69,5 @@ jobs:
|
|
|
129
69
|
git config user.name "github-actions[bot]"
|
|
130
70
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
131
71
|
git add version_switcher.json
|
|
132
|
-
git commit -m "Update version_switcher.json with
|
|
72
|
+
git commit -m "Update version_switcher.json with all versions in docs folder"
|
|
133
73
|
git push origin documentation_page
|
|
@@ -0,0 +1,67 @@
|
|
|
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 xvfb
|
|
32
|
+
|
|
33
|
+
- name: "Checkout requirements and files for testing"
|
|
34
|
+
uses: actions/checkout@v4
|
|
35
|
+
with:
|
|
36
|
+
fetch-depth: 0
|
|
37
|
+
submodules: true
|
|
38
|
+
|
|
39
|
+
- name: Install everything, run the tests, produce the .coverage file
|
|
40
|
+
run: |
|
|
41
|
+
python -m pip install wheel build
|
|
42
|
+
python -m build --wheel
|
|
43
|
+
python -m pip install .[documentation]
|
|
44
|
+
|
|
45
|
+
- name: Install dependencies
|
|
46
|
+
run: |
|
|
47
|
+
pip install sphinx sphinx_rtd_theme myst_parser jq
|
|
48
|
+
|
|
49
|
+
- name: Get current tag
|
|
50
|
+
id: get_tag
|
|
51
|
+
run: |
|
|
52
|
+
git fetch --tags
|
|
53
|
+
echo "tag=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
|
|
54
|
+
|
|
55
|
+
- name: Sphinx build
|
|
56
|
+
run: |
|
|
57
|
+
sphinx-build docs/source _build
|
|
58
|
+
|
|
59
|
+
- name: "Deploy to documentation_page: specific version"
|
|
60
|
+
uses: peaceiris/actions-gh-pages@v3
|
|
61
|
+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
|
62
|
+
with:
|
|
63
|
+
publish_branch: documentation_page
|
|
64
|
+
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
65
|
+
publish_dir: _build/
|
|
66
|
+
destination_dir: "docs/${{ env.tag }}"
|
|
67
|
+
keep_files: true
|
|
@@ -12,5 +12,5 @@ __version__: str
|
|
|
12
12
|
__version_tuple__: VERSION_TUPLE
|
|
13
13
|
version_tuple: VERSION_TUPLE
|
|
14
14
|
|
|
15
|
-
__version__ = version = '1.9.8.
|
|
16
|
-
__version_tuple__ = version_tuple = (1, 9, 8,
|
|
15
|
+
__version__ = version = '1.9.8.4'
|
|
16
|
+
__version_tuple__ = version_tuple = (1, 9, 8, 4)
|
|
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
|
|
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
|