msw-plugin-api 0.2.2__tar.gz → 0.2.3__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.
- {msw_plugin_api-0.2.2 → msw_plugin_api-0.2.3}/PKG-INFO +1 -1
- msw_plugin_api-0.2.3/VERSION +1 -0
- {msw_plugin_api-0.2.2 → msw_plugin_api-0.2.3}/pyproject.toml +1 -1
- {msw_plugin_api-0.2.2 → msw_plugin_api-0.2.3}/src/msw_plugin_api/__init__.py +6 -2
- {msw_plugin_api-0.2.2 → msw_plugin_api-0.2.3}/src/msw_plugin_api/_version.py +2 -2
- msw_plugin_api-0.2.2/VERSION +0 -1
- {msw_plugin_api-0.2.2 → msw_plugin_api-0.2.3}/.gitignore +0 -0
- {msw_plugin_api-0.2.2 → msw_plugin_api-0.2.3}/LICENSE +0 -0
- {msw_plugin_api-0.2.2 → msw_plugin_api-0.2.3}/README.md +0 -0
- {msw_plugin_api-0.2.2 → msw_plugin_api-0.2.3}/src/msw_plugin_api/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: msw-plugin-api
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Minimal structural interfaces for MSW plugin packages
|
|
5
5
|
Project-URL: Homepage, https://github.com/MurineShiftWork/msw-plugin-api
|
|
6
6
|
Project-URL: Issue Tracker, https://github.com/MurineShiftWork/msw-plugin-api/issues
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.2.3
|
|
@@ -24,12 +24,16 @@ from typing import Protocol, runtime_checkable
|
|
|
24
24
|
class HostSessionInfo:
|
|
25
25
|
"""Data returned by a host session plugin after attaching.
|
|
26
26
|
|
|
27
|
+
``session_name`` is the name of the host session directory (e.g. the Open
|
|
28
|
+
Ephys recording folder). MSW behavioural acquisitions are nested inside
|
|
29
|
+
it: ``basepath/subject/session_name/acquisition_basename/``.
|
|
30
|
+
|
|
27
31
|
Plugins may return this class directly or return any object whose
|
|
28
32
|
attributes satisfy HostSessionInfoProtocol.
|
|
29
33
|
"""
|
|
30
34
|
|
|
31
35
|
backend: str
|
|
32
|
-
|
|
36
|
+
session_name: str
|
|
33
37
|
subject: str
|
|
34
38
|
parent_directory: str
|
|
35
39
|
extra: dict[str, object] = field(default_factory=dict)
|
|
@@ -40,7 +44,7 @@ class HostSessionInfoProtocol(Protocol):
|
|
|
40
44
|
"""Structural protocol for host session info objects."""
|
|
41
45
|
|
|
42
46
|
backend: str
|
|
43
|
-
|
|
47
|
+
session_name: str
|
|
44
48
|
subject: str
|
|
45
49
|
parent_directory: str
|
|
46
50
|
extra: dict[str, object]
|
|
@@ -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.2.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 2,
|
|
21
|
+
__version__ = version = '0.2.3'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 2, 3)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
msw_plugin_api-0.2.2/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.2.2
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|