plesty-sdk 0.0.2.dev4__tar.gz → 0.0.2.dev5__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 (24) hide show
  1. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/PKG-INFO +1 -1
  2. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/plesty_sdk/commands/check.py +2 -7
  3. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/pyproject.toml +1 -1
  4. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/.gitignore +0 -0
  5. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/.gitlab-ci.yml +0 -0
  6. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/COPYING +0 -0
  7. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/COPYING.LESSER +0 -0
  8. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/LICENSE +0 -0
  9. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/README.md +0 -0
  10. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/docs/index.md +0 -0
  11. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/docs/toc.yaml +0 -0
  12. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/docs/usage/index.md +0 -0
  13. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/plesty_sdk/__init__.py +0 -0
  14. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/plesty_sdk/assets/docs-build-gitlab-ci.yml +0 -0
  15. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/plesty_sdk/assets/logos/plesty_icon.png +0 -0
  16. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/plesty_sdk/assets/logos/plesty_logo.png +0 -0
  17. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/plesty_sdk/assets/ruff.toml +0 -0
  18. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/plesty_sdk/cache.py +0 -0
  19. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/plesty_sdk/cli.py +0 -0
  20. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/plesty_sdk/commands/docs/__init__.py +0 -0
  21. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/plesty_sdk/commands/docs/deploy.py +0 -0
  22. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/plesty_sdk/commands/docs/serve.py +0 -0
  23. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/plesty_sdk/commands/docs/sphinx_builder.py +0 -0
  24. {plesty_sdk-0.0.2.dev4 → plesty_sdk-0.0.2.dev5}/plesty_sdk/context.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plesty-sdk
3
- Version: 0.0.2.dev4
3
+ Version: 0.0.2.dev5
4
4
  Summary: Command-line application for developing Python modules compliant with the Plesty standard.
5
5
  Author: Plesty Development Team
6
6
  License-File: COPYING
@@ -25,7 +25,7 @@ from pathlib import Path
25
25
  from typing import Any, Literal
26
26
 
27
27
  import click
28
- from bluesky.protocols import Readable
28
+
29
29
  try:
30
30
  from PySide6.QtWidgets import QWidget
31
31
  PYSIDE6_IS_INSTALLED = True
@@ -106,12 +106,7 @@ def check_device(standard: Literal["pixel", "nebula", "quantum"], pyproject_toml
106
106
  project_name = pyproject_toml["project"]["name"]
107
107
  module = importlib.import_module(project_name.replace("-", "_"))
108
108
  device_instance = getattr(module, device_class)()
109
- # check for compatibility with bluesky Readable
110
- if not isinstance(device_instance, Readable):
111
- raise click.ClickException(
112
- "Device class does not implement the 'Readable' protocol from Bluesky required"
113
- f"by standard {standard}."
114
- )
109
+
115
110
  # check for async connect method
116
111
  if not asyncio.iscoroutinefunction(getattr(device_instance, "connect")):
117
112
  raise click.ClickException(
@@ -21,7 +21,7 @@ dependencies = [
21
21
  dynamic = ["version"]
22
22
 
23
23
  [project.scripts]
24
- plesty = "plestysdk.cli:app"
24
+ plesty = "plesty_sdk.cli:app"
25
25
 
26
26
  [tool.plesty.docs]
27
27
  site-name = "SDK"
File without changes
File without changes