nominal-streaming 0.6.0__cp310-abi3-win_amd64.whl → 0.7.5__cp310-abi3-win_amd64.whl

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.
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nominal-streaming
3
- Version: 0.6.0
3
+ Version: 0.7.5
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Rust
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -30,7 +30,7 @@ It also provides configuration to manage the tradeoff between above listed conce
30
30
  > [!WARNING]
31
31
  > This library is still under active development and may make breaking changes.
32
32
 
33
- ## Simple usage example: streaming from memory to Nominal Core with file fallback
33
+ ## Usage example: streaming from memory to Nominal Core with file fallback
34
34
 
35
35
  ```python
36
36
  import pathlib
@@ -43,7 +43,7 @@ if __name__ == "__main__":
43
43
  num_points = 100_000
44
44
  stream = (
45
45
  NominalDatasetStream(
46
- auth_header="<api key>",
46
+ auth_header="<api key>",
47
47
  opts=PyNominalStreamOpts(),
48
48
  )
49
49
  .enable_logging("info") # can set debug, warn, etc.
@@ -57,18 +57,17 @@ if __name__ == "__main__":
57
57
  time_ns = int(time.time() * 1e9)
58
58
  value = (idx % 50) + 0.5
59
59
  stream.enqueue("channel_name", time_ns, value, tags={"tag_key": "tag_value"})
60
-
60
+
61
61
  # Stream 100_000 points in one batch
62
62
  start_time = int(time.time() * 1e9)
63
63
  timestamp_offsets = int(1e9 / 1600)
64
64
  timestamps = [start_time + timestamp_offsets * idx for idx in range(num_points)]
65
65
  values = [(idx % 50) + 0.5 for idx in range(num_points)]
66
66
  stream.enqueue_batch(
67
- "channel_name",
68
- timestamps,
69
- values,
67
+ "channel_name",
68
+ timestamps,
69
+ values,
70
70
  tags={"tag_key": "tag_value"}
71
71
  )
72
-
73
72
  ```
74
73
 
@@ -1,8 +1,8 @@
1
- nominal_streaming-0.6.0.dist-info/METADATA,sha256=qEgAhocnKPHmB_av-OjcvdxAlGOsC3lW187YFpqevZU,2892
2
- nominal_streaming-0.6.0.dist-info/WHEEL,sha256=G8mq-RexZGAfbjW58CyHDPQ4EbuJINRXbIh22TbaFhw,95
1
+ nominal_streaming-0.7.5.dist-info/METADATA,sha256=povEy6E_Tp1p30-jRc8KPbVbo9DsJjPNBFLENwDfI80,2871
2
+ nominal_streaming-0.7.5.dist-info/WHEEL,sha256=G8mq-RexZGAfbjW58CyHDPQ4EbuJINRXbIh22TbaFhw,95
3
3
  nominal_streaming/__init__.py,sha256=eKBTo01Dvi8CcCUxU9P53WRIIxVbOLzK3xmk6RwYt0k,206
4
- nominal_streaming/_nominal_streaming.pyd,sha256=e2n0FMxmRRo1vgZYXQq48xXnhLZX7EIj9YVVi0P92ss,8363520
4
+ nominal_streaming/_nominal_streaming.pyd,sha256=WJ86pp-fx2X8Z1jcvkLT0JJ7p902Si4OtEwcnzG_Y3E,8026112
5
5
  nominal_streaming/_nominal_streaming.pyi,sha256=qTWakGqeLiFD1pHS050bDABPNUcHiE4pm6ss5wMg1GM,12472
6
6
  nominal_streaming/nominal_dataset_stream.py,sha256=xJTn-Gk3HpPdSkNN7WzAeGjkeQisij5y_v3XHMcS-zY,11808
7
7
  nominal_streaming/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- nominal_streaming-0.6.0.dist-info/RECORD,,
8
+ nominal_streaming-0.7.5.dist-info/RECORD,,