kuhl-haus-mdp-servers 0.0.0__tar.gz → 0.1.2__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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Kuhl Haus
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,23 +1,24 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kuhl-haus-mdp-servers
3
- Version: 0.0.0
3
+ Version: 0.1.2
4
4
  Summary: Container image build repository for market data processing servers
5
- Author-email: Tom Pounders <git@oldschool.engineer>
5
+ Author-Email: Tom Pounders <git@oldschool.engineer>
6
+ License-File: LICENSE.txt
7
+ Classifier: Development Status :: 4 - Beta
8
+ Classifier: Programming Language :: Python
6
9
  Project-URL: Homepage, https://github.com/kuhl-haus/kuhl-haus-mdp-servers
7
10
  Project-URL: Documentation, https://github.com/kuhl-haus/kuhl-haus-mdp-servers/wiki
8
11
  Project-URL: Source, https://github.com/kuhl-haus/kuhl-haus-mdp-servers.git
9
12
  Project-URL: Changelog, https://github.com/kuhl-haus/kuhl-haus-mdp-servers/commits
10
13
  Project-URL: Tracker, https://github.com/kuhl-haus/kuhl-haus-mdp-servers/issues
11
- Classifier: Development Status :: 4 - Beta
12
- Classifier: Programming Language :: Python
13
14
  Requires-Python: <3.13,>=3.9.21
14
- Description-Content-Type: text/markdown
15
15
  Requires-Dist: kuhl-haus-mdp
16
16
  Provides-Extra: testing
17
17
  Requires-Dist: setuptools; extra == "testing"
18
18
  Requires-Dist: pdm-backend; extra == "testing"
19
19
  Requires-Dist: pytest; extra == "testing"
20
20
  Requires-Dist: pytest-cov; extra == "testing"
21
+ Description-Content-Type: text/markdown
21
22
 
22
23
 
