fastapi-radar 0.1.2__tar.gz → 0.1.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 fastapi-radar might be problematic. Click here for more details.
- {fastapi_radar-0.1.2/fastapi_radar.egg-info → fastapi_radar-0.1.3}/PKG-INFO +8 -7
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/README.md +7 -6
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/fastapi_radar/api.py +1 -1
- fastapi_radar-0.1.3/fastapi_radar/dashboard/dist/assets/index-CxIRSjZZ.js +308 -0
- fastapi_radar-0.1.3/fastapi_radar/dashboard/dist/assets/index-DCxkDBhr.css +1 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/fastapi_radar/dashboard/dist/index.html +2 -2
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3/fastapi_radar.egg-info}/PKG-INFO +8 -7
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/fastapi_radar.egg-info/SOURCES.txt +2 -2
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/pyproject.toml +1 -1
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/tests/test_radar.py +0 -1
- fastapi_radar-0.1.2/fastapi_radar/dashboard/dist/assets/index-BG-z4GnL.js +0 -328
- fastapi_radar-0.1.2/fastapi_radar/dashboard/dist/assets/index-DSKnLYuE.css +0 -1
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/CONTRIBUTING.md +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/LICENSE +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/MANIFEST.in +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/fastapi_radar/__init__.py +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/fastapi_radar/capture.py +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/fastapi_radar/middleware.py +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/fastapi_radar/models.py +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/fastapi_radar/radar.py +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/fastapi_radar/utils.py +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/fastapi_radar.egg-info/dependency_links.txt +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/fastapi_radar.egg-info/not-zip-safe +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/fastapi_radar.egg-info/requires.txt +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/fastapi_radar.egg-info/top_level.txt +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/setup.cfg +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/setup.py +0 -0
- {fastapi_radar-0.1.2 → fastapi_radar-0.1.3}/tests/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fastapi-radar
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: A debugging dashboard for FastAPI applications with real-time monitoring
|
|
5
5
|
Home-page: https://github.com/doganarif/fastapi-radar
|
|
6
6
|
Author: Arif Dogan
|
|
@@ -46,11 +46,16 @@ Dynamic: requires-python
|
|
|
46
46
|
# FastAPI Radar 🛰️
|
|
47
47
|
|
|
48
48
|
[](https://www.python.org/downloads/)
|
|
49
|
-
[](https://fastapi.tiangolo.com)
|
|
50
49
|
[](https://opensource.org/licenses/MIT)
|
|
51
50
|
|
|
52
51
|
**A debugging dashboard for FastAPI applications providing real-time request, database query, and exception monitoring.**
|
|
53
52
|
|
|
53
|
+
✨ **Just one line to add powerful monitoring to your FastAPI app!**
|
|
54
|
+
|
|
55
|
+
## 🎯 See it in Action
|
|
56
|
+
|
|
57
|
+

|
|
58
|
+
|
|
54
59
|
## Installation
|
|
55
60
|
|
|
56
61
|
```bash
|
|
@@ -79,7 +84,7 @@ from sqlalchemy import create_engine
|
|
|
79
84
|
app = FastAPI()
|
|
80
85
|
engine = create_engine("sqlite:///./app.db")
|
|
81
86
|
|
|
82
|
-
#
|
|
87
|
+
# That's it! One line to add complete monitoring 🚀
|
|
83
88
|
radar = Radar(app, db_engine=engine)
|
|
84
89
|
radar.create_tables()
|
|
85
90
|
|
|
@@ -100,10 +105,6 @@ Access your dashboard at: **http://localhost:8000/\_\_radar/**
|
|
|
100
105
|
- ⚡ **Real-time Updates** - Live dashboard updates as requests happen
|
|
101
106
|
- 🎨 **Beautiful UI** - Modern React dashboard with shadcn/ui components
|
|
102
107
|
|
|
103
|
-
## Screenshots
|
|
104
|
-
|
|
105
|
-
<!-- Add screenshots here -->
|
|
106
|
-
|
|
107
108
|
## Configuration
|
|
108
109
|
|
|
109
110
|
```python
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
# FastAPI Radar 🛰️
|
|
2
2
|
|
|
3
3
|
[](https://www.python.org/downloads/)
|
|
4
|
-
[](https://fastapi.tiangolo.com)
|
|
5
4
|
[](https://opensource.org/licenses/MIT)
|
|
6
5
|
|
|
7
6
|
**A debugging dashboard for FastAPI applications providing real-time request, database query, and exception monitoring.**
|
|
8
7
|
|
|
8
|
+
✨ **Just one line to add powerful monitoring to your FastAPI app!**
|
|
9
|
+
|
|
10
|
+
## 🎯 See it in Action
|
|
11
|
+
|
|
12
|
+

|
|
13
|
+
|
|
9
14
|
## Installation
|
|
10
15
|
|
|
11
16
|
```bash
|
|
@@ -34,7 +39,7 @@ from sqlalchemy import create_engine
|
|
|
34
39
|
app = FastAPI()
|
|
35
40
|
engine = create_engine("sqlite:///./app.db")
|
|
36
41
|
|
|
37
|
-
#
|
|
42
|
+
# That's it! One line to add complete monitoring 🚀
|
|
38
43
|
radar = Radar(app, db_engine=engine)
|
|
39
44
|
radar.create_tables()
|
|
40
45
|
|
|
@@ -55,10 +60,6 @@ Access your dashboard at: **http://localhost:8000/\_\_radar/**
|
|
|
55
60
|
- ⚡ **Real-time Updates** - Live dashboard updates as requests happen
|
|
56
61
|
- 🎨 **Beautiful UI** - Modern React dashboard with shadcn/ui components
|
|
57
62
|
|
|
58
|
-
## Screenshots
|
|
59
|
-
|
|
60
|
-
<!-- Add screenshots here -->
|
|
61
|
-
|
|
62
63
|
## Configuration
|
|
63
64
|
|
|
64
65
|
```python
|
|
@@ -105,7 +105,7 @@ def create_api_router(get_session_context) -> APIRouter:
|
|
|
105
105
|
upper_bound = status_code + 100
|
|
106
106
|
query = query.filter(
|
|
107
107
|
CapturedRequest.status_code >= lower_bound,
|
|
108
|
-
CapturedRequest.status_code < upper_bound
|
|
108
|
+
CapturedRequest.status_code < upper_bound,
|
|
109
109
|
)
|
|
110
110
|
else:
|
|
111
111
|
# Exact status code match
|