nisync 0.1__tar.gz → 0.2.1__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.
@@ -1,14 +1,14 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: nisync
3
- Version: 0.1
3
+ Version: 0.2.1
4
4
  Summary: NI-Sync Python API
5
- Home-page: https://github.com/ni/nisync-python
6
5
  License: MIT
6
+ License-File: LICENSE
7
7
  Author: NI
8
8
  Author-email: opensource@ni.com
9
9
  Maintainer: NI
10
10
  Maintainer-email: opensource@ni.com
11
- Requires-Python: >=3.8.1,<4.0.0
11
+ Requires-Python: >=3.9,<4.0
12
12
  Classifier: Development Status :: 1 - Planning
13
13
  Classifier: Intended Audience :: Developers
14
14
  Classifier: Intended Audience :: Manufacturing
@@ -21,15 +21,17 @@ Classifier: Programming Language :: Python :: 3.9
21
21
  Classifier: Programming Language :: Python :: 3.10
22
22
  Classifier: Programming Language :: Python :: 3.11
23
23
  Classifier: Programming Language :: Python :: 3.12
24
- Classifier: Programming Language :: Python :: 3.8
24
+ Classifier: Programming Language :: Python :: 3.13
25
+ Classifier: Programming Language :: Python :: 3.14
25
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
26
27
  Classifier: Topic :: Scientific/Engineering
28
+ Classifier: Topic :: Scientific/Engineering :: Instrument Drivers
27
29
  Classifier: Topic :: System :: Hardware
28
30
  Requires-Dist: hightime
29
31
  Project-URL: Repository, https://github.com/ni/nisync-python
30
32
  Description-Content-Type: text/markdown
31
33
 
