smartdump 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.
- {smartdump-0.1.2/smartdump.egg-info → smartdump-0.1.3}/PKG-INFO +2 -2
- {smartdump-0.1.2 → smartdump-0.1.3}/README.md +1 -1
- {smartdump-0.1.2 → smartdump-0.1.3}/pyproject.toml +2 -2
- {smartdump-0.1.2/client → smartdump-0.1.3/smartdump}/sd.py +4 -4
- {smartdump-0.1.2 → smartdump-0.1.3/smartdump.egg-info}/PKG-INFO +2 -2
- {smartdump-0.1.2 → smartdump-0.1.3}/smartdump.egg-info/SOURCES.txt +2 -2
- {smartdump-0.1.2 → smartdump-0.1.3}/smartdump.egg-info/top_level.txt +1 -1
- {smartdump-0.1.2 → smartdump-0.1.3}/MANIFEST.in +0 -0
- {smartdump-0.1.2 → smartdump-0.1.3}/run.py +0 -0
- {smartdump-0.1.2 → smartdump-0.1.3}/server/__init__.py +0 -0
- {smartdump-0.1.2 → smartdump-0.1.3}/server/app.py +0 -0
- {smartdump-0.1.2 → smartdump-0.1.3}/server/manager.py +0 -0
- {smartdump-0.1.2 → smartdump-0.1.3}/setup.cfg +0 -0
- {smartdump-0.1.2/client → smartdump-0.1.3/smartdump}/__init__.py +0 -0
- {smartdump-0.1.2 → smartdump-0.1.3}/smartdump.egg-info/dependency_links.txt +0 -0
- {smartdump-0.1.2 → smartdump-0.1.3}/smartdump.egg-info/entry_points.txt +0 -0
- {smartdump-0.1.2 → smartdump-0.1.3}/smartdump.egg-info/requires.txt +0 -0
- {smartdump-0.1.2 → smartdump-0.1.3}/static/__init__.py +0 -0
- {smartdump-0.1.2 → smartdump-0.1.3}/static/app.js +0 -0
- {smartdump-0.1.2 → smartdump-0.1.3}/static/index.html +0 -0
- {smartdump-0.1.2 → smartdump-0.1.3}/static/styles.css +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: smartdump
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Real-time variable dumper for FastAPI — inspired by Laradumps
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: fastapi,debug,dump,developer-tools
|
|
@@ -43,7 +43,7 @@ Open **http://localhost:8765** in your browser.
|
|
|
43
43
|
### 2. Use `sd()` in your FastAPI app
|
|
44
44
|
|
|
45
45
|
```python
|
|
46
|
-
from
|
|
46
|
+
from smartdump import sd
|
|
47
47
|
|
|
48
48
|
@app.get("/users/{user_id}")
|
|
49
49
|
async def get_user(user_id: int):
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "smartdump"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.3"
|
|
8
8
|
description = "Real-time variable dumper for FastAPI — inspired by Laradumps"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -33,7 +33,7 @@ py-modules = ["run"]
|
|
|
33
33
|
include-package-data = true
|
|
34
34
|
|
|
35
35
|
[tool.setuptools.packages.find]
|
|
36
|
-
include = ["
|
|
36
|
+
include = ["smartdump*", "server*", "static*"]
|
|
37
37
|
exclude = ["example*", "tests*"]
|
|
38
38
|
|
|
39
39
|
[tool.setuptools.package-data]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""
|
|
2
|
-
SmartDebugger client —
|
|
2
|
+
SmartDebugger client — sd() function.
|
|
3
3
|
|
|
4
4
|
Usage:
|
|
5
|
-
from
|
|
5
|
+
from smartdump import sd
|
|
6
6
|
|
|
7
7
|
sd(my_var)
|
|
8
8
|
sd(my_var, label="user object")
|
|
@@ -33,11 +33,11 @@ def configure(
|
|
|
33
33
|
timeout: float = 1.0,
|
|
34
34
|
enabled: bool = True,
|
|
35
35
|
) -> None:
|
|
36
|
-
"""Override default
|
|
36
|
+
"""Override default sd() configuration."""
|
|
37
37
|
_config["server_url"] = server_url.rstrip("/")
|
|
38
38
|
_config["timeout"] = timeout
|
|
39
39
|
_config["enabled"] = enabled
|
|
40
|
-
|
|
40
|
+
|
|
41
41
|
# ---------------------------------------------------------------------------
|
|
42
42
|
# Serialisation helpers
|
|
43
43
|
# ---------------------------------------------------------------------------
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: smartdump
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Real-time variable dumper for FastAPI — inspired by Laradumps
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: fastapi,debug,dump,developer-tools
|
|
@@ -43,7 +43,7 @@ Open **http://localhost:8765** in your browser.
|
|
|
43
43
|
### 2. Use `sd()` in your FastAPI app
|
|
44
44
|
|
|
45
45
|
```python
|
|
46
|
-
from
|
|
46
|
+
from smartdump import sd
|
|
47
47
|
|
|
48
48
|
@app.get("/users/{user_id}")
|
|
49
49
|
async def get_user(user_id: int):
|
|
@@ -2,11 +2,11 @@ MANIFEST.in
|
|
|
2
2
|
README.md
|
|
3
3
|
pyproject.toml
|
|
4
4
|
run.py
|
|
5
|
-
client/__init__.py
|
|
6
|
-
client/sd.py
|
|
7
5
|
server/__init__.py
|
|
8
6
|
server/app.py
|
|
9
7
|
server/manager.py
|
|
8
|
+
smartdump/__init__.py
|
|
9
|
+
smartdump/sd.py
|
|
10
10
|
smartdump.egg-info/PKG-INFO
|
|
11
11
|
smartdump.egg-info/SOURCES.txt
|
|
12
12
|
smartdump.egg-info/dependency_links.txt
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|