rtems-proxy 0.5.1__tar.gz → 0.5.2__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 (47) hide show
  1. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/PKG-INFO +2 -18
  2. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/README.md +1 -17
  3. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/pyproject.toml +1 -1
  4. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/__main__.py +1 -2
  5. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/_version.py +2 -2
  6. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/rsync.sh.jinja +0 -1
  7. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/utils.py +2 -3
  8. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy.egg-info/PKG-INFO +2 -18
  9. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.copier-answers.yml +0 -0
  10. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.devcontainer/devcontainer.json +0 -0
  11. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/CONTRIBUTING.md +0 -0
  12. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  13. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/ISSUE_TEMPLATE/issue.md +0 -0
  14. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +0 -0
  15. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/actions/install_requirements/action.yml +0 -0
  16. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/dependabot.yml +0 -0
  17. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/pages/index.html +0 -0
  18. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/pages/make_switcher.py +0 -0
  19. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/workflows/_check.yml +0 -0
  20. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/workflows/_dist.yml +0 -0
  21. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/workflows/_pypi.yml +0 -0
  22. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/workflows/_release.yml +0 -0
  23. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/workflows/_test.yml +0 -0
  24. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/workflows/_tox.yml +0 -0
  25. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.github/workflows/ci.yml +0 -0
  26. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.gitignore +0 -0
  27. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.pre-commit-config.yaml +0 -0
  28. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.vscode/extensions.json +0 -0
  29. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.vscode/launch.json +0 -0
  30. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.vscode/settings.json +0 -0
  31. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/.vscode/tasks.json +0 -0
  32. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/Dockerfile +0 -0
  33. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/LICENSE +0 -0
  34. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/proxy-start.sh +0 -0
  35. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/requirements.txt +0 -0
  36. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/setup.cfg +0 -0
  37. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/__init__.py +0 -0
  38. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/copy.py +0 -0
  39. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/globals.py +0 -0
  40. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy/telnet.py +0 -0
  41. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy.egg-info/SOURCES.txt +0 -0
  42. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy.egg-info/dependency_links.txt +0 -0
  43. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy.egg-info/entry_points.txt +0 -0
  44. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy.egg-info/requires.txt +0 -0
  45. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/src/rtems_proxy.egg-info/top_level.txt +0 -0
  46. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/tests/conftest.py +0 -0
  47. {rtems_proxy-0.5.1 → rtems_proxy-0.5.2}/tests/test_cli.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rtems-proxy
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: Support for a K8S proxy container in controlling and monitoring RTEMS EPICS IOCs
5
5
  Author-email: Giles Knap <giles.knap@diamond.ac.uk>
6
6
  License: Apache License
@@ -239,28 +239,12 @@ Requires-Dist: types-mock; extra == "dev"
239
239
 
240
240
  Support for a K8S proxy container in controlling and monitoring RTEMS EPICS IOCs
241
241
 
242
- This is where you should write a short paragraph that describes what your module does,
243
- how it does it, and why people should use it.
244
242
 
245
243
  Source | <https://github.com/epics-containers/rtems-proxy>
246
244
  :---: | :---:
247
245
  PyPI | `pip install rtems-proxy`
248
246
  Releases | <https://github.com/epics-containers/rtems-proxy/releases>
249
247
 
250
- This is where you should put some images or code snippets that illustrate
251
- some relevant examples. If it is a library then you might put some
252
- introductory code here:
253
-
254
- ```python
255
- from rtems_proxy import __version__
256
-
257
- print(f"Hello rtems_proxy {__version__}")
258
248
  ```
259
-
260
- Or if it is a commandline tool then you might put some example commands here:
261
-
262
-
263
- ```
264
- python -m rtems_proxy --version
249
+ rtems_proxy --help
265
250
  ```
266
-
@@ -7,28 +7,12 @@
7
7
 
8
8
  Support for a K8S proxy container in controlling and monitoring RTEMS EPICS IOCs
9
9
 
10
- This is where you should write a short paragraph that describes what your module does,
11
- how it does it, and why people should use it.
12
10
 
13
11
  Source | <https://github.com/epics-containers/rtems-proxy>
