nova-epics 0.1.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 (34) hide show
  1. nova_epics-0.1.0/.dockerignore +1 -0
  2. nova_epics-0.1.0/.github/workflows/build-test.yml +49 -0
  3. nova_epics-0.1.0/.github/workflows/nova-epics.yml +60 -0
  4. nova_epics-0.1.0/.gitignore +168 -0
  5. nova_epics-0.1.0/.pre-commit-config.yaml +27 -0
  6. nova_epics-0.1.0/.readthedocs.yml +39 -0
  7. nova_epics-0.1.0/.vscode/extensions.json +6 -0
  8. nova_epics-0.1.0/.vscode/settings.json +14 -0
  9. nova_epics-0.1.0/CHANGELOG.md +3 -0
  10. nova_epics-0.1.0/CODE_OF_CONDUCT.md +128 -0
  11. nova_epics-0.1.0/CONTRIBUTING.md +38 -0
  12. nova_epics-0.1.0/DEVELOPMENT.md +87 -0
  13. nova_epics-0.1.0/LICENSE +21 -0
  14. nova_epics-0.1.0/PKG-INFO +29 -0
  15. nova_epics-0.1.0/README.md +12 -0
  16. nova_epics-0.1.0/build_docs.sh +1 -0
  17. nova_epics-0.1.0/dockerfiles/Dockerfile +36 -0
  18. nova_epics-0.1.0/docs/api.rst +14 -0
  19. nova_epics-0.1.0/docs/conf.py +35 -0
  20. nova_epics-0.1.0/docs/index.rst +35 -0
  21. nova_epics-0.1.0/pixi.lock +2976 -0
  22. nova_epics-0.1.0/pyproject.toml +113 -0
  23. nova_epics-0.1.0/scripts/.gitkeep +0 -0
  24. nova_epics-0.1.0/src/nova/__init__.py +1 -0
  25. nova_epics-0.1.0/src/nova/epics/__init__.py +0 -0
  26. nova_epics-0.1.0/src/nova/epics/assets/epics/base64.js +147 -0
  27. nova_epics-0.1.0/src/nova/epics/assets/epics/dbwr.js +742 -0
  28. nova_epics-0.1.0/src/nova/epics/assets/epics/jquery-3.7.1.min.js +2 -0
  29. nova_epics-0.1.0/src/nova/epics/assets/epics/pvws.js +243 -0
  30. nova_epics-0.1.0/src/nova/epics/interface.py +36 -0
  31. nova_epics-0.1.0/src/nova/epics/trame.py +179 -0
  32. nova_epics-0.1.0/tests/data/test.bob +14 -0
  33. nova_epics-0.1.0/tests/data/test.macros +1 -0
  34. nova_epics-0.1.0/tests/test_trame_epics.py +44 -0
@@ -0,0 +1 @@
1
+ dockerfiles/Dockerfile
@@ -0,0 +1,49 @@
1
+ name: Build and Test
2
+
3
+ on: push
4
+
5
+ concurrency:
6
+ group: "${{ github.ref }}"
7
+ cancel-in-progress: true
8
+
9
+ env:
10
+ NDIP_DOCKER_REPOSITORY: "${{ secrets.NDIP_DOCKER_REPOSITORY }}"
11
+ READTHEDOCS_WEBHOOK_URL: "${{ secrets.READTHEDOCS_WEBHOOK_URL }}"
12
+ READTHEDOCS_WEBHOOK_SECRET: "${{ secrets.READTHEDOCS_WEBHOOK_SECRET }}"
13
+
14
+ jobs:
15
+ build-and-test:
16
+ runs-on: ubuntu-latest
17
+ timeout-minutes: 60
18
+ env:
19
+ GIT_STRATEGY: clone
20
+ IMAGE_NAME: "${NDIP_DOCKER_REPOSITORY}/${{ github.repository }}"
21
+ steps:
22
+ - name: Set up QEMU
23
+ uses: docker/setup-qemu-action@v3
24
+ - name: Set up Docker Buildx
25
+ uses: docker/setup-buildx-action@v3
26
+ - name: Checkout repo
27
+ uses: actions/checkout@v4
28
+ with:
29
+ fetch-depth: 20
30
+ lfs: true
31
+ - name: Build
32
+ uses: docker/build-push-action@v6
33
+ id: build
34
+ with:
35
+ file: dockerfiles/Dockerfile
36
+ load: true
37
+ target: source
38
+ - name: Run ruff check
39
+ run: docker run --rm ${{ steps.build.outputs.imageid }} ruff check
40
+ - name: Run format check
41
+ run: docker run --rm ${{ steps.build.outputs.imageid }} ruff format --check
42
+ - name: Run mypy
43
+ run: docker run --rm ${{ steps.build.outputs.imageid }} mypy .
44
+ - name: Unit tests
45
+ run: docker run --rm ${{ steps.build.outputs.imageid }} pytest
46
+ - name: Run coverage
47
+ run: docker run --rm ${{ steps.build.outputs.imageid }} sh -c "coverage run && coverage report"
48
+ - name: Docs test
49
+ run: docker run --rm ${{ steps.build.outputs.imageid }} bash build_docs.sh
@@ -0,0 +1,60 @@
1
+ name: Publish Package
2
+
3
+ on: workflow_dispatch
4
+
5
+ concurrency:
6
+ group: "${{ github.ref }}"
7
+ cancel-in-progress: true
8
+
9
+ env:
10
+ PYPI_API_TOKEN: "${{ secrets.PYPI_API_TOKEN }}"
11
+
12
+ jobs:
13
+ tag-release:
14
+ runs-on: ubuntu-latest
15
+ timeout-minutes: 60
16
+ permissions: write-all
17
+ env:
18
+ GIT_STRATEGY: clone
19
+ steps:
20
+ - name: Checkout repo
21
+ uses: actions/checkout@v4
22
+ with:
23
+ fetch-depth: 20
24
+ lfs: true
25
+ - name: Parse version
26
+ run: echo "VERSION=$(cat pyproject.toml | grep "version =" | head -n 1 | awk '{ print $3 }' | tr -d '"')" >> $GITHUB_ENV
27
+ - name: Create release
28
+ uses: actions/create-release@v1
29
+ env:
30
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31
+ with:
32
+ tag_name: ${{ env.VERSION }}
33
+ release_name: ${{ env.VERSION }}
34
+
35
+ publish-package:
36
+ needs: tag-release
37
+ runs-on: ubuntu-latest
38
+ if: github.event_name == 'workflow_dispatch'
39
+ timeout-minutes: 60
40
+ env:
41
+ GIT_STRATEGY: clone
42
+ steps:
43
+ - name: Set up QEMU
44
+ uses: docker/setup-qemu-action@v3
45
+ - name: Set up Docker Buildx
46
+ uses: docker/setup-buildx-action@v3
47
+ - name: Checkout repo
48
+ uses: actions/checkout@v4
49
+ with:
50
+ fetch-depth: 20
51
+ lfs: true
52
+ - name: Build
53
+ uses: docker/build-push-action@v6
54
+ id: build
55
+ with:
56
+ file: dockerfiles/Dockerfile
57
+ load: true
58
+ target: package
59
+ - name: Publish
60
+ run: docker run --rm ${{ steps.build.outputs.imageid }} sh -c "hatch build && hatch publish -u __token__ -a ${PYPI_API_TOKEN}"
@@ -0,0 +1,168 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # poetry
98
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102
+ #poetry.lock
103
+
104
+ # pdm
105
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106
+ #pdm.lock
107
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108
+ # in version control.
109
+ # https://pdm.fming.dev/#use-with-ide
110
+ .pdm.toml
111
+
112
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113
+ __pypackages__/
114
+
115
+ # Celery stuff
116
+ celerybeat-schedule
117
+ celerybeat.pid
118
+
119
+ # SageMath parsed files
120
+ *.sage.py
121
+
122
+ # Environments
123
+ .env
124
+ .venv
125
+ env/
126
+ venv/
127
+ ENV/
128
+ env.bak/
129
+ venv.bak/
130
+
131
+ # Spyder project settings
132
+ .spyderproject
133
+ .spyproject
134
+
135
+ # Rope project settings
136
+ .ropeproject
137
+
138
+ # mkdocs documentation
139
+ /site
140
+
141
+ # mypy
142
+ .mypy_cache/
143
+ .dmypy.json
144
+ dmypy.json
145
+
146
+ # Pyre type checker
147
+ .pyre/
148
+
149
+ # pytype static type analyzer
150
+ .pytype/
151
+
152
+ # Cython debug symbols
153
+ cython_debug/
154
+
155
+ # PyCharm
156
+ # We ingore the whole .idea folder
157
+ # For more fine tuning, JetBrains specific template is maintained in a separate JetBrains.gitignore that can
158
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
159
+ # and can be added to the global gitignore or merged into this file.
160
+ .idea
161
+
162
+
163
+ .envrc
164
+
165
+
166
+ junit.xml
167
+
168
+ .pixi
@@ -0,0 +1,27 @@
1
+ repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v4.6.0
4
+ hooks:
5
+ - id: check-added-large-files
6
+ args: [--maxkb=8192]
7
+ - id: check-merge-conflict
8
+ - id: check-yaml
9
+ args: [--allow-multiple-documents]
10
+ - id: end-of-file-fixer
11
+ - id: check-toml
12
+ - id: trailing-whitespace
13
+ - repo: https://github.com/astral-sh/ruff-pre-commit
14
+ rev: v0.6.2
15
+ hooks:
16
+ - id: ruff
17
+ args: [--fix, --exit-non-zero-on-fix]
18
+ - id: ruff-format
19
+ - repo: local
20
+ hooks:
21
+ - id: mypy
22
+ name: mypy
23
+ entry: pixi run mypy .
24
+ language: system
25
+ types: [python]
26
+ verbose: true
27
+ pass_filenames: false
@@ -0,0 +1,39 @@
1
+ # Read the Docs configuration file for Sphinx projects
2
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
+
4
+ # Required
5
+ version: 2
6
+
7
+ # Set the OS, Python version and other tools you might need
8
+ build:
9
+ os: ubuntu-22.04
10
+ tools:
11
+ python: "3.12"
12
+ # You can also specify other tool versions:
13
+ # nodejs: "20"
14
+ # rust: "1.70"
15
+ # golang: "1.20"
16
+ jobs:
17
+ post_create_environment:
18
+ - pip install sphinx-rtd-theme==3.0.2 tomli
19
+ - pip install .
20
+
21
+ # Build documentation in the "docs/" directory with Sphinx
22
+ sphinx:
23
+ configuration: docs/conf.py
24
+ # You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
25
+ # builder: "dirhtml"
26
+ # Fail on all warnings to avoid broken references
27
+ # fail_on_warning: true
28
+
29
+ # Optionally build your docs in additional formats such as PDF and ePub
30
+ # formats:
31
+ # - pdf
32
+ # - epub
33
+
34
+ # Optional but recommended, declare the Python requirements required
35
+ # to build your documentation
36
+ # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
37
+ # python:
38
+ # install:
39
+ # - requirements: docs/requirements.txt
@@ -0,0 +1,6 @@
1
+ {
2
+ "recommendations": [
3
+ "charliermarsh.ruff",
4
+ "ms-python.mypy-type-checker"
5
+ ]
6
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "[python]": {
3
+ "editor.defaultFormatter": "charliermarsh.ruff"
4
+ },
5
+ "[restructuredtext]": {
6
+ "editor.wordWrap": "wordWrapColumn",
7
+ "editor.wordWrapColumn": 120
8
+ },
9
+ "python.testing.pytestArgs": [
10
+ "tests"
11
+ ],
12
+ "python.testing.unittestEnabled": false,
13
+ "python.testing.pytestEnabled": true
14
+ }
@@ -0,0 +1,3 @@
1
+ ### nova-epics, 0.1.0
2
+
3
+ * Adds read-only connection to EPICS Tomcat server for pulling instrument status into Trame applications (thanks to John Duggan).
@@ -0,0 +1,128 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socioeconomic status,
9
+ nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the
26
+ overall community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or
31
+ advances of any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email
35
+ address, without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official e-mail address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ watsongr@ornl.gov.
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series
86
+ of actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or
93
+ permanent ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within
113
+ the community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.0, available at
119
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120
+
121
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
+ enforcement ladder](https://github.com/mozilla/diversity).
123
+
124
+ [homepage]: https://www.contributor-covenant.org
125
+
126
+ For answers to common questions about this code of conduct, see the FAQ at
127
+ https://www.contributor-covenant.org/faq. Translations are available at
128
+ https://www.contributor-covenant.org/translations.
@@ -0,0 +1,38 @@
1
+ # Contributing to nova-trame
2
+
3
+ Thank you for considering contributing to nova-trame!
4
+ This document provides guidelines to help you contribute effectively and ensure a smooth process for everyone involved.
5
+
6
+ ## Getting Started
7
+
8
+ To start contributing to this project, you will need a GitHub account. If you are unfamiliar with GitHub or version control,
9
+ then please consider reviewing the [GitHub docs](https://docs.github.com/).
10
+
11
+ ## How to Contribute
12
+
13
+ ### Reporting Bugs
14
+
15
+ If you find a bug in the project, please open an issue on GitHub with a clear and concise description. Make sure to include:
16
+
17
+ - Steps to reproduce the bug.
18
+ - Expected behavior.
19
+ - Actual behavior.
20
+ - Any relevant screenshots, logs, or stack traces.
21
+
22
+ ### Suggesting Features
23
+
24
+ We welcome feature suggestions! To propose a new feature:
25
+
26
+ 1. Open an issue on GitHub with the title "Feature Request: [Feature Name]".
27
+ 2. Provide a detailed description of the proposed feature.
28
+ 3. Explain why this feature would be useful for the project.
29
+ 4. Include any relevant examples or mockups.
30
+
31
+ ### Submitting Changes
32
+
33
+ If you'd like to contribute code changes, please follow our
34
+ [style guidelines](https://calvera.ornl.gov/docs/dev_guide/contributing/style_guidelines/).
35
+
36
+ ## Code of Conduct
37
+
38
+ Please adhere to the project's [Code of Conduct](CODE_OF_CONDUCT.md) in all interactions.
@@ -0,0 +1,87 @@
1
+ # Development Guide
2
+
3
+ This document provides guidelines and instructions for setting up and contributing to
4
+ the nova-trame project.
5
+
6
+ ## Starting from the template
7
+
8
+ - Add other Python dependencies you project need with [`pixi add`](https://pixi.sh/latest/reference/cli/pixi/add/).
9
+ - Modify Dockerfile as needed. Please make sure it can still run as non-root (we use it in GitHub Actions and in general this
10
+ is a good practice).
11
+ - install pre-commit (if not already installed) - `pixi add --pypi pre-commit`
12
+ - activate `pre-commit` for your project: `cd <project folder> && pixi run pre-commit install`
13
+ - finally, clear the content of this section and add the description of your project. You can keep/adjust instructions
14
+ below
15
+
16
+ Note 1: please don't change linter settings, license, code of conduct without discussing with the team first - we want to keep them
17
+ the same for all our projects.
18
+
19
+ Note 2: if you think some changes that you've made might be useful for other projects as well, please fill free
20
+ to create an issue [in this repo](https://code.ornl.gov/ndip/project-templates/python/-/issues/new)
21
+
22
+
23
+ ## Installation
24
+
25
+ Start by installing [Pixi](https://pixi.sh/latest/). Once done, run the following:
26
+
27
+ ```commandline
28
+ pixi install
29
+ ```
30
+
31
+ ## Widget Gallery
32
+ This package includes a widget gallery that shows commonly used Vuetify components for visual testing. Please use this to test your changes in this repository.
33
+
34
+ You can run it via:
35
+ ```commandline
36
+ pixi run app [--server]
37
+ ```
38
+
39
+ ## Formatting
40
+ ```commandline
41
+ pixi run ruff format
42
+ ```
43
+
44
+ ## Linting
45
+ ```commandline
46
+ pixi run ruff check
47
+ pixi run mypy .
48
+ ```
49
+
50
+ ## Testing
51
+ You will need a working [Firefox](https://www.mozilla.org/en-US/firefox/) install available in order to run all tests.
52
+ Otherwise, all [Selenium-based tests](https://www.selenium.dev/) will fail.
53
+
54
+ ```commandline
55
+ pixi run pytest
56
+ ```
57
+ or, with coverage
58
+ ```commandline
59
+ pixi run coverage run
60
+ pixi run coverage report
61
+ ```
62
+
63
+ ## Updating project from template
64
+
65
+ This project was created from a [template](https://code.ornl.gov/ndip/project-templates/python.git) using [copier](https://copier.readthedocs.io/). If the template has changed, you
66
+ can try to update the project to incorporate these changes. Just enter the project folder, make sure `git status`
67
+ shows it clean, and run:
68
+ ```
69
+ copier update
70
+ ```
71
+ See [here](https://copier.readthedocs.io/en/stable/updating/#updating-a-project) for more information.
72
+
73
+
74
+ ## CI/CD in GitHub
75
+
76
+ Take a look at the [`.github/workflows`](.github/workflows) folder.
77
+ Actions to lint and test your code will run automatically on each commit.
78
+ The action for building and releasing this package needs to be triggered manually.
79
+
80
+ ### Versioning
81
+
82
+ The "source of truth" for the version number is in the [`pyproject.toml`](pyproject.toml) file. It is used for Docker
83
+ image tags, python package versioning, and automatic creation of git tags.
84
+
85
+ ### Publishing docs to readthedocs.io
86
+
87
+ This repo has a [webhook](https://github.com/nova-model/nova-trame/settings/hooks) that automatically triggers documentation builds on readthedocs.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 ONRL
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.4
2
+ Name: nova-epics
3
+ Version: 0.1.0
4
+ Summary: A Python Package for
5
+ Project-URL: Changelog, https://github.com/nova-sdk/nova-epics/blob/main/CHANGELOG.md
6
+ Author-email: John Duggan <dugganjw@ornl.gov>
7
+ License-Expression: MIT
8
+ License-File: LICENSE
9
+ Keywords: NDIP,Python,Trame
10
+ Requires-Python: <3.14,>=3.10
11
+ Requires-Dist: dpath
12
+ Requires-Dist: tomli
13
+ Requires-Dist: xmltodict
14
+ Provides-Extra: trame
15
+ Requires-Dist: nova-trame; extra == 'trame'
16
+ Description-Content-Type: text/markdown
17
+
18
+ nova-epics
19
+ ==========
20
+
21
+ `nova-epics` is a Python package for retrieving unprivileged instrument status information from EPICS for use in NOVA applications.
22
+
23
+ You can install this package directly with
24
+
25
+ ```commandline
26
+ pip install "nova-epics[trame]"
27
+ ```
28
+
29
+ Developers: please read [this document](DEVELOPMENT.md)
@@ -0,0 +1,12 @@
1
+ nova-epics
2
+ ==========
3
+
4
+ `nova-epics` is a Python package for retrieving unprivileged instrument status information from EPICS for use in NOVA applications.
5
+
6
+ You can install this package directly with
7
+
8
+ ```commandline
9
+ pip install "nova-epics[trame]"
10
+ ```
11
+
12
+ Developers: please read [this document](DEVELOPMENT.md)