fastapi-radar 0.1.3__py3-none-any.whl → 0.1.4__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.

Potentially problematic release.


This version of fastapi-radar might be problematic. Click here for more details.

fastapi_radar/__init__.py CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  from .radar import Radar
4
4
 
5
- __version__ = "0.1.0"
5
+ __version__ = "0.1.4"
6
6
  __all__ = ["Radar"]
fastapi_radar/radar.py CHANGED
@@ -120,7 +120,6 @@ class Radar:
120
120
 
121
121
  # Add a catch-all route for the dashboard SPA
122
122
  # This ensures all sub-routes under /__radar serve the index.html
123
- @self.app.get(f"{self.dashboard_path}")
124
123
  @self.app.get(f"{self.dashboard_path}/{{full_path:path}}")
125
124
  async def serve_dashboard(request: Request, full_path: str = ""):
126
125
  # Check if it's a request for a static asset
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fastapi-radar
3
- Version: 0.1.3
3
+ Version: 0.1.4
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
@@ -28,8 +28,6 @@ Requires-Dist: fastapi>=0.68.0
28
28
  Requires-Dist: sqlalchemy>=1.4.0
29
29
  Requires-Dist: pydantic>=1.8.0
30
30
  Requires-Dist: starlette>=0.14.2
31
- Requires-Dist: black>=24.8.0
32
- Requires-Dist: httpx>=0.28.1
33
31
  Provides-Extra: dev
34
32
  Requires-Dist: pytest>=7.0.0; extra == "dev"
35
33
  Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
@@ -38,21 +36,22 @@ Requires-Dist: black>=22.0.0; extra == "dev"
38
36
  Requires-Dist: isort>=5.10.0; extra == "dev"
39
37
  Requires-Dist: flake8>=4.0.0; extra == "dev"
40
38
  Requires-Dist: mypy>=0.950; extra == "dev"
39
+ Requires-Dist: httpx>=0.28.1; extra == "dev"
41
40
  Dynamic: author
42
41
  Dynamic: home-page
43
42
  Dynamic: license-file
44
43
  Dynamic: requires-python
45
44
 
46
- # FastAPI Radar 🛰️
45
+ # FastAPI Radar
47
46
 
