PyONDE 0.1.2__tar.gz → 0.1.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.
- pyonde-0.1.4/.github/workflows/doc.yml +59 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/PKG-INFO +6 -1
- {pyonde-0.1.2 → pyonde-0.1.4}/PyONDE/__init__.py +1 -1
- {pyonde-0.1.2 → pyonde-0.1.4}/PyONDE/_version.py +3 -3
- {pyonde-0.1.2 → pyonde-0.1.4}/PyONDE/onde.py +285 -89
- pyonde-0.1.4/PyONDE/onde_versions/ONDE_fields_v0.9.2pre.csv +212 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/PyONDE.egg-info/PKG-INFO +6 -1
- {pyonde-0.1.2 → pyonde-0.1.4}/PyONDE.egg-info/SOURCES.txt +2 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/PyONDE.egg-info/scm_file_list.json +23 -21
- pyonde-0.1.4/PyONDE.egg-info/scm_version.json +8 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/README.md +5 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/demos/build_onde_file.py +16 -15
- pyonde-0.1.2/PyONDE.egg-info/scm_version.json +0 -8
- {pyonde-0.1.2 → pyonde-0.1.4}/.github/workflows/push-to-pypi.yml +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/.gitignore +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/.vscode/settings.json +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/LICENSE.txt +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/PyONDE/bin/__init__.py +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/PyONDE/onde_versions/ONDE_fields_v0.9.1pre.csv +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/PyONDE.egg-info/dependency_links.txt +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/PyONDE.egg-info/not-zip-safe +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/PyONDE.egg-info/top_level.txt +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/demos/build_onde_graph.py +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/demos/build_simple_graph.py +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/demos/graph_modification.py +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/demos/load_onde_file.py +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/doc/LowLevel_Class_Structure.md +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/doc/Makefile +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/doc/source/PyONDE.rst +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/doc/source/about.rst +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/doc/source/architecture.rst +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/doc/source/conf.py +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/doc/source/index.rst +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/doc/source/installation.rst +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/doc/source/modules.rst +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/doc/source/quickstart.rst +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/pyproject.toml +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/setup.cfg +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/setup.py +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/tests/try_array.py +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/tests/try_csv_read.py +0 -0
- {pyonde-0.1.2 → pyonde-0.1.4}/tests/try_dictionary.py +0 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
name: Deploy Sphinx Documentation
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ "main" ]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
pages: write
|
|
12
|
+
id-token: write
|
|
13
|
+
|
|
14
|
+
# Allow only one concurrent deployment
|
|
15
|
+
concurrency:
|
|
16
|
+
group: "pages"
|
|
17
|
+
cancel-in-progress: true
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
build-and-deploy:
|
|
21
|
+
environment:
|
|
22
|
+
name: github-pages
|
|
23
|
+
url: ${{ steps.deployment.outputs.page_url }}
|
|
24
|
+
runs-on: ubuntu-latest
|
|
25
|
+
steps:
|
|
26
|
+
- name: Checkout source code
|
|
27
|
+
uses: actions/checkout@v4
|
|
28
|
+
|
|
29
|
+
- name: Set up Python
|
|
30
|
+
uses: actions/setup-python@v5
|
|
31
|
+
with:
|
|
32
|
+
python-version: '3.11'
|
|
33
|
+
cache: 'pip' # Caches dependencies to speed up future runs
|
|
34
|
+
|
|
35
|
+
- name: Install dependencies
|
|
36
|
+
run: |
|
|
37
|
+
python -m pip install --upgrade pip
|
|
38
|
+
pip install sphinx sphinx-rtd-theme # Add any other Sphinx themes or extensions here
|
|
39
|
+
if [ -f docs/requirements.txt ]; then pip install -r docs/requirements.txt; fi
|
|
40
|
+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
41
|
+
|
|
42
|
+
- name: Build HTML documentation
|
|
43
|
+
run: |
|
|
44
|
+
# Compiles your .rst/.md files into static HTML
|
|
45
|
+
sphinx-build -b html doc/source doc/build/html
|
|
46
|
+
|
|
47
|
+
- name: Fix GitHub Pages Jekyll behavior
|
|
48
|
+
run: |
|
|
49
|
+
# Sphinx uses folders starting with underscores (like _static), which Jekyll ignores by default
|
|
50
|
+
touch doc/build/html/.nojekyll
|
|
51
|
+
|
|
52
|
+
- name: Upload artifact
|
|
53
|
+
uses: actions/upload-pages-artifact@v3
|
|
54
|
+
with:
|
|
55
|
+
path: 'doc/build/html' # Path to your compiled HTML files
|
|
56
|
+
|
|
57
|
+
- name: Deploy to GitHub Pages
|
|
58
|
+
id: deployment
|
|
59
|
+
uses: actions/deploy-pages@v4
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyONDE
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: PyONDE library for reading, modifying, and writing ONDE files
|
|
5
5
|
Home-page: http://github.com/isuthermography/PyONDE
|
|
6
6
|
Author: Stephen D. Holland
|
|
@@ -29,6 +29,11 @@ More information and documentation in the doc/ folder and at
|
|
|
29
29
|
https://isuthermography.github.io/PyONDE/ and at
|
|
30
30
|
https://github.com/isuthermography/PyONDE
|
|
31
31
|
|
|
32
|
+
Acknowledgments
|
|
33
|
+
---------------
|
|
34
|
+
|
|
35
|
+
Thanks to Abhigyaan Deep for helping with some of the coating
|
|
36
|
+
|
|
32
37
|
|
|
33
38
|
Copyright 2026 Stephen D. Holland and Iowa State University
|
|
34
39
|
Research Foundation
|
|
@@ -35,7 +35,7 @@ onde_versions_path = os.path.join(pkgdir,"onde_versions")
|
|
|
35
35
|
def generate_onde_uuid(vendor_name,equip_serial,timestamp,suffix):
|
|
36
36
|
"""Generate and return an ONDE UUID string beginning with "2.25.".
|
|
37
37
|
If you have no way to extract an equipment serial number, suggest using the python UUID module str(uuid.getnode()) to use ethernet hardware interface information in its place. timestamp can come from datetime.now() and suffix should distinguish between multiple datasets that might have the same timestamp."""
|
|
38
|
-
unique_string = f"{vendor_name:s} {equip_serial:s} {timestamp.
|
|
38
|
+
unique_string = f"{vendor_name:s} {equip_serial:s} {timestamp.isoformat(timespec='microseconds'):s} {suffix:s}"
|
|
39
39
|
py_major = sys.version_info.major
|
|
40
40
|
py_minor = sys.version_info.minor
|
|
41
41
|
hl_kwargs = {}
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.1.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 1,
|
|
21
|
+
__version__ = version = '0.1.4'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 1, 4)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g154afec3d'
|