14
12
  :---: | :---:
15
13
  PyPI | `pip install rtems-proxy`
16
14
  Releases | <https://github.com/epics-containers/rtems-proxy/releases>
17
15
 
18
- This is where you should put some images or code snippets that illustrate
19
- some relevant examples. If it is a library then you might put some
20
- introductory code here:
21
-
22
- ```python
23
- from rtems_proxy import __version__
24
-
25
- print(f"Hello rtems_proxy {__version__}")
26
16
  ```
27
-
28
- Or if it is a commandline tool then you might put some example commands here:
29
-
30
-
31
- ```
32
- python -m rtems_proxy --version
17
+ rtems_proxy --help
33
18
  ```
34
-
@@ -87,7 +87,7 @@ commands =
87
87
  """
88
88
 
89
89
  [tool.ruff]
90
- ignore = [
90
+ lint.ignore = [
91
91
  "B008", # Do not perform unnecessary work in __all__
92
92
  "C408", # Unnecessary collection call - e.g. list(...) instead of [...]
93
93
  "E501", # Line too long, should be fixed by black.
@@ -1,5 +1,4 @@
1
1
  from pathlib import Path
2
- from typing import Optional
3
2
 
4
3
  import typer
5
4
  from jinja2 import Template
@@ -23,7 +22,7 @@ def version_callback(value: bool):
23
22
 
24
23
  @cli.callback()
25
24
  def main(
26
- version: Optional[bool] = typer.Option(
25
+ version: bool | None = typer.Option(
27
26
  None,
28
27
  "--version",
29
28
  callback=version_callback,
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.5.1'
16
- __version_tuple__ = version_tuple = (0, 5, 1)
15
+ __version__ = version = '0.5.2'
16
+ __version_tuple__ = version_tuple = (0, 5, 2)
@@ -28,4 +28,3 @@ done
28
28
  " > /tmp/rsync-background.sh
29
29
 
30
30
  nohup bash /tmp/rsync-background.sh &> /tmp/rsync-background.log &
31
-
@@ -1,12 +1,11 @@
1
1
  import subprocess
2
- from typing import Union
3
2
 
4
3
  import typer
5
4
 
6
5
 
7
6
  def run_command(
8
7
  command: str, interactive=True, error_OK=False, show=False
9
- ) -> Union[str, bool]:
8
+ ) -> str | bool:
10
9
  """
11
10
  Run a command and return the output
12
11
 
@@ -30,7 +29,7 @@ def run_command(
30
29
  error_out = p_result.stderr.decode()
31
30
 
32
31
  if interactive:
33
- result: Union[str, bool] = p_result.returncode == 0
32
+ result: str | bool = p_result.returncode == 0
34
33
  else:
35
34
  result = output + error_out
36
35
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: rtems-proxy
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: Support for a K8S proxy container in controlling and monitoring RTEMS EPICS IOCs
5
5
  Author-email: Giles Knap <giles.knap@diamond.ac.uk>
6
6
  License: Apache License
@@ -239,28 +239,12 @@ Requires-Dist: types-mock; extra == "dev"
239
239
 
240
240
  Support for a K8S proxy container in controlling and monitoring RTEMS EPICS IOCs
241
241
 
242
- This is where you should write a short paragraph that describes what your module does,
243
- how it does it, and why people should use it.
244
242
 
245
243
  Source | <https://github.com/epics-containers/rtems-proxy>
246
244
  :---: | :---:
247
245
  PyPI | `pip install rtems-proxy`
248
246
  Releases | <https://github.com/epics-containers/rtems-proxy/releases>
249
247
 
250
- This is where you should put some images or code snippets that illustrate
251
- some relevant examples. If it is a library then you might put some
252
- introductory code here:
253
-
254
- ```python
255
- from rtems_proxy import __version__
256
-
257
- print(f"Hello rtems_proxy {__version__}")
258
248
  ```
259
-
260
- Or if it is a commandline tool then you might put some example commands here:
261
-
262
-
263
- ```
264
- python -m rtems_proxy --version
249
+ rtems_proxy --help
265
250
  ```
266
-
File without changes
File without changes
File without changes
File without changes
File without changes