async-httpd-data-collector 2.0__tar.gz → 2.0.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.
Files changed (29) hide show
  1. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/PKG-INFO +3 -3
  2. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/README.md +2 -2
  3. async_httpd_data_collector-2.0.1/ahttpdc/__init__.py +1 -0
  4. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/examples/daemon_example.py +1 -1
  5. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/examples/minima_dashboard_example.py +2 -2
  6. async_httpd_data_collector-2.0/ahttpdc/__init__.py +0 -1
  7. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/.github/workflows/publish-pypi.yml +0 -0
  8. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/.github/workflows/test.yml +0 -0
  9. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/.gitignore +0 -0
  10. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/LICENSE +0 -0
  11. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/__init__.py +0 -0
  12. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/daemon.py +0 -0
  13. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/database_interface.py +0 -0
  14. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/fetch/__init__.py +0 -0
  15. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/fetch/fetcher.py +0 -0
  16. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/query/__init__.py +0 -0
  17. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/query/interface.py +0 -0
  18. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/query/parse/data.py +0 -0
  19. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/store/__init__.py +0 -0
  20. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/store/collector.py +0 -0
  21. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/store/parse/__init__.py +0 -0
  22. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/store/parse/parser.py +0 -0
  23. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/examples/query_example.py +0 -0
  24. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/pyproject.toml +0 -0
  25. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/requirements.txt +0 -0
  26. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/tests/dev_server.py +0 -0
  27. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/tests/read/fetch/test_fetcher.py +0 -0
  28. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/tests/read/query/test_query.py +0 -0
  29. {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/tests/read/test_interface.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: async-httpd-data-collector
3
- Version: 2.0
3
+ Version: 2.0.1
4
4
  Summary: Gateway facilitating asyncronous communication between sensory data-emitting devices, InfluxDB and the user.
5
5
  Project-URL: Repository, https://github.com/straightchlorine/async-httpd-data-collector
6
6
  Project-URL: Issues, https://github.com/straightchlorine/async-httpd-data-collector/issues
@@ -743,8 +743,8 @@ This class facilitates the communication between the fetcher and the querying ap
743
743
 
744
744
  In order to control fetching, there are two methods:
745
745
 
746
- * `interface.enable_fetching()`;
747
- * `interface.disable_fetching()`.
746
+ * `interface.daemon.enableg()`;
747
+ * `interface.daemon.disable()`.
748
748
 
749
749
  Those methods control the thread within which fetching process is contained.
750
750
 
@@ -7,8 +7,8 @@ This class facilitates the communication between the fetcher and the querying ap
7
7
 
8
8
  In order to control fetching, there are two methods:
9
9
 
10
- * `interface.enable_fetching()`;
11
- * `interface.disable_fetching()`.
10
+ * `interface.daemon.enableg()`;
11
+ * `interface.daemon.disable()`.
12
12
 
13
13
  Those methods control the thread within which fetching process is contained.
14
14
 
@@ -0,0 +1 @@
1
+ __version__ = 'v2.0.1'
@@ -63,4 +63,4 @@ interface = DatabaseInterface(
63
63
  )
64
64
 
65
65
  if __name__ == '__main__':
66
- interface.enable_fetching()
66
+ interface.daemon.enable()
@@ -69,7 +69,7 @@ interface = DatabaseInterface(
69
69
  # data update task
70
70
  async def update_data():
71
71
  # get the data
72
- data = await interface.query_latest()
72
+ data = interface.query_latest()
73
73
  return data
74
74
 
75
75
 
@@ -139,6 +139,6 @@ def run():
139
139
 
140
140
  # run the server
141
141
  if __name__ == '__main__':
142
- interface.enable_fetching()
142
+ interface.daemon.enable()
143
143
  server_process = multiprocessing.Process(target=run, name='dash')
144
144
  server_process.start()
@@ -1 +0,0 @@
1
- __version__ = 'v2.0'