smartdump 0.1.2__tar.gz → 0.1.4__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.4/LICENSE +21 -0
- {smartdump-0.1.2 → smartdump-0.1.4}/MANIFEST.in +2 -0
- {smartdump-0.1.2 → smartdump-0.1.4}/PKG-INFO +53 -2
- smartdump-0.1.2/smartdump.egg-info/PKG-INFO → smartdump-0.1.4/README.md +44 -17
- {smartdump-0.1.2 → smartdump-0.1.4}/pyproject.toml +14 -2
- {smartdump-0.1.2/client → smartdump-0.1.4/smartdump}/sd.py +4 -4
- smartdump-0.1.2/README.md → smartdump-0.1.4/smartdump.egg-info/PKG-INFO +68 -1
- {smartdump-0.1.2 → smartdump-0.1.4}/smartdump.egg-info/SOURCES.txt +3 -2
- {smartdump-0.1.2 → smartdump-0.1.4}/smartdump.egg-info/top_level.txt +1 -1
- {smartdump-0.1.2 → smartdump-0.1.4}/run.py +0 -0
- {smartdump-0.1.2 → smartdump-0.1.4}/server/__init__.py +0 -0
- {smartdump-0.1.2 → smartdump-0.1.4}/server/app.py +0 -0
- {smartdump-0.1.2 → smartdump-0.1.4}/server/manager.py +0 -0
- {smartdump-0.1.2 → smartdump-0.1.4}/setup.cfg +0 -0
- {smartdump-0.1.2/client → smartdump-0.1.4/smartdump}/__init__.py +0 -0
- {smartdump-0.1.2 → smartdump-0.1.4}/smartdump.egg-info/dependency_links.txt +0 -0
- {smartdump-0.1.2 → smartdump-0.1.4}/smartdump.egg-info/entry_points.txt +0 -0
- {smartdump-0.1.2 → smartdump-0.1.4}/smartdump.egg-info/requires.txt +0 -0
- {smartdump-0.1.2 → smartdump-0.1.4}/static/__init__.py +0 -0
- {smartdump-0.1.2 → smartdump-0.1.4}/static/app.js +0 -0
- {smartdump-0.1.2 → smartdump-0.1.4}/static/index.html +0 -0
- {smartdump-0.1.2 → smartdump-0.1.4}/static/styles.css +0 -0
smartdump-0.1.4/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 achelton
|
|
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,11 +1,18 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: smartdump
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Real-time variable dumper for FastAPI — inspired by Laradumps
|
|
5
|
+
Author-email: Achelton Pambo <acheltonzuzi@gmail.com>
|
|
6
|
+
Maintainer-email: Achelton Pambo <acheltonzuzi@gmail.com>
|
|
5
7
|
License: MIT
|
|
8
|
+
Project-URL: Homepage, https://github.com/achelton/smartdump
|
|
9
|
+
Project-URL: Repository, https://github.com/achelton/smartdump
|
|
10
|
+
Project-URL: Issues, https://github.com/achelton/smartdump/issues
|
|
11
|
+
Project-URL: Documentation, https://github.com/achelton/smartdump#readme
|
|
6
12
|
Keywords: fastapi,debug,dump,developer-tools
|
|
7
13
|
Requires-Python: >=3.10
|
|
8
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
License-File: LICENSE
|
|
9
16
|
Requires-Dist: fastapi>=0.110.0
|
|
10
17
|
Requires-Dist: uvicorn[standard]>=0.29.0
|
|
11
18
|
Requires-Dist: requests>=2.31.0
|
|
@@ -13,9 +20,14 @@ Provides-Extra: dev
|
|
|
13
20
|
Requires-Dist: httpx>=0.27.0; extra == "dev"
|
|
14
21
|
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
15
22
|
Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
|
|
23
|
+
Dynamic: license-file
|
|
16
24
|
|
|
17
25
|
# SmartDump
|
|
18
26
|
|
|
27
|
+
[](https://badge.fury.io/py/smartdump)
|
|
28
|
+
[](https://opensource.org/licenses/MIT)
|
|
29
|
+
[](https://www.python.org/downloads/)
|
|
30
|
+
|
|
19
31
|
Real-time variable dump viewer for FastAPI — inspired by [Laradumps](https://laradumps.dev).
|
|
20
32
|
|
|
21
33
|
Call `sd(variable)` anywhere in your FastAPI app and see it appear instantly in the browser.
|
|
@@ -43,7 +55,7 @@ Open **http://localhost:8765** in your browser.
|
|
|
43
55
|
### 2. Use `sd()` in your FastAPI app
|
|
44
56
|
|
|
45
57
|
```python
|
|
46
|
-
from
|
|
58
|
+
from smartdump import sd
|
|
47
59
|
|
|
48
60
|
@app.get("/users/{user_id}")
|
|
49
61
|
async def get_user(user_id: int):
|
|
@@ -143,3 +155,42 @@ smartdump/
|
|
|
143
155
|
├── example/ # Demo FastAPI app
|
|
144
156
|
└── run.py # Server launcher (also registered as `smartdump` CLI)
|
|
145
157
|
```
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## Contributing
|
|
162
|
+
|
|
163
|
+
Contributions are welcome! This is an open source project.
|
|
164
|
+
|
|
165
|
+
1. Fork the repository: [https://github.com/achelton/smartdump](https://github.com/achelton/smartdump)
|
|
166
|
+
2. Create a feature branch: `git checkout -b feature/my-feature`
|
|
167
|
+
3. Make your changes and commit: `git commit -am 'Add new feature'`
|
|
168
|
+
4. Push to the branch: `git push origin feature/my-feature`
|
|
169
|
+
5. Submit a pull request
|
|
170
|
+
|
|
171
|
+
### Development setup
|
|
172
|
+
|
|
173
|
+
```bash
|
|
174
|
+
git clone https://github.com/achelton/smartdump.git
|
|
175
|
+
cd smartdump
|
|
176
|
+
pip install -e ".[dev]"
|
|
177
|
+
pytest
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## License
|
|
183
|
+
|
|
184
|
+
MIT License - see the [LICENSE](LICENSE) file for details.
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## Links
|
|
189
|
+
|
|
190
|
+
- **PyPI**: [https://pypi.org/project/smartdump/](https://pypi.org/project/smartdump/)
|
|
191
|
+
- **GitHub**: [https://github.com/acheltonzuzi/smartdump](https://github.com/achelton/smartdump)
|
|
192
|
+
- **Issues**: [https://github.com/acheltonzuzi/smartdump/issues](https://github.com/achelton/smartdump/issues)
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
Made with ❤️ by [achelton pambo](https://github.com/acheltonzuzi)
|
|
@@ -1,21 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: smartdump
|
|
3
|
-
Version: 0.1.2
|
|
4
|
-
Summary: Real-time variable dumper for FastAPI — inspired by Laradumps
|
|
5
|
-
License: MIT
|
|
6
|
-
Keywords: fastapi,debug,dump,developer-tools
|
|
7
|
-
Requires-Python: >=3.10
|
|
8
|
-
Description-Content-Type: text/markdown
|
|
9
|
-
Requires-Dist: fastapi>=0.110.0
|
|
10
|
-
Requires-Dist: uvicorn[standard]>=0.29.0
|
|
11
|
-
Requires-Dist: requests>=2.31.0
|
|
12
|
-
Provides-Extra: dev
|
|
13
|
-
Requires-Dist: httpx>=0.27.0; extra == "dev"
|
|
14
|
-
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
15
|
-
Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
|
|
16
|
-
|
|
17
1
|
# SmartDump
|
|
18
2
|
|
|
3
|
+
[](https://badge.fury.io/py/smartdump)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
[](https://www.python.org/downloads/)
|
|
6
|
+
|
|
19
7
|
Real-time variable dump viewer for FastAPI — inspired by [Laradumps](https://laradumps.dev).
|
|
20
8
|
|
|
21
9
|
Call `sd(variable)` anywhere in your FastAPI app and see it appear instantly in the browser.
|
|
@@ -43,7 +31,7 @@ Open **http://localhost:8765** in your browser.
|
|
|
43
31
|
### 2. Use `sd()` in your FastAPI app
|
|
44
32
|
|
|
45
33
|
```python
|
|
46
|
-
from
|
|
34
|
+
from smartdump import sd
|
|
47
35
|
|
|
48
36
|
@app.get("/users/{user_id}")
|
|
49
37
|
async def get_user(user_id: int):
|
|
@@ -143,3 +131,42 @@ smartdump/
|
|
|
143
131
|
├── example/ # Demo FastAPI app
|
|
144
132
|
└── run.py # Server launcher (also registered as `smartdump` CLI)
|
|
145
133
|
```
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Contributing
|
|
138
|
+
|
|
139
|
+
Contributions are welcome! This is an open source project.
|
|
140
|
+
|
|
141
|
+
1. Fork the repository: [https://github.com/achelton/smartdump](https://github.com/achelton/smartdump)
|
|
142
|
+
2. Create a feature branch: `git checkout -b feature/my-feature`
|
|
143
|
+
3. Make your changes and commit: `git commit -am 'Add new feature'`
|
|
144
|
+
4. Push to the branch: `git push origin feature/my-feature`
|
|
145
|
+
5. Submit a pull request
|
|
146
|
+
|
|
147
|
+
### Development setup
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
git clone https://github.com/achelton/smartdump.git
|
|
151
|
+
cd smartdump
|
|
152
|
+
pip install -e ".[dev]"
|
|
153
|
+
pytest
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## License
|
|
159
|
+
|
|
160
|
+
MIT License - see the [LICENSE](LICENSE) file for details.
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
## Links
|
|
165
|
+
|
|
166
|
+
- **PyPI**: [https://pypi.org/project/smartdump/](https://pypi.org/project/smartdump/)
|
|
167
|
+
- **GitHub**: [https://github.com/acheltonzuzi/smartdump](https://github.com/achelton/smartdump)
|
|
168
|
+
- **Issues**: [https://github.com/acheltonzuzi/smartdump/issues](https://github.com/achelton/smartdump/issues)
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
Made with ❤️ by [achelton pambo](https://github.com/acheltonzuzi)
|
|
@@ -4,12 +4,18 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "smartdump"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.4"
|
|
8
8
|
description = "Real-time variable dumper for FastAPI — inspired by Laradumps"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
11
|
license = { text = "MIT" }
|
|
12
12
|
keywords = ["fastapi", "debug", "dump", "developer-tools"]
|
|
13
|
+
authors = [
|
|
14
|
+
{ name = "Achelton Pambo", email = "acheltonzuzi@gmail.com" }
|
|
15
|
+
]
|
|
16
|
+
maintainers = [
|
|
17
|
+
{ name = "Achelton Pambo", email = "acheltonzuzi@gmail.com" }
|
|
18
|
+
]
|
|
13
19
|
|
|
14
20
|
dependencies = [
|
|
15
21
|
"fastapi>=0.110.0",
|
|
@@ -17,6 +23,12 @@ dependencies = [
|
|
|
17
23
|
"requests>=2.31.0",
|
|
18
24
|
]
|
|
19
25
|
|
|
26
|
+
[project.urls]
|
|
27
|
+
Homepage = "https://github.com/achelton/smartdump"
|
|
28
|
+
Repository = "https://github.com/achelton/smartdump"
|
|
29
|
+
Issues = "https://github.com/achelton/smartdump/issues"
|
|
30
|
+
Documentation = "https://github.com/achelton/smartdump#readme"
|
|
31
|
+
|
|
20
32
|
[project.optional-dependencies]
|
|
21
33
|
dev = [
|
|
22
34
|
"httpx>=0.27.0",
|
|
@@ -33,7 +45,7 @@ py-modules = ["run"]
|
|
|
33
45
|
include-package-data = true
|
|
34
46
|
|
|
35
47
|
[tool.setuptools.packages.find]
|
|
36
|
-
include = ["
|
|
48
|
+
include = ["smartdump*", "server*", "static*"]
|
|
37
49
|
exclude = ["example*", "tests*"]
|
|
38
50
|
|
|
39
51
|
[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,5 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: smartdump
|
|
3
|
+
Version: 0.1.4
|
|
4
|
+
Summary: Real-time variable dumper for FastAPI — inspired by Laradumps
|
|
5
|
+
Author-email: Achelton Pambo <acheltonzuzi@gmail.com>
|
|
6
|
+
Maintainer-email: Achelton Pambo <acheltonzuzi@gmail.com>
|
|
7
|
+
License: MIT
|
|
8
|
+
Project-URL: Homepage, https://github.com/achelton/smartdump
|
|
9
|
+
Project-URL: Repository, https://github.com/achelton/smartdump
|
|
10
|
+
Project-URL: Issues, https://github.com/achelton/smartdump/issues
|
|
11
|
+
Project-URL: Documentation, https://github.com/achelton/smartdump#readme
|
|
12
|
+
Keywords: fastapi,debug,dump,developer-tools
|
|
13
|
+
Requires-Python: >=3.10
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
License-File: LICENSE
|
|
16
|
+
Requires-Dist: fastapi>=0.110.0
|
|
17
|
+
Requires-Dist: uvicorn[standard]>=0.29.0
|
|
18
|
+
Requires-Dist: requests>=2.31.0
|
|
19
|
+
Provides-Extra: dev
|
|
20
|
+
Requires-Dist: httpx>=0.27.0; extra == "dev"
|
|
21
|
+
Requires-Dist: pytest>=8.0.0; extra == "dev"
|
|
22
|
+
Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
|
|
23
|
+
Dynamic: license-file
|
|
24
|
+
|
|
1
25
|
# SmartDump
|
|
2
26
|
|
|
27
|
+
[](https://badge.fury.io/py/smartdump)
|
|
28
|
+
[](https://opensource.org/licenses/MIT)
|
|
29
|
+
[](https://www.python.org/downloads/)
|
|
30
|
+
|
|
3
31
|
Real-time variable dump viewer for FastAPI — inspired by [Laradumps](https://laradumps.dev).
|
|
4
32
|
|
|
5
33
|
Call `sd(variable)` anywhere in your FastAPI app and see it appear instantly in the browser.
|
|
@@ -27,7 +55,7 @@ Open **http://localhost:8765** in your browser.
|
|
|
27
55
|
### 2. Use `sd()` in your FastAPI app
|
|
28
56
|
|
|
29
57
|
```python
|
|
30
|
-
from
|
|
58
|
+
from smartdump import sd
|
|
31
59
|
|
|
32
60
|
@app.get("/users/{user_id}")
|
|
33
61
|
async def get_user(user_id: int):
|
|
@@ -127,3 +155,42 @@ smartdump/
|
|
|
127
155
|
├── example/ # Demo FastAPI app
|
|
128
156
|
└── run.py # Server launcher (also registered as `smartdump` CLI)
|
|
129
157
|
```
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## Contributing
|
|
162
|
+
|
|
163
|
+
Contributions are welcome! This is an open source project.
|
|
164
|
+
|
|
165
|
+
1. Fork the repository: [https://github.com/achelton/smartdump](https://github.com/achelton/smartdump)
|
|
166
|
+
2. Create a feature branch: `git checkout -b feature/my-feature`
|
|
167
|
+
3. Make your changes and commit: `git commit -am 'Add new feature'`
|
|
168
|
+
4. Push to the branch: `git push origin feature/my-feature`
|
|
169
|
+
5. Submit a pull request
|
|
170
|
+
|
|
171
|
+
### Development setup
|
|
172
|
+
|
|
173
|
+
```bash
|
|
174
|
+
git clone https://github.com/achelton/smartdump.git
|
|
175
|
+
cd smartdump
|
|
176
|
+
pip install -e ".[dev]"
|
|
177
|
+
pytest
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## License
|
|
183
|
+
|
|
184
|
+
MIT License - see the [LICENSE](LICENSE) file for details.
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## Links
|
|
189
|
+
|
|
190
|
+
- **PyPI**: [https://pypi.org/project/smartdump/](https://pypi.org/project/smartdump/)
|
|
191
|
+
- **GitHub**: [https://github.com/acheltonzuzi/smartdump](https://github.com/achelton/smartdump)
|
|
192
|
+
- **Issues**: [https://github.com/acheltonzuzi/smartdump/issues](https://github.com/achelton/smartdump/issues)
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
Made with ❤️ by [achelton pambo](https://github.com/acheltonzuzi)
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
LICENSE
|
|
1
2
|
MANIFEST.in
|
|
2
3
|
README.md
|
|
3
4
|
pyproject.toml
|
|
4
5
|
run.py
|
|
5
|
-
client/__init__.py
|
|
6
|
-
client/sd.py
|
|
7
6
|
server/__init__.py
|
|
8
7
|
server/app.py
|
|
9
8
|
server/manager.py
|
|
9
|
+
smartdump/__init__.py
|
|
10
|
+
smartdump/sd.py
|
|
10
11
|
smartdump.egg-info/PKG-INFO
|
|
11
12
|
smartdump.egg-info/SOURCES.txt
|
|
12
13
|
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
|