48
47
  [![Python Version](https://img.shields.io/badge/python-3.8%2B-blue.svg)](https://www.python.org/downloads/)
49
48
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
50
49
 
51
50
  **A debugging dashboard for FastAPI applications providing real-time request, database query, and exception monitoring.**
52
51
 
53
- **Just one line to add powerful monitoring to your FastAPI app!**
52
+ **Just one line to add powerful monitoring to your FastAPI app!**
54
53
 
55
- ## 🎯 See it in Action
54
+ ## See it in Action
56
55
 
57
56
  ![FastAPI Radar Dashboard Demo](./assets/demo.gif)
58
57
 
@@ -84,7 +83,7 @@ from sqlalchemy import create_engine
84
83
  app = FastAPI()
85
84
  engine = create_engine("sqlite:///./app.db")
86
85
 
87
- # That's it! One line to add complete monitoring 🚀
86
+ # That's it! One line to add complete monitoring
88
87
  radar = Radar(app, db_engine=engine)
89
88
  radar.create_tables()
90
89
 
@@ -98,12 +97,11 @@ Access your dashboard at: **http://localhost:8000/\_\_radar/**
98
97
 
99
98
  ## Features
100
99
 
101
- - 🚀 **Zero Configuration** - Works with any FastAPI + SQLAlchemy app
102
- - 📊 **Request Monitoring** - Complete HTTP request/response capture with timing
103
- - 🗃️ **Database Monitoring** - SQL query logging with execution times
104
- - 🐛 **Exception Tracking** - Automatic exception capture with stack traces
105
- - **Real-time Updates** - Live dashboard updates as requests happen
106
- - 🎨 **Beautiful UI** - Modern React dashboard with shadcn/ui components
100
+ - **Zero Configuration** - Works with any FastAPI + SQLAlchemy app
101
+ - **Request Monitoring** - Complete HTTP request/response capture with timing
102
+ - **Database Monitoring** - SQL query logging with execution times
103
+ - **Exception Tracking** - Automatic exception capture with stack traces
104
+ - **Real-time Updates** - Live dashboard updates as requests happen
107
105
 
108
106
  ## Configuration
109
107
 
@@ -1,17 +1,17 @@
1
- fastapi_radar/__init__.py,sha256=AIZy7tyr7kPLDQNspJTEbkCZXThWvRkm0mCaZ_icIBc,137
1
+ fastapi_radar/__init__.py,sha256=uqCiwsaLvMvhIZ12MYPsuD4LcsowlNbBE1cKSG7lHQ0,137
2
2
  fastapi_radar/api.py,sha256=xZIVW4PBAIT0ix4s58NUfwYeCEZKeViXgk9tABGeSQg,10589
3
3
  fastapi_radar/capture.py,sha256=7ozPNBcogWeILIT1YsiTg5GyIGJvIr3o2rMVJEW-RGs,3289
4
4
  fastapi_radar/middleware.py,sha256=4Jo9nX0nxtT3e9JOIP5UE490uWvAI-a61nCS_8y77rs,4964
5
5
  fastapi_radar/models.py,sha256=H2esHsTo4RZEy9GJ0I49Ob5-AS85aeO0oMWau2QrWMw,2262
6
- fastapi_radar/radar.py,sha256=jtRUM49CK63KoHtUAlFeDbeBE0Kh_uQL2faBcFgryY4,10256
6
+ fastapi_radar/radar.py,sha256=NKGoZKXXc10TfTAGaYO-Hh9MfBxDsC_rl1A9lqAl2uM,10208
7
7
  fastapi_radar/utils.py,sha256=WoL5tEH1pl6zOp0sXoPV_3UEOsIl29_xgzS0iapS10s,1515
8
8
  fastapi_radar/dashboard/dist/index.html,sha256=Q3fhImCwGAmqjZv0GYi81vJ4ELeUrOY2VS7O80UU6uU,436
9
9
  fastapi_radar/dashboard/dist/assets/index-CxIRSjZZ.js,sha256=jla8HJd6P3-vm1CYh7HLkgTys-HFOMILPH4DlFDcCxk,789553
10
10
  fastapi_radar/dashboard/dist/assets/index-DCxkDBhr.css,sha256=RLA1xEBZZaQDyJqE1rok9UTyavpMgYb4bcuRdjKhMHo,33691
11
- fastapi_radar-0.1.3.dist-info/licenses/LICENSE,sha256=0ga4BB6q-nqx6xlDRhtrgKrYs0HgX02PQyIzNFRK09Q,1067
11
+ fastapi_radar-0.1.4.dist-info/licenses/LICENSE,sha256=0ga4BB6q-nqx6xlDRhtrgKrYs0HgX02PQyIzNFRK09Q,1067
12
12
  tests/__init__.py,sha256=kAWaI50iJRZ4JlAdyt7FICgm8MsloZz0ZlsmhgLXBas,31
13
13
  tests/test_radar.py,sha256=qA9iUtk6zzcsjgoxJriQngFvhHUqXmVrPcULp58sI1o,1684
14
- fastapi_radar-0.1.3.dist-info/METADATA,sha256=XBsKXx18Q8Rml2kwwkAYbii5dnWgS9t6XWZPe0iKg7o,4813
15
- fastapi_radar-0.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
- fastapi_radar-0.1.3.dist-info/top_level.txt,sha256=M-bALM-KDkiLcATq2aAx-BnG59Nv-GdFBzuzkUhiCa0,20
17
- fastapi_radar-0.1.3.dist-info/RECORD,,
14
+ fastapi_radar-0.1.4.dist-info/METADATA,sha256=WUOjGaRkQuCF9Fb1hPM5hEPJL1upnFCEkGYSeY_v9k4,4676
15
+ fastapi_radar-0.1.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
+ fastapi_radar-0.1.4.dist-info/top_level.txt,sha256=M-bALM-KDkiLcATq2aAx-BnG59Nv-GdFBzuzkUhiCa0,20
17
+ fastapi_radar-0.1.4.dist-info/RECORD,,