camphor 0.0.1a0__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.
@@ -0,0 +1,66 @@
1
+ # Release pipeline, triggered by v* tags:
2
+ # build-dist / publish-pypi: sdist + wheel to PyPI via OIDC trusted
3
+ # publishing (environment: pypi; publisher registered on pypi.org against
4
+ # this workflow file). Mirrors lightfall's release.yml minus app packaging.
5
+
6
+ name: Release
7
+
8
+ on:
9
+ push:
10
+ tags: ["v*"]
11
+ workflow_dispatch:
12
+
13
+ permissions:
14
+ contents: write
15
+
16
+ jobs:
17
+ build-dist:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+ with:
22
+ fetch-depth: 0 # hatch-vcs derives the version from git tags
23
+ - uses: actions/setup-python@v5
24
+ with:
25
+ python-version: "3.11"
26
+ - name: Build sdist and wheel
27
+ run: |
28
+ python -m pip install build twine
29
+ python -m build
30
+ python -m twine check dist/*
31
+ - uses: actions/upload-artifact@v4
32
+ with:
33
+ name: dist-pypi
34
+ path: dist/
35
+ if-no-files-found: error
36
+ retention-days: 7
37
+
38
+ publish-pypi:
39
+ needs: build-dist
40
+ if: startsWith(github.ref, 'refs/tags/')
41
+ runs-on: ubuntu-latest
42
+ environment: pypi
43
+ permissions:
44
+ id-token: write # OIDC trusted publishing
45
+ steps:
46
+ - uses: actions/download-artifact@v4
47
+ with:
48
+ name: dist-pypi
49
+ path: dist/
50
+ - name: Publish to PyPI
51
+ uses: pypa/gh-action-pypi-publish@release/v1
52
+
53
+ release:
54
+ needs: build-dist
55
+ if: startsWith(github.ref, 'refs/tags/')
56
+ runs-on: ubuntu-latest
57
+ steps:
58
+ - uses: actions/download-artifact@v4
59
+ with:
60
+ name: dist-pypi
61
+ path: dist/
62
+ - uses: softprops/action-gh-release@v2
63
+ with:
64
+ name: camphor ${{ github.ref_name }}
65
+ generate_release_notes: true
66
+ files: dist/**
@@ -0,0 +1,11 @@
1
+ .venv/
2
+ __pycache__/
3
+ *.pyc
4
+ dist/
5
+ build/
6
+ .pytest_cache/
7
+ .coverage
8
+ .ruff_cache/
9
+ src/camphor/_version.py
10
+ .superpowers/
11
+ docs/
@@ -0,0 +1,13 @@
1
+ Lightfall Copyright (c) 2026,
2
+ The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.
3
+
4
+ If you have questions about your rights to use or distribute this software,
5
+ please contact Berkeley Lab's Intellectual Property Office at
6
+ IPO@lbl.gov.
7
+
8
+ NOTICE. This Software was developed under funding from the U.S. Department
9
+ of Energy and the U.S. Government consequently retains certain rights. As
10
+ such, the U.S. Government has been granted for itself and others acting on
11
+ its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the
12
+ Software to reproduce, distribute copies to the public, prepare derivative
13
+ works, and perform publicly and display publicly, and to permit others to do so.
@@ -0,0 +1,33 @@
1
+ Lightfall Copyright (c) 2026,
2
+ The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ (1) Redistributions of source code must retain the above copyright notice,
8
+ this list of conditions and the following disclaimer.
9
+
10
+ (2) Redistributions in binary form must reproduce the above copyright
11
+ notice, this list of conditions and the following disclaimer in the
12
+ documentation and/or other materials provided with the distribution.
13
+
14
+ (3) Neither the name of the University of California, Lawrence Berkeley
15
+ National Laboratory, U.S. Dept. of Energy nor the names of its contributors
16
+ may be used to endorse or promote products derived from this software
17
+ without specific prior written permission.
18
+
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
+
24
+ You are under no obligation whatsoever to provide any bug fixes, patches,
25
+ or upgrades to the features, functionality or performance of the source
26
+ code ("Enhancements") to anyone; however, if you choose to make your
27
+ Enhancements available either publicly, or directly to Lawrence Berkeley
28
+ National Laboratory, without imposing a separate written license agreement
29
+ for such Enhancements, then you hereby grant the following license: a
30
+ non-exclusive, royalty-free perpetual license to install, use, modify,
31
+ prepare derivative works, incorporate into other computer software,
32
+ distribute, and sublicense such enhancements or derivative works thereof,
33
+ in binary and source code form.
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.5
2
+ Name: camphor
3
+ Version: 0.0.1a0
4
+ Summary: Camphor — an EPICS display manager for the Advanced Light Source. Name reservation only; release pending LBNL software disclosure.
5
+ Author: ALS Controls Team
6
+ License-Expression: BSD-3-Clause
7
+ License-File: LEGAL.md
8
+ License-File: LICENSE.md
9
+ Requires-Python: >=3.12
10
+ Description-Content-Type: text/markdown
11
+
12
+ # Camphor
13
+
14
+ **This package is a name reservation. It contains no functional code.**
15
+
16
+ Camphor will be a modern, pure-Python (PySide6) EPICS display manager, in
17
+ development at the Advanced Light Source, Lawrence Berkeley National
18
+ Laboratory. It reads medm `.adl` display files natively, adds a
19
+ schema-validated YAML screen format, and renders live EPICS Channel Access
20
+ data.
21
+
22
+ **Release is pending software disclosure approval from LBNL.** Nothing is
23
+ published here until that completes — the name is reserved so it is available
24
+ when it does.
25
+
26
+ Contact: ALS Controls Team.
@@ -0,0 +1,15 @@
1
+ # Camphor
2
+
3
+ **This package is a name reservation. It contains no functional code.**
4
+
5
+ Camphor will be a modern, pure-Python (PySide6) EPICS display manager, in
6
+ development at the Advanced Light Source, Lawrence Berkeley National
7
+ Laboratory. It reads medm `.adl` display files natively, adds a
8
+ schema-validated YAML screen format, and renders live EPICS Channel Access
9
+ data.
10
+
11
+ **Release is pending software disclosure approval from LBNL.** Nothing is
12
+ published here until that completes — the name is reserved so it is available
13
+ when it does.
14
+
15
+ Contact: ALS Controls Team.
@@ -0,0 +1,44 @@
1
+ [build-system]
2
+ requires = ["hatchling", "hatch-vcs"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "camphor"
7
+ description = "Camphor — an EPICS display manager for the Advanced Light Source. Name reservation only; release pending LBNL software disclosure."
8
+ readme = "README.md"
9
+ license = "BSD-3-Clause"
10
+ license-files = ["LICENSE.md", "LEGAL.md"]
11
+ requires-python = ">=3.12"
12
+ authors = [{ name = "ALS Controls Team" }]
13
+ dynamic = ["version"]
14
+ dependencies = []
15
+
16
+ [tool.hatch.version]
17
+ source = "vcs"
18
+ fallback-version = "0.0.0.dev0"
19
+
20
+ [tool.hatch.build.hooks.vcs]
21
+ version-file = "src/camphor/_version.py"
22
+
23
+ [tool.hatch.build.targets.wheel]
24
+ packages = ["src/camphor"]
25
+
26
+ [tool.ruff]
27
+ line-length = 100
28
+ target-version = "py312"
29
+
30
+ [tool.ruff.lint]
31
+ select = ["E", "W", "F", "I", "B", "C4", "UP"]
32
+ ignore = ["E501"]
33
+
34
+ [tool.ruff.lint.isort]
35
+ known-first-party = ["camphor"]
36
+
37
+ [tool.pytest.ini_options]
38
+ testpaths = ["tests"]
39
+ addopts = "-ra -q"
40
+ qt_api = "pyside6"
41
+
42
+ [tool.pyright]
43
+ include = ["src"]
44
+ pythonVersion = "3.12"
@@ -0,0 +1,6 @@
1
+ """Camphor — a modern, pure-Python EPICS display manager.
2
+
3
+ In development at the Advanced Light Source; no functional code released yet.
4
+ """
5
+
6
+ from camphor._version import __version__ # noqa: F401
@@ -0,0 +1,24 @@
1
+ # file generated by vcs-versioning
2
+ # don't change, don't track in version control
3
+ from __future__ import annotations
4
+
5
+ __all__ = [
6
+ "__version__",
7
+ "__version_tuple__",
8
+ "version",
9
+ "version_tuple",
10
+ "__commit_id__",
11
+ "commit_id",
12
+ ]
13
+
14
+ version: str
15
+ __version__: str
16
+ __version_tuple__: tuple[int | str, ...]
17
+ version_tuple: tuple[int | str, ...]
18
+ commit_id: str | None
19
+ __commit_id__: str | None
20
+
21
+ __version__ = version = '0.0.1a0'
22
+ __version_tuple__ = version_tuple = (0, 0, 1, 'a0')
23
+
24
+ __commit_id__ = commit_id = None