match-predicting-ann-server-pub-api 5.2__tar.gz → 5.3__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.

Potentially problematic release.


This version of match-predicting-ann-server-pub-api might be problematic. Click here for more details.

Files changed (31) hide show
  1. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/PKG-INFO +1 -1
  2. match_predicting_ann_server_pub_api-5.3/match_predicting_ann_server_pub_api/controllers/dummy_controller.py +22 -0
  3. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/models/__init__.py +2 -0
  4. match_predicting_ann_server_pub_api-5.3/match_predicting_ann_server_pub_api/models/dummy_dto.py +63 -0
  5. match_predicting_ann_server_pub_api-5.3/match_predicting_ann_server_pub_api/models/training_progress_message.py +87 -0
  6. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/openapi/openapi.yaml +38 -0
  7. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api.egg-info/PKG-INFO +1 -1
  8. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api.egg-info/SOURCES.txt +3 -0
  9. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/setup.py +1 -1
  10. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/README.md +0 -0
  11. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/__init__.py +0 -0
  12. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/__main__.py +0 -0
  13. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/controllers/__init__.py +0 -0
  14. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/controllers/network_controller.py +0 -0
  15. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/controllers/security_controller.py +0 -0
  16. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/encoder.py +0 -0
  17. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/models/base_model.py +0 -0
  18. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/models/network_dto.py +0 -0
  19. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/models/predicting_data.py +0 -0
  20. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/models/training_data.py +0 -0
  21. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/models/training_match_dto.py +0 -0
  22. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/models/training_network_dto.py +0 -0
  23. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/models/training_request_dto.py +0 -0
  24. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/test/__init__.py +0 -0
  25. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/typing_utils.py +0 -0
  26. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api/util.py +0 -0
  27. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api.egg-info/dependency_links.txt +0 -0
  28. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api.egg-info/entry_points.txt +0 -0
  29. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api.egg-info/requires.txt +0 -0
  30. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/match_predicting_ann_server_pub_api.egg-info/top_level.txt +0 -0
  31. {match_predicting_ann_server_pub_api-5.2 → match_predicting_ann_server_pub_api-5.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: match_predicting_ann_server_pub_api
3
- Version: 5.2
3
+ Version: 5.3
4
4
  Summary: Match Predicting ANN Server Public API
5
5
  Home-page: https://github.com/magistvan/match-predicting-ann-server-client
6
6
  Author-email: magistvan@yahoo.com
@@ -0,0 +1,22 @@
1
+ # coding: utf-8
2
+ from flask import request, jsonify, Flask
3
+ from flask.views import MethodView
4
+ from injector import Injector, inject
5
+
6
+ from match_predicting_ann_server_pub_api.models.dummy_dto import DummyDTO
7
+
8
+ class DummyControllerApi(MethodView):
9
+ def __init__(self):
10
+ pass
11
+
12
+ def dummy(self):
13
+ """GET /dummy
14
+ dummy
15
+ """
16
+ pass
17
+
18
+
19
+ def register_DummyController_routes(app: Flask, injector: Injector):
20
+ controller = injector.get(DummyControllerApi)
21
+ app.add_url_rule("/dummy", view_func=controller.dummy, methods=['GET'])
22
+
@@ -1,8 +1,10 @@
1
1
  # flake8: noqa
2
2
  # import models into model package
3
+ from match_predicting_ann_server_pub_api.models.dummy_dto import DummyDTO
3
4
  from match_predicting_ann_server_pub_api.models.network_dto import NetworkDTO
4
5
  from match_predicting_ann_server_pub_api.models.predicting_data import PredictingData
5
6
  from match_predicting_ann_server_pub_api.models.training_data import TrainingData
6
7
  from match_predicting_ann_server_pub_api.models.training_match_dto import TrainingMatchDTO
7
8
  from match_predicting_ann_server_pub_api.models.training_network_dto import TrainingNetworkDTO
9
+ from match_predicting_ann_server_pub_api.models.training_progress_message import TrainingProgressMessage
8
10
  from match_predicting_ann_server_pub_api.models.training_request_dto import TrainingRequestDTO
@@ -0,0 +1,63 @@
1
+ from datetime import date, datetime # noqa: F401
2
+
3
+ from typing import List, Dict # noqa: F401
4
+
5
+ from match_predicting_ann_server_pub_api.models.base_model import Model
6
+ from match_predicting_ann_server_pub_api.models.training_progress_message import TrainingProgressMessage
7
+ from match_predicting_ann_server_pub_api import util
8
+
9
+ from match_predicting_ann_server_pub_api.models.training_progress_message import TrainingProgressMessage # noqa: E501
10
+
11
+ class DummyDTO(Model):
12
+ """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
+
14
+ Do not edit the class manually.
15
+ """
16
+
17
+ def __init__(self, training_progress_message=None): # noqa: E501
18
+ """DummyDTO - a model defined in OpenAPI
19
+
20
+ :param training_progress_message: The training_progress_message of this DummyDTO. # noqa: E501
21
+ :type training_progress_message: TrainingProgressMessage
22
+ """
23
+ self.openapi_types = {
24
+ 'training_progress_message': TrainingProgressMessage
25
+ }
26
+
27
+ self.attribute_map = {
28
+ 'training_progress_message': 'trainingProgressMessage'
29
+ }
30
+
31
+ self._training_progress_message = training_progress_message
32
+
33
+ @classmethod
34
+ def from_dict(cls, dikt) -> 'DummyDTO':
35
+ """Returns the dict as a model
36
+
37
+ :param dikt: A dict.
38
+ :type: dict
39
+ :return: The DummyDTO of this DummyDTO. # noqa: E501
40
+ :rtype: DummyDTO
41
+ """
42
+ return util.deserialize_model(dikt, cls)
43
+
44
+ @property
45
+ def training_progress_message(self) -> TrainingProgressMessage:
46
+ """Gets the training_progress_message of this DummyDTO.
47
+
48
+
49
+ :return: The training_progress_message of this DummyDTO.
50
+ :rtype: TrainingProgressMessage
51
+ """
52
+ return self._training_progress_message
53
+
54
+ @training_progress_message.setter
55
+ def training_progress_message(self, training_progress_message: TrainingProgressMessage):
56
+ """Sets the training_progress_message of this DummyDTO.
57
+
58
+
59
+ :param training_progress_message: The training_progress_message of this DummyDTO.
60
+ :type training_progress_message: TrainingProgressMessage
61
+ """
62
+
63
+ self._training_progress_message = training_progress_message
@@ -0,0 +1,87 @@
1
+ from datetime import date, datetime # noqa: F401
2
+
3
+ from typing import List, Dict # noqa: F401
4
+
5
+ from match_predicting_ann_server_pub_api.models.base_model import Model
6
+ from match_predicting_ann_server_pub_api import util
7
+
8
+
9
+ class TrainingProgressMessage(Model):
10
+ """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+
12
+ Do not edit the class manually.
13
+ """
14
+
15
+ def __init__(self, progress=None, precision=None): # noqa: E501
16
+ """TrainingProgressMessage - a model defined in OpenAPI
17
+
18
+ :param progress: The progress of this TrainingProgressMessage. # noqa: E501
19
+ :type progress: float
20
+ :param precision: The precision of this TrainingProgressMessage. # noqa: E501
21
+ :type precision: float
22
+ """
23
+ self.openapi_types = {
24
+ 'progress': float,
25
+ 'precision': float
26
+ }
27
+
28
+ self.attribute_map = {
29
+ 'progress': 'progress',
30
+ 'precision': 'precision'
31
+ }
32
+
33
+ self._progress = progress
34
+ self._precision = precision
35
+
36
+ @classmethod
37
+ def from_dict(cls, dikt) -> 'TrainingProgressMessage':
38
+ """Returns the dict as a model
39
+
40
+ :param dikt: A dict.
41
+ :type: dict
42
+ :return: The TrainingProgressMessage of this TrainingProgressMessage. # noqa: E501
43
+ :rtype: TrainingProgressMessage
44
+ """
45
+ return util.deserialize_model(dikt, cls)
46
+
47
+ @property
48
+ def progress(self) -> float:
49
+ """Gets the progress of this TrainingProgressMessage.
50
+
51
+
52
+ :return: The progress of this TrainingProgressMessage.
53
+ :rtype: float
54
+ """
55
+ return self._progress
56
+
57
+ @progress.setter
58
+ def progress(self, progress: float):
59
+ """Sets the progress of this TrainingProgressMessage.
60
+
61
+
62
+ :param progress: The progress of this TrainingProgressMessage.
63
+ :type progress: float
64
+ """
65
+
66
+ self._progress = progress
67
+
68
+ @property
69
+ def precision(self) -> float:
70
+ """Gets the precision of this TrainingProgressMessage.
71
+
72
+
73
+ :return: The precision of this TrainingProgressMessage.
74
+ :rtype: float
75
+ """
76
+ return self._precision
77
+
78
+ @precision.setter
79
+ def precision(self, precision: float):
80
+ """Sets the precision of this TrainingProgressMessage.
81
+
82
+
83
+ :param precision: The precision of this TrainingProgressMessage.
84
+ :type precision: float
85
+ """
86
+
87
+ self._precision = precision
@@ -48,8 +48,46 @@ paths:
48
48
  tags:
49
49
  - Network
50
50
  x-openapi-router-controller: match_predicting_ann_server_pub_api.controllers.network_controller
51
+ /dummy:
52
+ get:
53
+ operationId: dummy
54
+ responses:
55
+ default:
56
+ content:
57
+ '*/*':
58
+ schema:
59
+ $ref: "#/components/schemas/DummyDTO"
60
+ description: default response
61
+ tags:
62
+ - Dummy
63
+ x-openapi-router-controller: match_predicting_ann_server_pub_api.controllers.dummy_controller
51
64
  components:
52
65
  schemas:
66
+ DummyDTO:
67
+ example:
68
+ trainingProgressMessage:
69
+ precision: 6.027456183070403
70
+ progress: 0.8008281904610115
71
+ properties:
72
+ trainingProgressMessage:
73
+ $ref: "#/components/schemas/TrainingProgressMessage"
74
+ title: DummyDTO
75
+ type: object
76
+ TrainingProgressMessage:
77
+ example:
78
+ precision: 6.027456183070403
79
+ progress: 0.8008281904610115
80
+ properties:
81
+ progress:
82
+ format: double
83
+ title: progress
84
+ type: number
85
+ precision:
86
+ format: double
87
+ title: precision
88
+ type: number
89
+ title: TrainingProgressMessage
90
+ type: object
53
91
  NetworkDTO:
54
92
  example:
55
93
  sizes: sizes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: match_predicting_ann_server_pub_api
3
- Version: 5.2
3
+ Version: 5.3
4
4
  Summary: Match Predicting ANN Server Public API
5
5
  Home-page: https://github.com/magistvan/match-predicting-ann-server-client
6
6
  Author-email: magistvan@yahoo.com
@@ -12,15 +12,18 @@ match_predicting_ann_server_pub_api.egg-info/entry_points.txt
12
12
  match_predicting_ann_server_pub_api.egg-info/requires.txt
13
13
  match_predicting_ann_server_pub_api.egg-info/top_level.txt
14
14
  match_predicting_ann_server_pub_api/controllers/__init__.py
15
+ match_predicting_ann_server_pub_api/controllers/dummy_controller.py
15
16
  match_predicting_ann_server_pub_api/controllers/network_controller.py
16
17
  match_predicting_ann_server_pub_api/controllers/security_controller.py
17
18
  match_predicting_ann_server_pub_api/models/__init__.py
18
19
  match_predicting_ann_server_pub_api/models/base_model.py
20
+ match_predicting_ann_server_pub_api/models/dummy_dto.py
19
21
  match_predicting_ann_server_pub_api/models/network_dto.py
20
22
  match_predicting_ann_server_pub_api/models/predicting_data.py
21
23
  match_predicting_ann_server_pub_api/models/training_data.py
22
24
  match_predicting_ann_server_pub_api/models/training_match_dto.py
23
25
  match_predicting_ann_server_pub_api/models/training_network_dto.py
26
+ match_predicting_ann_server_pub_api/models/training_progress_message.py
24
27
  match_predicting_ann_server_pub_api/models/training_request_dto.py
25
28
  match_predicting_ann_server_pub_api/openapi/openapi.yaml
26
29
  match_predicting_ann_server_pub_api/test/__init__.py
@@ -2,7 +2,7 @@ import sys
2
2
  from setuptools import setup, find_packages
3
3
 
4
4
  NAME = "match_predicting_ann_server_pub_api"
5
- VERSION = "5.2"
5
+ VERSION = "5.3"
6
6
 
7
7
  # To install the library, run the following
8
8
  #