python-eigen-ingenuity 0.5.31b2__py3-none-any.whl → 0.5.32b1__py3-none-any.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.
@@ -3,17 +3,17 @@
3
3
  This package deals with the Eigen Ingenuity Historian API, mostly by means
4
4
  of the JSON Bridge Historian.
5
5
 
6
- To get a historian object to work with, use get_historian(xxx) with either
6
+ To get a historianmulti object to work with, use get_historian_multi(xxx) with either
7
7
  an instance name (which will be resolved via the the usual methods in
8
8
  eigeningenuity.core) or a full URL to a JSON Bridge Historian instance.
9
9
 
10
- from eigeningenuity.historian import get_historian
10
+ from eigeningenuity.historianmulti import get_historian_multi
11
11
  from time import gmtime, asctime
12
12
 
13
- h = get_historian("pi-opc")
14
- tags = h.listDataTags()
13
+ hm = get_historian_multi("pi-opc")
14
+ tags = hm.listDataTags()
15
15
  for tag in tags:
16
- dp = h.getCurrentDataPoint(tag)
16
+ dp = hm.getCurrentDataPoints(tag)
17
17
  print(asctime(time.gmtime(dp['timestamp'])), dp['value'])
18
18
  """
19
19
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-eigen-ingenuity
3
- Version: 0.5.31b2
3
+ Version: 0.5.32b1
4
4
  Summary: A python library used to query data from the Eigen Ingenuity system
5
5
  Home-page: https://www.eigen.co/
6
6
  Author: Murray Callander
@@ -5,7 +5,7 @@ eigeningenuity/commonmenu.py,sha256=iewhtyN83fVNVXMrhhu4sd2FSLtqPrg8bSlidhvl-rc,
5
5
  eigeningenuity/elastic.py,sha256=HwHyRHLw71v6wDl1VDercCRn6m0Lrh-4RzHSQxqTTJw,7960
6
6
  eigeningenuity/events.py,sha256=zo4dO23PeNBw5bt9O_F56qHIEQw5YgRrFi3yA5hYA44,13929
7
7
  eigeningenuity/historian.py,sha256=urJzCUF3OwOlXY-FZvl0tVzi3KICfptYigmf3gIklOU,43518
8
- eigeningenuity/historianmulti.py,sha256=X5TJDS7HP-w4nGt6OueJAF8gO_xAutE840oVU0rUogA,36204
8
+ eigeningenuity/historianmulti.py,sha256=aNpwmWwuhVebTE2Iu4l__q4X8nWnePqsH0jgqzMR0C4,36236
9
9
  eigeningenuity/logformatter.py,sha256=Xy-fLbYp58XXerRKsswzquyke9ujbNYNEHivRLlet9w,6291
10
10
  eigeningenuity/settings.py,sha256=rnx4tzDN3yMQUfga-jdDoJCYhcCxa2lWSGfEAPiWdD0,3406
11
11
  eigeningenuity/sql.py,sha256=I3NwAeOT61Cnsr5e6QxDYCrwsVJ-0h3j0VxUA6uiyGc,6165
@@ -88,8 +88,8 @@ regressiontests/eigeningenuity/historian-multi/test_getRawDatapoints.py,sha256=f
88
88
  regressiontests/eigeningenuity/historian-multi/test_listDataTags.py,sha256=TcceNSjCKoiK5SJcgTH2JXfKLYxIHdQdwZWlkpGnEVM,2006
89
89
  regressiontests/eigeningenuity/historian-multi/test_tagManagement.py,sha256=ylInBt453d1RaSih1eTTxGPZmb60UK4vMwI3UW-U1JY,4830
90
90
  regressiontests/eigeningenuity/historian-multi/test_writePoints.py,sha256=51tfUSLUqLKcCKJ1EyhjfzoC_4OP6n1oL3zgTSkXu4s,2696
91
- python_eigen_ingenuity-0.5.31b2.dist-info/METADATA,sha256=OXS91DPelBRyFKsN1n3nigYWUIy4kuKm2Qe1W_pWWkc,8124
92
- python_eigen_ingenuity-0.5.31b2.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
93
- python_eigen_ingenuity-0.5.31b2.dist-info/entry_points.txt,sha256=G3LjFQX5xKaN4mqtqCL8uaC-gRbP5T5x9r0gBTJTXXA,70
94
- python_eigen_ingenuity-0.5.31b2.dist-info/top_level.txt,sha256=oDWOSmlNPKNBlIEKP8_JaV01O60jTcUIt2tDkq3OD18,56
95
- python_eigen_ingenuity-0.5.31b2.dist-info/RECORD,,
91
+ python_eigen_ingenuity-0.5.32b1.dist-info/METADATA,sha256=3_PvmZUxhV50STBWXbgDax1XybLJUu7dDUzcOpLrDO4,8124
92
+ python_eigen_ingenuity-0.5.32b1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
93
+ python_eigen_ingenuity-0.5.32b1.dist-info/entry_points.txt,sha256=G3LjFQX5xKaN4mqtqCL8uaC-gRbP5T5x9r0gBTJTXXA,70
94
+ python_eigen_ingenuity-0.5.32b1.dist-info/top_level.txt,sha256=oDWOSmlNPKNBlIEKP8_JaV01O60jTcUIt2tDkq3OD18,56
95
+ python_eigen_ingenuity-0.5.32b1.dist-info/RECORD,,