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.
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/PKG-INFO +3 -3
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/README.md +2 -2
- async_httpd_data_collector-2.0.1/ahttpdc/__init__.py +1 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/examples/daemon_example.py +1 -1
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/examples/minima_dashboard_example.py +2 -2
- async_httpd_data_collector-2.0/ahttpdc/__init__.py +0 -1
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/.github/workflows/publish-pypi.yml +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/.github/workflows/test.yml +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/.gitignore +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/LICENSE +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/__init__.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/daemon.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/database_interface.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/fetch/__init__.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/fetch/fetcher.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/query/__init__.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/query/interface.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/query/parse/data.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/store/__init__.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/store/collector.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/store/parse/__init__.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/store/parse/parser.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/examples/query_example.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/pyproject.toml +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/requirements.txt +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/tests/dev_server.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/tests/read/fetch/test_fetcher.py +0 -0
- {async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/tests/read/query/test_query.py +0 -0
- {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.
|
|
747
|
-
* `interface.
|
|
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.
|
|
11
|
-
* `interface.
|
|
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'
|
|
@@ -69,7 +69,7 @@ interface = DatabaseInterface(
|
|
|
69
69
|
# data update task
|
|
70
70
|
async def update_data():
|
|
71
71
|
# get the data
|
|
72
|
-
data =
|
|
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.
|
|
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'
|
|
File without changes
|
{async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/.github/workflows/test.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/fetch/__init__.py
RENAMED
|
File without changes
|
{async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/fetch/fetcher.py
RENAMED
|
File without changes
|
{async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/query/__init__.py
RENAMED
|
File without changes
|
{async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/query/interface.py
RENAMED
|
File without changes
|
{async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/query/parse/data.py
RENAMED
|
File without changes
|
{async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/store/__init__.py
RENAMED
|
File without changes
|
{async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/ahttpdc/read/store/collector.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/examples/query_example.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/tests/read/fetch/test_fetcher.py
RENAMED
|
File without changes
|
{async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/tests/read/query/test_query.py
RENAMED
|
File without changes
|
{async_httpd_data_collector-2.0 → async_httpd_data_collector-2.0.1}/tests/read/test_interface.py
RENAMED
|
File without changes
|