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.
- graphspy/__init__.py +17 -0
- graphspy/__main__.py +9 -0
- graphspy/cli.py +2835 -0
- graphspy/static/css/style.css +95 -0
- graphspy/static/js/functions.js +1222 -0
- graphspy/static/js/purify.min.js +3 -0
- graphspy/static/js/theme.js +74 -0
- graphspy/templates/OneDrive.html +235 -0
- graphspy/templates/SharePoint.html +253 -0
- graphspy/templates/SharePointDrives.html +139 -0
- graphspy/templates/SharePointSites.html +144 -0
- graphspy/templates/access_token_modal.html +152 -0
- graphspy/templates/access_tokens.html +384 -0
- graphspy/templates/custom_requests.html +450 -0
- graphspy/templates/device_certificates.html +351 -0
- graphspy/templates/device_codes.html +339 -0
- graphspy/templates/entra_users.html +286 -0
- graphspy/templates/generic_search.html +183 -0
- graphspy/templates/index.html +32 -0
- graphspy/templates/layout.html +352 -0
- graphspy/templates/mfa.html +842 -0
- graphspy/templates/outlook.html +41 -0
- graphspy/templates/outlook_graph.html +1430 -0
- graphspy/templates/primary_refresh_tokens.html +366 -0
- graphspy/templates/recent_files.html +145 -0
- graphspy/templates/refresh_token_modal.html +122 -0
- graphspy/templates/refresh_tokens.html +184 -0
- graphspy/templates/settings.html +182 -0
- graphspy/templates/shared_with_me.html +145 -0
- graphspy/templates/teams.html +707 -0
- graphspy/templates/winhello_keys.html +319 -0
- graphspy-1.6.1.dist-info/METADATA +272 -0
- graphspy-1.6.1.dist-info/RECORD +35 -0
- graphspy-1.6.1.dist-info/WHEEL +4 -0
- 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__"]
|