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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: smartdump
3
- Version: 0.1.2
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 client import sd
46
+ from smartdump import sd
47
47
 
48
48
  @app.get("/users/{user_id}")
49
49
  async def get_user(user_id: int):
@@ -27,7 +27,7 @@ Open **http://localhost:8765** in your browser.
27
27
  ### 2. Use `sd()` in your FastAPI app
28
28
 
29
29
  ```python
30
- from client import sd
30
+ from smartdump import sd
31
31
 
32
32
  @app.get("/users/{user_id}")
33
33
  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.2"
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 = ["client*", "server*", "static*"]
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 — ds() function.
2
+ SmartDebugger client — sd() function.
3
3
 
4
4
  Usage:
5
- from client import sd
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 ds() configuration."""
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.2
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 client import sd
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
@@ -1,4 +1,4 @@
1
- client
2
1
  run
3
2
  server
3
+ smartdump
4
4
  static
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