perfact-api-dg-fastapi 0.1__py2.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.
@@ -0,0 +1,8 @@
1
+ from fastapi import FastAPI
2
+ from perfact.api.main.dbsession import APIRouter
3
+
4
+ routes = APIRouter()
5
+
6
+
7
+ def mount(app: FastAPI):
8
+ app.include_router(routes)
File without changes
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.4
2
+ Name: perfact-api-dg-fastapi
3
+ Version: 0.1
4
+ Summary: PerFact API - dg FastAPI integration
5
+ Author-email: Viktor Dick <viktor.dick@perfact.de>
6
+ License: GPL-2.0-or-later
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Operating System :: POSIX :: Linux
9
+ Requires-Python: >=3.10
10
+ Description-Content-Type: text/markdown
11
+ Requires-Dist: fastapi[standard-no-fastapi-cloud-cli]
12
+ Requires-Dist: perfact-api-dg
13
+ Requires-Dist: perfact-api-main
14
+
15
+ # PerFact API - dg - APIs
16
+
17
+ This package contains all APIs related to the dg module of the PerFact software.
18
+ All available APIs are added to the main OpenAPI specification automatically.
19
+
20
+ ## getting started
21
+ This module is discovered and hosted by the `PythonPackages/perfact-api-base`.
22
+ As this package does not contain an own main entrypoint, you have to install it into the base and run that one.
23
+ Please refer to the documentation of the *API Base* to get more information about how the discovery works and how to include this module to your app bundle.
24
+ If everything is working, you should see this module be added to your bundle instance in the log:
25
+ ```
26
+ 2026-[...] - auth.app - INFO - start plugin discovery
27
+ [...]
28
+ 2026-[...] - auth.app - INFO - try to include plugin: perfact.api.dg_fastapi:mount
29
+ [...]
30
+ 2026-[...] - auth.app - INFO - finished discovery and include: X plugins
31
+ ```
@@ -0,0 +1,7 @@
1
+ perfact/api/dg_fastapi/__init__.py,sha256=07cyYwR48ySG51o1cmOjpVMO9D2EZnivhin7EUM2vXg,157
2
+ perfact/api/dg_fastapi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ perfact_api_dg_fastapi-0.1.dist-info/METADATA,sha256=ySSBujI7B4uM9PcBq50WdiGRtonIb6tvzOA0AXi8C4s,1346
4
+ perfact_api_dg_fastapi-0.1.dist-info/WHEEL,sha256=TdQ5LtNwLuxTCjgxN51AgdU5w-KkB9ttmLbzjTH02pg,109
5
+ perfact_api_dg_fastapi-0.1.dist-info/entry_points.txt,sha256=mLFl9n_fSRHWDRGlht-pp21ljYv-en_5WiRxNcKgwfE,48
6
+ perfact_api_dg_fastapi-0.1.dist-info/top_level.txt,sha256=1odO3B1JiDF2Lqgnop8k7K4Xs1y_LdwehM53l1NDOnc,8
7
+ perfact_api_dg_fastapi-0.1.dist-info/RECORD,,
@@ -0,0 +1,6 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py2-none-any
5
+ Tag: py3-none-any
6
+
@@ -0,0 +1,2 @@
1
+ [perfact.api]
2
+ dg = perfact.api.dg_fastapi:mount
@@ -0,0 +1 @@
1
+ perfact