claudeshift-cli 0.1.0__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 (38) hide show
  1. claudeshift_cli-0.1.0/LICENSE +21 -0
  2. claudeshift_cli-0.1.0/PKG-INFO +38 -0
  3. claudeshift_cli-0.1.0/README.md +4 -0
  4. claudeshift_cli-0.1.0/pyproject.toml +76 -0
  5. claudeshift_cli-0.1.0/setup.cfg +4 -0
  6. claudeshift_cli-0.1.0/src/claudeshift/__init__.py +3 -0
  7. claudeshift_cli-0.1.0/src/claudeshift/cli.py +634 -0
  8. claudeshift_cli-0.1.0/src/claudeshift/config/__init__.py +0 -0
  9. claudeshift_cli-0.1.0/src/claudeshift/config/paths.py +73 -0
  10. claudeshift_cli-0.1.0/src/claudeshift/core/__init__.py +0 -0
  11. claudeshift_cli-0.1.0/src/claudeshift/core/inspector.py +113 -0
  12. claudeshift_cli-0.1.0/src/claudeshift/core/models.py +98 -0
  13. claudeshift_cli-0.1.0/src/claudeshift/core/vault.py +723 -0
  14. claudeshift_cli-0.1.0/src/claudeshift/licensing/__init__.py +0 -0
  15. claudeshift_cli-0.1.0/src/claudeshift/licensing/entitlements.py +60 -0
  16. claudeshift_cli-0.1.0/src/claudeshift/licensing/gumroad.py +291 -0
  17. claudeshift_cli-0.1.0/src/claudeshift/providers/__init__.py +0 -0
  18. claudeshift_cli-0.1.0/src/claudeshift/providers/base.py +136 -0
  19. claudeshift_cli-0.1.0/src/claudeshift/providers/plan_detector.py +249 -0
  20. claudeshift_cli-0.1.0/src/claudeshift/telemetry/__init__.py +0 -0
  21. claudeshift_cli-0.1.0/src/claudeshift/telemetry/analytics.py +200 -0
  22. claudeshift_cli-0.1.0/src/claudeshift/telemetry/dashboard.py +157 -0
  23. claudeshift_cli-0.1.0/src/claudeshift/telemetry/exporter.py +93 -0
  24. claudeshift_cli-0.1.0/src/claudeshift/telemetry/parser.py +400 -0
  25. claudeshift_cli-0.1.0/src/claudeshift/telemetry/pricing.py +362 -0
  26. claudeshift_cli-0.1.0/src/claudeshift_cli.egg-info/PKG-INFO +38 -0
  27. claudeshift_cli-0.1.0/src/claudeshift_cli.egg-info/SOURCES.txt +36 -0
  28. claudeshift_cli-0.1.0/src/claudeshift_cli.egg-info/dependency_links.txt +1 -0
  29. claudeshift_cli-0.1.0/src/claudeshift_cli.egg-info/entry_points.txt +3 -0
  30. claudeshift_cli-0.1.0/src/claudeshift_cli.egg-info/requires.txt +8 -0
  31. claudeshift_cli-0.1.0/src/claudeshift_cli.egg-info/top_level.txt +1 -0
  32. claudeshift_cli-0.1.0/tests/test_autodetect_and_pricing.py +183 -0
  33. claudeshift_cli-0.1.0/tests/test_licensing.py +145 -0
  34. claudeshift_cli-0.1.0/tests/test_redteam_audit.py +357 -0
  35. claudeshift_cli-0.1.0/tests/test_smoke.py +44 -0
  36. claudeshift_cli-0.1.0/tests/test_stress_and_hardening.py +385 -0
  37. claudeshift_cli-0.1.0/tests/test_telemetry.py +153 -0
  38. claudeshift_cli-0.1.0/tests/test_vault.py +123 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Mohamed Aboelmaged
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,38 @@
1
+ Metadata-Version: 2.4
2
+ Name: claudeshift-cli
3
+ Version: 0.1.0
4
+ Summary: Fast local-first profile switcher, MCP vault, and real-time quota radar for Claude Code, OpenAI Codex CLI, Gemini CLI, and Cursor.
5
+ Author: Mohamed Aboelmaged
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/mohamed2003-mgd/claudeshift-cli
8
+ Project-URL: Repository, https://github.com/mohamed2003-mgd/claudeshift-cli
9
+ Project-URL: Issues, https://github.com/mohamed2003-mgd/claudeshift-cli/issues
10
+ Keywords: claude,claude-code,codex,gemini-cli,cursor,mcp,cli,profile-switcher,quota-monitor,ai-tools
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Topic :: Software Development :: Build Tools
22
+ Classifier: Topic :: Utilities
23
+ Requires-Python: >=3.10
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ Requires-Dist: typer>=0.12.0
27
+ Requires-Dist: rich>=13.7.0
28
+ Provides-Extra: dev
29
+ Requires-Dist: pytest>=8.0.0; extra == "dev"
30
+ Requires-Dist: ruff>=0.6.0; extra == "dev"
31
+ Requires-Dist: build>=1.2.0; extra == "dev"
32
+ Requires-Dist: twine>=5.1.0; extra == "dev"
33
+ Dynamic: license-file
34
+
35
+ # claudeshift
36
+
37
+ Local-first profile switcher, MCP vault, and usage monitor for AI CLIs.
38
+ **[Get claudeshift-cli Pro ($19 One-Time) on Gumroad →](https://mgm15.gumroad.com/l/claudeshift-cli)**
@@ -0,0 +1,4 @@
1
+ # claudeshift
2
+
3
+ Local-first profile switcher, MCP vault, and usage monitor for AI CLIs.
4
+ **[Get claudeshift-cli Pro ($19 One-Time) on Gumroad →](https://mgm15.gumroad.com/l/claudeshift-cli)**
@@ -0,0 +1,76 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "claudeshift-cli"
7
+ version = "0.1.0"
8
+ description = "Fast local-first profile switcher, MCP vault, and real-time quota radar for Claude Code, OpenAI Codex CLI, Gemini CLI, and Cursor."
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = { text = "MIT" }
12
+ authors = [
13
+ { name = "Mohamed Aboelmaged" },
14
+ ]
15
+ keywords = [
16
+ "claude",
17
+ "claude-code",
18
+ "codex",
19
+ "gemini-cli",
20
+ "cursor",
21
+ "mcp",
22
+ "cli",
23
+ "profile-switcher",
24
+ "quota-monitor",
25
+ "ai-tools",
26
+ ]
27
+ classifiers = [
28
+ "Development Status :: 4 - Beta",
29
+ "Environment :: Console",
30
+ "Intended Audience :: Developers",
31
+ "License :: OSI Approved :: MIT License",
32
+ "Operating System :: OS Independent",
33
+ "Programming Language :: Python :: 3",
34
+ "Programming Language :: Python :: 3.10",
35
+ "Programming Language :: Python :: 3.11",
36
+ "Programming Language :: Python :: 3.12",
37
+ "Programming Language :: Python :: 3.13",
38
+ "Topic :: Software Development :: Build Tools",
39
+ "Topic :: Utilities",
40
+ ]
41
+ dependencies = [
42
+ "typer>=0.12.0",
43
+ "rich>=13.7.0",
44
+ ]
45
+
46
+ [project.optional-dependencies]
47
+ dev = [
48
+ "pytest>=8.0.0",
49
+ "ruff>=0.6.0",
50
+ "build>=1.2.0",
51
+ "twine>=5.1.0",
52
+ ]
53
+
54
+ [project.urls]
55
+ Homepage = "https://github.com/mohamed2003-mgd/claudeshift-cli"
56
+ Repository = "https://github.com/mohamed2003-mgd/claudeshift-cli"
57
+ Issues = "https://github.com/mohamed2003-mgd/claudeshift-cli/issues"
58
+
59
+ [project.scripts]
60
+ claudeshift = "claudeshift.cli:app"
61
+ claudeshift-cli = "claudeshift.cli:app"
62
+
63
+ [tool.setuptools.packages.find]
64
+ where = ["src"]
65
+
66
+ [tool.pytest.ini_options]
67
+ testpaths = ["tests"]
68
+ pythonpath = ["src"]
69
+
70
+ [tool.ruff]
71
+ line-length = 110
72
+ target-version = "py310"
73
+
74
+ [tool.ruff.lint]
75
+ select = ["E", "F", "I", "UP", "B", "SIM"]
76
+ ignore = ["B008", "E501"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,3 @@
1
+ """claudeshift: Profile vault and telemetry engine for AI CLIs."""
2
+
3
+ __version__ = "0.1.0"