23
24
  [![License](https://img.shields.io/github/license/kuhl-haus/kuhl-haus-mdp-servers)](https://github.com/kuhl-haus/kuhl-haus-mdp-servers/blob/mainline/LICENSE.txt)
@@ -1,24 +1,30 @@
1
1
  [build-system]
2
- requires = ["pdm-backend", "setuptools>=61.0"]
3
- build-backend = "setuptools.build_meta"
2
+ requires = [
3
+ "pdm-backend",
4
+ "setuptools>=61.0",
5
+ ]
6
+ build-backend = "pdm.backend"
4
7
 
5
8
  [project]
6
9
  name = "kuhl-haus-mdp-servers"
7
- dynamic = ["version"]
10
+ dynamic = []
8
11
  description = "Container image build repository for market data processing servers"
9
12
  authors = [
10
13
  { name = "Tom Pounders", email = "git@oldschool.engineer" },
11
14
  ]
12
15
  readme = "README.md"
13
16
  requires-python = "<3.13,>=3.9.21"
14
- license-files = ["LICENSE.txt"]
17
+ license-files = [
18
+ "LICENSE.txt",
19
+ ]
15
20
  classifiers = [
16
21
  "Development Status :: 4 - Beta",
17
- "Programming Language :: Python"
22
+ "Programming Language :: Python",
18
23
  ]
19
24
  dependencies = [
20
25
  "kuhl-haus-mdp",
21
26
  ]
27
+ version = "0.1.2"
22
28
 
23
29
  [project.urls]
24
30
  Homepage = "https://github.com/kuhl-haus/kuhl-haus-mdp-servers"
@@ -35,10 +41,6 @@ testing = [
35
41
  "pytest-cov",
36
42
  ]
37
43
 
38
- [tool.setuptools_scm]
39
- version_scheme = "guess-next-dev"
40
- local_scheme = "no-local-version"
41
-
42
44
  [project.scripts]
43
45
  mdl_server = "kuhl_haus.servers.mdl_server:app"
44
46
  mdp_server = "kuhl_haus.servers.mdp_server:app"
@@ -47,33 +49,71 @@ wds_server = "kuhl_haus.servers.wds_server:app"
47
49
  [tool.setuptools]
48
50
  zip-safe = true
49
51
  include-package-data = true
50
- package-dir = {"" = "src"}
51
- packages = {find = {where = ["src"], exclude = ["tests"]}}
52
+
53
+ [tool.setuptools.package-dir]
54
+ "" = "src"
55
+
56
+ [tool.setuptools.packages.find]
57
+ where = [
58
+ "src",
59
+ ]
60
+ exclude = [
61
+ "tests",
62
+ ]
63
+
64
+ [tool.setuptools_scm]
65
+ version_scheme = "guess-next-dev"
66
+ local_scheme = "no-local-version"
67
+
68
+ [tool.pdm]
69
+ distribution = true
70
+
71
+ [tool.pdm.version]
72
+ source = "scm"
73
+
74
+ [tool.pdm.build]
75
+ package-dir = "src"
76
+ includes = [
77
+ "src/kuhl_haus",
78
+ ]
52
79
 
53
80
  [tool.pytest.ini_options]
54
- addopts = ["--verbose"]
55
- norecursedirs = ["dist", "build", ".tox"]
56
- testpaths = ["tests"]
81
+ addopts = [
82
+ "--verbose",
83
+ ]
84
+ norecursedirs = [
85
+ "dist",
86
+ "build",
87
+ ".tox",
88
+ ]
89
+ testpaths = [
90
+ "tests",
91
+ ]
57
92
 
58
93
  [tool.devpi.upload]
59
94
  no_vcs = 1
60
- formats = ["bdist_wheel"]
95
+ formats = [
96
+ "bdist_wheel",
97
+ ]
61
98
 
62
99
  [tool.flake8]
63
100
  max_line_length = 88
64
- extend_ignore = ["E203", "W503"]
65
- exclude = [".tox", "build", "dist", ".eggs", "docs/conf.py"]
101
+ extend_ignore = [
102
+ "E203",
103
+ "W503",
104
+ ]
105
+ exclude = [
106
+ ".tox",
107
+ "build",
108
+ "dist",
109
+ ".eggs",
110
+ "docs/conf.py",
111
+ ]
66
112
 
67
113
  [tool.pyscaffold]
68
114
  version = "4.6"
69
115
  package = "servers"
70
- extensions = ["namespace"]
116
+ extensions = [
117
+ "namespace",
118
+ ]
71
119
  namespace = "kuhl_haus"
72
-
73
- [tool.pdm]
74
- distribution = true
75
- version = { source = "scm" }
76
-
77
- [tool.pdm.build]
78
- package-dir = "src"
79
- includes = ["src/kuhl_haus"]
@@ -237,7 +237,7 @@ async def health_check(response: Response):
237
237
  except Exception as e:
238
238
  logger.error(f"Health check error: {e}")
239
239
  response.status_code = status.HTTP_503_SERVICE_UNAVAILABLE
240
- return {"status": "ERROR", "message": str(e)}
240
+ return {"status": "ERROR", "message": "An unhandled exception occurred during health check."}
241
241
 
242
242
 
243
243
  if __name__ == "__main__":
@@ -1,28 +0,0 @@
1
- [options]
2
- package_dir =
3
- = src
4
- zip_safe = True
5
- include_package_data = True
6
-
7
- [options.packages.find]
8
- where = src
9
- exclude =
10
- tests
11
-
12
- [options.package_data]
13
- kuhl_haus.servers =
14
- py.typed
15
-
16
- [tool:pytest]
17
- addopts =
18
- --verbose
19
- norecursedirs =
20
- dist
21
- build
22
- .tox
23
- testpaths = tests
24
-
25
- [egg_info]
26
- tag_build =
27
- tag_date = 0
28
-
@@ -1,22 +0,0 @@
1
- """
2
- Setup file for kuhl-haus-crow.
3
- Use setup.cfg to configure your project.
4
-
5
- This file was generated with PyScaffold 4.6.
6
- PyScaffold helps you to put up the scaffold of your new Python project.
7
- Learn more under: https://pyscaffold.org/
8
- """
9
-
10
- from setuptools import setup
11
-
12
- if __name__ == "__main__":
13
- try:
14
- setup()
15
- except: # noqa
16
- print(
17
- "\n\nAn error occurred while building the project, "
18
- "please ensure you have the most updated version of setuptools, "
19
- "setuptools_scm and wheel with:\n"
20
- " pip install -U setuptools setuptools_scm wheel\n\n"
21
- )
22
- raise
@@ -1,36 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: kuhl-haus-mdp-servers
3
- Version: 0.0.0
4
- Summary: Container image build repository for market data processing servers
5
- Author-email: Tom Pounders <git@oldschool.engineer>
6
- Project-URL: Homepage, https://github.com/kuhl-haus/kuhl-haus-mdp-servers
7
- Project-URL: Documentation, https://github.com/kuhl-haus/kuhl-haus-mdp-servers/wiki
8
- Project-URL: Source, https://github.com/kuhl-haus/kuhl-haus-mdp-servers.git
9
- Project-URL: Changelog, https://github.com/kuhl-haus/kuhl-haus-mdp-servers/commits
10
- Project-URL: Tracker, https://github.com/kuhl-haus/kuhl-haus-mdp-servers/issues
11
- Classifier: Development Status :: 4 - Beta
12
- Classifier: Programming Language :: Python
13
- Requires-Python: <3.13,>=3.9.21
14
- Description-Content-Type: text/markdown
15
- Requires-Dist: kuhl-haus-mdp
16
- Provides-Extra: testing
17
- Requires-Dist: setuptools; extra == "testing"
18
- Requires-Dist: pdm-backend; extra == "testing"
19
- Requires-Dist: pytest; extra == "testing"
20
- Requires-Dist: pytest-cov; extra == "testing"
21
-
22
-
23
- [![License](https://img.shields.io/github/license/kuhl-haus/kuhl-haus-mdp-servers)](https://github.com/kuhl-haus/kuhl-haus-mdp-servers/blob/mainline/LICENSE.txt)
24
- [![PyPI](https://img.shields.io/pypi/v/kuhl-haus-mdp-servers.svg)](https://pypi.org/project/kuhl-haus-mdp-servers/)
25
- [![release](https://img.shields.io/github/v/release/kuhl-haus/kuhl-haus-mdp-servers?style=flat-square)](https://github.com/kuhl-haus/kuhl-haus-mdp-servers/releases)
26
- [![Build Status](https://github.com/kuhl-haus/kuhl-haus-mdp-servers/actions/workflows/build-images.yml/badge.svg)](https://github.com/kuhl-haus/kuhl-haus-mdp-servers/actions/workflows/build-images.yml)
27
- [![CodeQL Advanced](https://github.com/kuhl-haus/kuhl-haus-mdp-servers/actions/workflows/codeql.yml/badge.svg)](https://github.com/kuhl-haus/kuhl-haus-mdp-servers/actions/workflows/codeql.yml)
28
- [![Downloads](https://static.pepy.tech/badge/kuhl-haus-mdp-servers/month)](https://pepy.tech/project/kuhl-haus-mdp-servers)
29
- [![GitHub last commit](https://img.shields.io/github/last-commit/kuhl-haus/kuhl-haus-mdp-servers)](https://github.com/kuhl-haus/kuhl-haus-mdp-servers/branches)
30
- [![GitHub issues](https://img.shields.io/github/issues/kuhl-haus/kuhl-haus-mdp-servers)](https://github.com/kuhl-haus/kuhl-haus-mdp-servers/issues)
31
- [![GitHub pull requests](https://img.shields.io/github/issues-pr/kuhl-haus/kuhl-haus-mdp-servers)](https://github.com/kuhl-haus/kuhl-haus-mdp-servers/pulls)
32
-
33
-
34
-
35
- # kuhl-haus-mdp-servers
36
- Container image build repository for market data processing servers
@@ -1,15 +0,0 @@
1
- README.md
2
- pyproject.toml
3
- setup.cfg
4
- setup.py
5
- src/kuhl_haus/servers/__init__.py
6
- src/kuhl_haus/servers/mdl_server.py
7
- src/kuhl_haus/servers/mdp_server.py
8
- src/kuhl_haus/servers/wds_server.py
9
- src/kuhl_haus_mdp_servers.egg-info/PKG-INFO
10
- src/kuhl_haus_mdp_servers.egg-info/SOURCES.txt
11
- src/kuhl_haus_mdp_servers.egg-info/dependency_links.txt
12
- src/kuhl_haus_mdp_servers.egg-info/entry_points.txt
13
- src/kuhl_haus_mdp_servers.egg-info/requires.txt
14
- src/kuhl_haus_mdp_servers.egg-info/top_level.txt
15
- src/kuhl_haus_mdp_servers.egg-info/zip-safe
@@ -1,4 +0,0 @@
1
- [console_scripts]
2
- mdl_server = kuhl_haus.servers.mdl_server:app
3
- mdp_server = kuhl_haus.servers.mdp_server:app
4
- wds_server = kuhl_haus.servers.wds_server:app
@@ -1,7 +0,0 @@
1
- kuhl-haus-mdp
2
-
3
- [testing]
4
- setuptools
5
- pdm-backend
6
- pytest
7
- pytest-cov