32
- | **Info** | Contains a Python API for interacting with NI-Sync. See [GitHub](https://github.com/ni/nisync-python/) for the latest source. |
34
+ | **Info** | NI-Sync Python API |
33
35
  | :------------ | :---------------------|
34
36
  | **Author** | National Instruments |
35
37
 
@@ -51,6 +53,7 @@ Description-Content-Type: text/markdown
51
53
 
52
54
  The **nisync** package allows you to develop timing and synchronization applications
53
55
  for both time-based and signal-based synchronizations with NI-Sync devices in Python.
56
+ NI created and supports this package.
54
57
 
55
58
  ## Documentation
56
59
 
@@ -80,7 +83,7 @@ system.
80
83
 
81
84
  ## Python Version Support
82
85
 
83
- **nisync** supports CPython 3.8+ and PyPy3.
86
+ **nisync** supports CPython 3.9+ and PyPy3.
84
87
 
85
88
  # Installation
86
89
 
@@ -107,10 +110,10 @@ installed on your system. Both physical and simulated devices are supported.
107
110
  You can use **NI MAX** or **NI Hardware Configuration Utility** to verify and configure your devices.
108
111
 
109
112
  Finding and configuring device name in **NI MAX**:
110
- ![NI Max Device Name](https://github.com/ni/nisync-python/blob/a3b91643a1e110fbc3a6bc9c5dc517f74c13ee80/docs/img/max_device_name.png)
113
+ ![NI Max Device Name](https://raw.githubusercontent.com/ni/nisync-python/a3b91643a1e110fbc3a6bc9c5dc517f74c13ee80/docs/img/max_device_name.png)
111
114
 
112
115
  Finding and configuring device name in **NI Hardware Configuration Utility**:
113
- ![NI HWCU Device Name](https://github.com/ni/nisync-python/blob/a3b91643a1e110fbc3a6bc9c5dc517f74c13ee80/docs/img/hwcu_device_name.png)
116
+ ![NI HWCU Device Name](https://raw.githubusercontent.com/ni/nisync-python/a3b91643a1e110fbc3a6bc9c5dc517f74c13ee80/docs/img/hwcu_device_name.png)
114
117
 
115
118
 
116
119
  # Usage
@@ -1,4 +1,4 @@
1
- | **Info** | Contains a Python API for interacting with NI-Sync. See [GitHub](https://github.com/ni/nisync-python/) for the latest source. |
1
+ | **Info** | NI-Sync Python API |
2
2
  | :------------ | :---------------------|
3
3
  | **Author** | National Instruments |
4
4
 
@@ -20,6 +20,7 @@
20
20
 
21
21
  The **nisync** package allows you to develop timing and synchronization applications
22
22
  for both time-based and signal-based synchronizations with NI-Sync devices in Python.
23
+ NI created and supports this package.
23
24
 
24
25
  ## Documentation
25
26
 
@@ -49,7 +50,7 @@ system.
49
50
 
50
51
  ## Python Version Support
51
52
 
52
- **nisync** supports CPython 3.8+ and PyPy3.
53
+ **nisync** supports CPython 3.9+ and PyPy3.
53
54
 
54
55
  # Installation
55
56
 
@@ -76,10 +77,10 @@ installed on your system. Both physical and simulated devices are supported.
76
77
  You can use **NI MAX** or **NI Hardware Configuration Utility** to verify and configure your devices.
77
78
 
78
79
  Finding and configuring device name in **NI MAX**:
79
- ![NI Max Device Name](https://github.com/ni/nisync-python/blob/a3b91643a1e110fbc3a6bc9c5dc517f74c13ee80/docs/img/max_device_name.png)
80
+ ![NI Max Device Name](https://raw.githubusercontent.com/ni/nisync-python/a3b91643a1e110fbc3a6bc9c5dc517f74c13ee80/docs/img/max_device_name.png)
80
81
 
81
82
  Finding and configuring device name in **NI Hardware Configuration Utility**:
82
- ![NI HWCU Device Name](https://github.com/ni/nisync-python/blob/a3b91643a1e110fbc3a6bc9c5dc517f74c13ee80/docs/img/hwcu_device_name.png)
83
+ ![NI HWCU Device Name](https://raw.githubusercontent.com/ni/nisync-python/a3b91643a1e110fbc3a6bc9c5dc517f74c13ee80/docs/img/hwcu_device_name.png)
83
84
 
84
85
 
85
86
  # Usage
@@ -50,7 +50,7 @@ class UnsupportedConfigurationError(Error):
50
50
  class DriverNotInstalledError(Error):
51
51
  def __init__(self):
52
52
  super(DriverNotInstalledError, self).__init__(
53
- "The NI-DMM runtime could not be loaded. Make sure it is installed and its bitness matches that of your Python interpreter. Please visit http://www.ni.com/downloads/drivers/ to download and install it."
53
+ "The NI-Sync runtime could not be loaded. Make sure it is installed and its bitness matches that of your Python interpreter. Please visit http://www.ni.com/downloads/drivers/ to download and install it."
54
54
  )
55
55
 
56
56
 
@@ -864,6 +864,10 @@ class Session(_SessionBase):
864
864
  def resource_name(self):
865
865
  return self._resource_name
866
866
 
867
+ @property
868
+ def session_handle(self):
869
+ return self._vi
870
+
867
871
 
868
872
  class TimeReference(object):
869
873
  def __init__(self, session):
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "nisync"
3
- version = "0.1"
3
+ version = "0.2.1"
4
4
  description = "NI-Sync Python API"
5
5
  authors = ["NI <opensource@ni.com>"]
6
6
  maintainers = ["NI <opensource@ni.com>"]
@@ -15,19 +15,19 @@ classifiers = [
15
15
  "Operating System :: Microsoft :: Windows",
16
16
  "Operating System :: POSIX :: Linux",
17
17
  "Programming Language :: Python :: 3",
18
- "Programming Language :: Python :: 3.8",
19
18
  "Programming Language :: Python :: 3.9",
20
19
  "Programming Language :: Python :: 3.10",
21
20
  "Programming Language :: Python :: 3.11",
22
21
  "Programming Language :: Python :: 3.12",
23
22
  "Programming Language :: Python :: Implementation :: CPython",
24
23
  "Topic :: Scientific/Engineering",
24
+ "Topic :: Scientific/Engineering :: Instrument Drivers",
25
25
  "Topic :: System :: Hardware",
26
26
  ]
27
27
  include = ["nisync/*"]
28
28
 
29
29
  [tool.poetry.dependencies]
30
- python = "^3.8.1"
30
+ python = "^3.9"
31
31
  hightime = "*"
32
32
 
33
33
  [tool.poetry.group.dev.dependencies]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes