cloudwire 0.2.1__tar.gz → 0.2.2__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.
Files changed (23) hide show
  1. {cloudwire-0.2.1 → cloudwire-0.2.2}/PKG-INFO +9 -8
  2. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire/__init__.py +1 -1
  3. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire/cli.py +30 -3
  4. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire.egg-info/PKG-INFO +9 -8
  5. cloudwire-0.2.2/cloudwire.egg-info/requires.txt +13 -0
  6. {cloudwire-0.2.1 → cloudwire-0.2.2}/pyproject.toml +9 -8
  7. cloudwire-0.2.1/cloudwire.egg-info/requires.txt +0 -13
  8. {cloudwire-0.2.1 → cloudwire-0.2.2}/README.md +0 -0
  9. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire/app/__init__.py +0 -0
  10. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire/app/graph_store.py +0 -0
  11. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire/app/main.py +0 -0
  12. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire/app/models.py +0 -0
  13. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire/app/scan_jobs.py +0 -0
  14. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire/app/scanner.py +0 -0
  15. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire/static/assets/index-IhO1P1Kx.js +0 -0
  16. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire/static/assets/index-ojHsU5ur.css +0 -0
  17. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire/static/favicon.svg +0 -0
  18. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire/static/index.html +0 -0
  19. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire.egg-info/SOURCES.txt +0 -0
  20. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire.egg-info/dependency_links.txt +0 -0
  21. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire.egg-info/entry_points.txt +0 -0
  22. {cloudwire-0.2.1 → cloudwire-0.2.2}/cloudwire.egg-info/top_level.txt +0 -0
  23. {cloudwire-0.2.1 → cloudwire-0.2.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloudwire
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Scan and visualize your AWS infrastructure as an interactive graph
5
5
  License-Expression: MIT
6
6
  Project-URL: Homepage, https://github.com/hisingh_gwre/cloudwire
@@ -16,6 +16,7 @@ Classifier: Programming Language :: Python :: 3.9
16
16
  Classifier: Programming Language :: Python :: 3.10
17
17
  Classifier: Programming Language :: Python :: 3.11
18
18
  Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
19
20
  Classifier: Topic :: Internet :: WWW/HTTP
20
21
  Classifier: Topic :: System :: Systems Administration
21
22
  Requires-Python: >=3.9
@@ -24,13 +25,13 @@ Provides-Extra: dev
24
25
  Requires-Dist: twine; extra == "dev"
25
26
  Requires-Dist: build; extra == "dev"
26
27
  Provides-Extra: dependencies
27
- Requires-Dist: fastapi>=0.115; extra == "dependencies"
28
- Requires-Dist: uvicorn[standard]>=0.34; extra == "dependencies"
29
- Requires-Dist: boto3>=1.37; extra == "dependencies"
30
- Requires-Dist: botocore>=1.37; extra == "dependencies"
31
- Requires-Dist: networkx>=3.4; extra == "dependencies"
32
- Requires-Dist: pydantic>=2.11; extra == "dependencies"
33
- Requires-Dist: click>=8.1; extra == "dependencies"
28
+ Requires-Dist: fastapi>=0.100; extra == "dependencies"
29
+ Requires-Dist: uvicorn>=0.20; extra == "dependencies"
30
+ Requires-Dist: boto3>=1.26; extra == "dependencies"
31
+ Requires-Dist: botocore>=1.29; extra == "dependencies"
32
+ Requires-Dist: networkx>=2.6; extra == "dependencies"
33
+ Requires-Dist: pydantic>=2.0; extra == "dependencies"
34
+ Requires-Dist: click>=8.0; extra == "dependencies"
34
35
 
35
36
  # Cloudwire
36
37
 
@@ -1,3 +1,3 @@
1
1
  """CloudWire — scan and visualize your AWS infrastructure."""
2
2
 
3
- __version__ = "0.2.1"
3
+ __version__ = "0.2.2"
@@ -4,13 +4,40 @@ from __future__ import annotations
4
4
 
5
5
  import os
6
6
  import socket
7
+ import sys
7
8
  import threading
8
9
  import webbrowser
9
10
 
10
- import click
11
- import uvicorn
11
+ _REQUIRED_PACKAGES = ["click", "uvicorn", "fastapi", "boto3", "pydantic", "networkx"]
12
12
 
13
- from . import __version__
13
+
14
+ def _check_dependencies() -> None:
15
+ """Verify all required packages are importable. Print a helpful message if not."""
16
+ missing = []
17
+ for pkg in _REQUIRED_PACKAGES:
18
+ try:
19
+ __import__(pkg)
20
+ except ImportError:
21
+ missing.append(pkg)
22
+ if missing:
23
+ print(
24
+ f"Error: missing required packages: {', '.join(missing)}\n"
25
+ f"\n"
26
+ f" pip install cloudwire\n"
27
+ f"\n"
28
+ f"This installs all dependencies automatically. If you installed\n"
29
+ f"from source, run: pip install -e .\n",
30
+ file=sys.stderr,
31
+ )
32
+ sys.exit(1)
33
+
34
+
35
+ _check_dependencies()
36
+
37
+ import click # noqa: E402
38
+ import uvicorn # noqa: E402
39
+
40
+ from . import __version__ # noqa: E402
14
41
 
15
42
 
16
43
  def _port_is_available(host: str, port: int) -> bool:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloudwire
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Scan and visualize your AWS infrastructure as an interactive graph
5
5
  License-Expression: MIT
6
6
  Project-URL: Homepage, https://github.com/hisingh_gwre/cloudwire
@@ -16,6 +16,7 @@ Classifier: Programming Language :: Python :: 3.9
16
16
  Classifier: Programming Language :: Python :: 3.10
17
17
  Classifier: Programming Language :: Python :: 3.11
18
18
  Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
19
20
  Classifier: Topic :: Internet :: WWW/HTTP
20
21
  Classifier: Topic :: System :: Systems Administration
21
22
  Requires-Python: >=3.9
@@ -24,13 +25,13 @@ Provides-Extra: dev
24
25
  Requires-Dist: twine; extra == "dev"
25
26
  Requires-Dist: build; extra == "dev"
26
27
  Provides-Extra: dependencies
27
- Requires-Dist: fastapi>=0.115; extra == "dependencies"
28
- Requires-Dist: uvicorn[standard]>=0.34; extra == "dependencies"
29
- Requires-Dist: boto3>=1.37; extra == "dependencies"
30
- Requires-Dist: botocore>=1.37; extra == "dependencies"
31
- Requires-Dist: networkx>=3.4; extra == "dependencies"
32
- Requires-Dist: pydantic>=2.11; extra == "dependencies"
33
- Requires-Dist: click>=8.1; extra == "dependencies"
28
+ Requires-Dist: fastapi>=0.100; extra == "dependencies"
29
+ Requires-Dist: uvicorn>=0.20; extra == "dependencies"
30
+ Requires-Dist: boto3>=1.26; extra == "dependencies"
31
+ Requires-Dist: botocore>=1.29; extra == "dependencies"
32
+ Requires-Dist: networkx>=2.6; extra == "dependencies"
33
+ Requires-Dist: pydantic>=2.0; extra == "dependencies"
34
+ Requires-Dist: click>=8.0; extra == "dependencies"
34
35
 
35
36
  # Cloudwire
36
37
 
@@ -0,0 +1,13 @@
1
+
2
+ [dependencies]
3
+ fastapi>=0.100
4
+ uvicorn>=0.20
5
+ boto3>=1.26
6
+ botocore>=1.29
7
+ networkx>=2.6
8
+ pydantic>=2.0
9
+ click>=8.0
10
+
11
+ [dev]
12
+ twine
13
+ build
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cloudwire"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "Scan and visualize your AWS infrastructure as an interactive graph"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -21,6 +21,7 @@ classifiers = [
21
21
  "Programming Language :: Python :: 3.10",
22
22
  "Programming Language :: Python :: 3.11",
23
23
  "Programming Language :: Python :: 3.12",
24
+ "Programming Language :: Python :: 3.13",
24
25
  "Topic :: Internet :: WWW/HTTP",
25
26
  "Topic :: System :: Systems Administration",
26
27
  ]
@@ -28,13 +29,13 @@ classifiers = [
28
29
  dev = ["twine", "build"]
29
30
 
30
31
  dependencies = [
31
- "fastapi>=0.115",
32
- "uvicorn[standard]>=0.34",
33
- "boto3>=1.37",
34
- "botocore>=1.37",
35
- "networkx>=3.4",
36
- "pydantic>=2.11",
37
- "click>=8.1",
32
+ "fastapi>=0.100",
33
+ "uvicorn>=0.20",
34
+ "boto3>=1.26",
35
+ "botocore>=1.29",
36
+ "networkx>=2.6",
37
+ "pydantic>=2.0",
38
+ "click>=8.0",
38
39
  ]
39
40
 
40
41
  [project.scripts]
@@ -1,13 +0,0 @@
1
-
2
- [dependencies]
3
- fastapi>=0.115
4
- uvicorn[standard]>=0.34
5
- boto3>=1.37
6
- botocore>=1.37
7
- networkx>=3.4
8
- pydantic>=2.11
9
- click>=8.1
10
-
11
- [dev]
12
- twine
13
- build
File without changes
File without changes