graphspy 1.6.1__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.
Files changed (35) hide show
  1. graphspy/__init__.py +17 -0
  2. graphspy/__main__.py +9 -0
  3. graphspy/cli.py +2835 -0
  4. graphspy/static/css/style.css +95 -0
  5. graphspy/static/js/functions.js +1222 -0
  6. graphspy/static/js/purify.min.js +3 -0
  7. graphspy/static/js/theme.js +74 -0
  8. graphspy/templates/OneDrive.html +235 -0
  9. graphspy/templates/SharePoint.html +253 -0
  10. graphspy/templates/SharePointDrives.html +139 -0
  11. graphspy/templates/SharePointSites.html +144 -0
  12. graphspy/templates/access_token_modal.html +152 -0
  13. graphspy/templates/access_tokens.html +384 -0
  14. graphspy/templates/custom_requests.html +450 -0
  15. graphspy/templates/device_certificates.html +351 -0
  16. graphspy/templates/device_codes.html +339 -0
  17. graphspy/templates/entra_users.html +286 -0
  18. graphspy/templates/generic_search.html +183 -0
  19. graphspy/templates/index.html +32 -0
  20. graphspy/templates/layout.html +352 -0
  21. graphspy/templates/mfa.html +842 -0
  22. graphspy/templates/outlook.html +41 -0
  23. graphspy/templates/outlook_graph.html +1430 -0
  24. graphspy/templates/primary_refresh_tokens.html +366 -0
  25. graphspy/templates/recent_files.html +145 -0
  26. graphspy/templates/refresh_token_modal.html +122 -0
  27. graphspy/templates/refresh_tokens.html +184 -0
  28. graphspy/templates/settings.html +182 -0
  29. graphspy/templates/shared_with_me.html +145 -0
  30. graphspy/templates/teams.html +707 -0
  31. graphspy/templates/winhello_keys.html +319 -0
  32. graphspy-1.6.1.dist-info/METADATA +272 -0
  33. graphspy-1.6.1.dist-info/RECORD +35 -0
  34. graphspy-1.6.1.dist-info/WHEEL +4 -0
  35. graphspy-1.6.1.dist-info/entry_points.txt +3 -0
graphspy/__init__.py ADDED
@@ -0,0 +1,17 @@
1
+ from importlib.metadata import version, PackageNotFoundError
2
+ from pathlib import Path
3
+ import tomllib
4
+
5
+ try:
6
+ __version__ = version("graphspy")
7
+ except PackageNotFoundError:
8
+ # Fallback: read directly from pyproject.toml for development
9
+ try:
10
+ pyproject_path = Path(__file__).parent.parent.parent / "pyproject.toml"
11
+ with open(pyproject_path, "rb") as f:
12
+ pyproject_data = tomllib.load(f)
13
+ __version__ = pyproject_data["project"]["version"] + "-dev"
14
+ except (FileNotFoundError, KeyError):
15
+ __version__ = "unknown"
16
+
17
+ __all__ = ["__version__"]
graphspy/__main__.py ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env python3
2
+
3
+ import sys
4
+
5
+ # Local library imports
6
+ from . import cli
7
+
8
+ if __name__ == "__main__":
9
+ sys.exit(cli.main())