bt-cli 0.4.8__py3-none-any.whl → 0.4.10__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.
- bt_cli/__init__.py +1 -1
- bt_cli/cli.py +5 -5
- {bt_cli-0.4.8.dist-info → bt_cli-0.4.10.dist-info}/METADATA +3 -2
- {bt_cli-0.4.8.dist-info → bt_cli-0.4.10.dist-info}/RECORD +6 -6
- {bt_cli-0.4.8.dist-info → bt_cli-0.4.10.dist-info}/WHEEL +0 -0
- {bt_cli-0.4.8.dist-info → bt_cli-0.4.10.dist-info}/entry_points.txt +0 -0
bt_cli/__init__.py
CHANGED
bt_cli/cli.py
CHANGED
|
@@ -552,9 +552,9 @@ def _get_skills_path() -> Optional[str]:
|
|
|
552
552
|
if bundle_path.exists():
|
|
553
553
|
return str(bundle_path)
|
|
554
554
|
|
|
555
|
-
# Try importlib.resources
|
|
555
|
+
# Try importlib.resources (files() works with directories in 3.9+)
|
|
556
556
|
try:
|
|
557
|
-
if sys.version_info >= (3,
|
|
557
|
+
if sys.version_info >= (3, 9):
|
|
558
558
|
from importlib.resources import files
|
|
559
559
|
data_path = files("bt_cli.data").joinpath("skills")
|
|
560
560
|
if data_path.is_dir():
|
|
@@ -564,7 +564,7 @@ def _get_skills_path() -> Optional[str]:
|
|
|
564
564
|
with path("bt_cli.data", "skills") as p:
|
|
565
565
|
if p.exists():
|
|
566
566
|
return str(p)
|
|
567
|
-
except (ImportError, ModuleNotFoundError, TypeError, FileNotFoundError):
|
|
567
|
+
except (ImportError, ModuleNotFoundError, TypeError, FileNotFoundError, IsADirectoryError):
|
|
568
568
|
pass
|
|
569
569
|
|
|
570
570
|
# Fall back to source directory
|
|
@@ -587,9 +587,9 @@ def _get_claude_md_path() -> Optional[str]:
|
|
|
587
587
|
if bundle_path.exists():
|
|
588
588
|
return str(bundle_path)
|
|
589
589
|
|
|
590
|
-
# Try importlib.resources
|
|
590
|
+
# Try importlib.resources (files() available in 3.9+)
|
|
591
591
|
try:
|
|
592
|
-
if sys.version_info >= (3,
|
|
592
|
+
if sys.version_info >= (3, 9):
|
|
593
593
|
from importlib.resources import files
|
|
594
594
|
data_path = files("bt_cli.data").joinpath("CLAUDE.md")
|
|
595
595
|
if data_path.is_file():
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bt-cli
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.10
|
|
4
4
|
Summary: BeyondTrust Platform CLI (unofficial) - Password Safe, Entitle, PRA, EPM
|
|
5
5
|
Author-email: Dave Grendysz <dgrendysz@beyondtrust.com>
|
|
6
6
|
License: MIT
|
|
@@ -12,12 +12,13 @@ Classifier: Intended Audience :: System Administrators
|
|
|
12
12
|
Classifier: License :: OSI Approved :: MIT License
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
14
14
|
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
15
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
19
|
Classifier: Topic :: Security
|
|
19
20
|
Classifier: Topic :: System :: Systems Administration
|
|
20
|
-
Requires-Python: >=3.
|
|
21
|
+
Requires-Python: >=3.9
|
|
21
22
|
Requires-Dist: httpx>=0.27.0
|
|
22
23
|
Requires-Dist: pydantic>=2.0.0
|
|
23
24
|
Requires-Dist: python-dotenv>=1.0.0
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
bt_cli/__init__.py,sha256=
|
|
2
|
-
bt_cli/cli.py,sha256
|
|
1
|
+
bt_cli/__init__.py,sha256=VQiTGsrt8ye0KF3EjSBgnSsb537n4C5GrxdhHQSX_DY,61
|
|
2
|
+
bt_cli/cli.py,sha256=-V7Q_DcP7Ryw-mRBLMyj-iwlFpof8_eLgFAx-fN5seM,29640
|
|
3
3
|
bt_cli/commands/__init__.py,sha256=Wrf3ZV1sf7JCilbv93VqoWWTyj0d-y4saAaVFD5apU8,38
|
|
4
4
|
bt_cli/commands/configure.py,sha256=f3tn09eRDqlGQIq1gpuxj984S4CARYbmKI4XrqxPAAM,14270
|
|
5
5
|
bt_cli/commands/learn.py,sha256=BHt4bTH3orQfR-eB9FMGPQZVfTrwakHNYi0QkHQLOy0,7228
|
|
@@ -115,7 +115,7 @@ bt_cli/pws/models/account.py,sha256=OSCMyULPOH1Yu2WOzK0ZQhSRrggGpb2JPHScwGLqUgI,
|
|
|
115
115
|
bt_cli/pws/models/asset.py,sha256=Fl0AlR4_9Yyyu36FL1eKF29DNsxsB-r7FaOBRlfOg2Q,4081
|
|
116
116
|
bt_cli/pws/models/common.py,sha256=D9Ah4ob5CIiFhTt_IR9nF2cBWRHS2z9OyBR2Sss5yzw,3487
|
|
117
117
|
bt_cli/pws/models/system.py,sha256=D_J0x1A92H2n6BsaBEK9PSAAcs3BTifA5-M9SQqQFGA,5856
|
|
118
|
-
bt_cli-0.4.
|
|
119
|
-
bt_cli-0.4.
|
|
120
|
-
bt_cli-0.4.
|
|
121
|
-
bt_cli-0.4.
|
|
118
|
+
bt_cli-0.4.10.dist-info/METADATA,sha256=d7dGfIL9m7mMEBif4lSFXHQudLyTXvKO99s6fnxqHpM,11803
|
|
119
|
+
bt_cli-0.4.10.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
120
|
+
bt_cli-0.4.10.dist-info/entry_points.txt,sha256=NCOEqTI-XKpJOux0JKKhbRElz0B7upayh_d99X5hoLs,38
|
|
121
|
+
bt_cli-0.4.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|