banto 5.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 (116) hide show
  1. banto-5.2.2/LICENSE +93 -0
  2. banto-5.2.2/PKG-INFO +713 -0
  3. banto-5.2.2/README.md +685 -0
  4. banto-5.2.2/banto/__init__.py +33 -0
  5. banto-5.2.2/banto/__main__.py +560 -0
  6. banto-5.2.2/banto/backend.py +45 -0
  7. banto-5.2.2/banto/broker.py +314 -0
  8. banto-5.2.2/banto/broker_cli.py +40 -0
  9. banto-5.2.2/banto/broker_client.py +69 -0
  10. banto-5.2.2/banto/broker_mcp.py +54 -0
  11. banto-5.2.2/banto/broker_setup.py +121 -0
  12. banto-5.2.2/banto/chatgpt.py +186 -0
  13. banto-5.2.2/banto/config.json +43 -0
  14. banto-5.2.2/banto/ecdsa_p256.py +127 -0
  15. banto-5.2.2/banto/guard.py +887 -0
  16. banto-5.2.2/banto/keychain.py +260 -0
  17. banto-5.2.2/banto/kimaru_evaluation.py +366 -0
  18. banto-5.2.2/banto/kimaru_material.py +278 -0
  19. banto-5.2.2/banto/lease.py +292 -0
  20. banto-5.2.2/banto/lease_cli.py +150 -0
  21. banto-5.2.2/banto/mcp_server.py +764 -0
  22. banto-5.2.2/banto/pricing.json +75 -0
  23. banto-5.2.2/banto/profiles.py +147 -0
  24. banto-5.2.2/banto/register_popup.py +1383 -0
  25. banto-5.2.2/banto/rotation_capabilities.json +361 -0
  26. banto-5.2.2/banto/sealed_cli.py +70 -0
  27. banto-5.2.2/banto/sealed_signer.py +468 -0
  28. banto-5.2.2/banto/sync/__init__.py +13 -0
  29. banto-5.2.2/banto/sync/audit.py +46 -0
  30. banto-5.2.2/banto/sync/browser_batch.py +320 -0
  31. banto-5.2.2/banto/sync/browser_issuer.py +831 -0
  32. banto-5.2.2/banto/sync/browser_recorder.py +472 -0
  33. banto-5.2.2/banto/sync/capabilities.py +173 -0
  34. banto-5.2.2/banto/sync/cli.py +4076 -0
  35. banto-5.2.2/banto/sync/cloudflare_token_rotator.py +397 -0
  36. banto-5.2.2/banto/sync/config.py +247 -0
  37. banto-5.2.2/banto/sync/drivers/__init__.py +97 -0
  38. banto-5.2.2/banto/sync/drivers/alibaba.py +114 -0
  39. banto-5.2.2/banto/sync/drivers/aws_sm.py +113 -0
  40. banto-5.2.2/banto/sync/drivers/aws_ssm.py +96 -0
  41. banto-5.2.2/banto/sync/drivers/azure.py +81 -0
  42. banto-5.2.2/banto/sync/drivers/azure_devops.py +100 -0
  43. banto-5.2.2/banto/sync/drivers/base.py +29 -0
  44. banto-5.2.2/banto/sync/drivers/bitbucket.py +132 -0
  45. banto-5.2.2/banto/sync/drivers/circleci.py +99 -0
  46. banto-5.2.2/banto/sync/drivers/cloudflare.py +61 -0
  47. banto-5.2.2/banto/sync/drivers/deno.py +73 -0
  48. banto-5.2.2/banto/sync/drivers/digitalocean.py +75 -0
  49. banto-5.2.2/banto/sync/drivers/docker.py +66 -0
  50. banto-5.2.2/banto/sync/drivers/flyio.py +66 -0
  51. banto-5.2.2/banto/sync/drivers/gcp.py +81 -0
  52. banto-5.2.2/banto/sync/drivers/github.py +57 -0
  53. banto-5.2.2/banto/sync/drivers/gitlab.py +84 -0
  54. banto-5.2.2/banto/sync/drivers/hasura.py +127 -0
  55. banto-5.2.2/banto/sync/drivers/heroku.py +61 -0
  56. banto-5.2.2/banto/sync/drivers/huawei.py +109 -0
  57. banto-5.2.2/banto/sync/drivers/jdcloud.py +95 -0
  58. banto-5.2.2/banto/sync/drivers/kubernetes.py +105 -0
  59. banto-5.2.2/banto/sync/drivers/laravel_forge.py +141 -0
  60. banto-5.2.2/banto/sync/drivers/local.py +130 -0
  61. banto-5.2.2/banto/sync/drivers/naver.py +106 -0
  62. banto-5.2.2/banto/sync/drivers/netlify.py +68 -0
  63. banto-5.2.2/banto/sync/drivers/nhn.py +122 -0
  64. banto-5.2.2/banto/sync/drivers/railway.py +72 -0
  65. banto-5.2.2/banto/sync/drivers/render.py +172 -0
  66. banto-5.2.2/banto/sync/drivers/sakura.py +117 -0
  67. banto-5.2.2/banto/sync/drivers/supabase.py +76 -0
  68. banto-5.2.2/banto/sync/drivers/tencent.py +109 -0
  69. banto-5.2.2/banto/sync/drivers/terraform.py +137 -0
  70. banto-5.2.2/banto/sync/drivers/vercel.py +164 -0
  71. banto-5.2.2/banto/sync/drivers/volcengine.py +97 -0
  72. banto-5.2.2/banto/sync/google_rotator.py +637 -0
  73. banto-5.2.2/banto/sync/history.py +208 -0
  74. banto-5.2.2/banto/sync/incident_report.py +159 -0
  75. banto-5.2.2/banto/sync/notifiers/__init__.py +34 -0
  76. banto-5.2.2/banto/sync/notifiers/base.py +43 -0
  77. banto-5.2.2/banto/sync/notifiers/datadog.py +66 -0
  78. banto-5.2.2/banto/sync/notifiers/pagerduty.py +73 -0
  79. banto-5.2.2/banto/sync/notifiers/slack.py +57 -0
  80. banto-5.2.2/banto/sync/notifiers/teams.py +59 -0
  81. banto-5.2.2/banto/sync/openai_rotator.py +526 -0
  82. banto-5.2.2/banto/sync/propagation.py +269 -0
  83. banto-5.2.2/banto/sync/setup.py +239 -0
  84. banto-5.2.2/banto/sync/smoke_presets.py +153 -0
  85. banto-5.2.2/banto/sync/stripe_webhook_rotator.py +516 -0
  86. banto-5.2.2/banto/sync/sync.py +277 -0
  87. banto-5.2.2/banto/sync/sync_state.py +116 -0
  88. banto-5.2.2/banto/sync/validate.py +337 -0
  89. banto-5.2.2/banto/sync/vercel_inventory.py +185 -0
  90. banto-5.2.2/banto/sync/web.py +1881 -0
  91. banto-5.2.2/banto/sync/x_oauth_pkce.py +294 -0
  92. banto-5.2.2/banto/sync/x_oauth_rotator.py +284 -0
  93. banto-5.2.2/banto/sync/xai_rotator.py +542 -0
  94. banto-5.2.2/banto/vault.py +364 -0
  95. banto-5.2.2/banto/widgets.py +566 -0
  96. banto-5.2.2/banto.egg-info/PKG-INFO +713 -0
  97. banto-5.2.2/banto.egg-info/SOURCES.txt +114 -0
  98. banto-5.2.2/banto.egg-info/dependency_links.txt +1 -0
  99. banto-5.2.2/banto.egg-info/entry_points.txt +3 -0
  100. banto-5.2.2/banto.egg-info/requires.txt +6 -0
  101. banto-5.2.2/banto.egg-info/top_level.txt +1 -0
  102. banto-5.2.2/pyproject.toml +43 -0
  103. banto-5.2.2/setup.cfg +4 -0
  104. banto-5.2.2/tests/test_broker.py +221 -0
  105. banto-5.2.2/tests/test_broker_setup.py +55 -0
  106. banto-5.2.2/tests/test_ecdsa_p256.py +85 -0
  107. banto-5.2.2/tests/test_hold_timeout.py +453 -0
  108. banto-5.2.2/tests/test_host_validation.py +45 -0
  109. banto-5.2.2/tests/test_keychain_account.py +38 -0
  110. banto-5.2.2/tests/test_kimaru_evaluation.py +293 -0
  111. banto-5.2.2/tests/test_kimaru_material.py +176 -0
  112. banto-5.2.2/tests/test_lease.py +267 -0
  113. banto-5.2.2/tests/test_model_profiles.py +435 -0
  114. banto-5.2.2/tests/test_recommend_profile.py +146 -0
  115. banto-5.2.2/tests/test_register_popup.py +112 -0
  116. banto-5.2.2/tests/test_sealed_signer.py +87 -0
banto-5.2.2/LICENSE ADDED
@@ -0,0 +1,93 @@
1
+ banto Dual License
2
+
3
+ Copyright (c) 2025-2026 AllNew LLC. All rights reserved.
4
+
5
+ This software is available under two licenses. Choose the one that
6
+ applies to your situation.
7
+
8
+
9
+ 1. PERSONAL LICENSE (free of charge)
10
+ =====================================
11
+
12
+ Permission is hereby granted, free of charge, to any individual person
13
+ (natural person) obtaining a copy of this software and associated
14
+ documentation files (the "Software"), to use, copy, modify, merge,
15
+ and redistribute the Software for personal, educational, research,
16
+ and evaluation purposes, subject to the following conditions:
17
+
18
+ (a) The above copyright notice and this permission notice shall be
19
+ included in all copies or substantial portions of the Software.
20
+
21
+ (b) This license applies to individuals acting in their own capacity.
22
+ Use on behalf of, or within the operations of, a company,
23
+ corporation, or other organization requires a Commercial License.
24
+
25
+ (c) Individuals may use the Software in freelance or contract work.
26
+ If the end client is an organization (company, corporation, or
27
+ other legal entity), the organization must hold a Commercial
28
+ License before deploying the Software. The freelancer is
29
+ responsible for informing the client of this requirement.
30
+
31
+ (d) Sole proprietors (個人事業主) using the Software for
32
+ revenue-generating business activities require a Commercial
33
+ License.
34
+
35
+
36
+ 2. COMMERCIAL LICENSE (paid)
37
+ ============================
38
+
39
+ Use of the Software by or on behalf of any company, corporation,
40
+ government entity, non-profit organization, or other legal entity
41
+ requires a separate Commercial License agreement with AllNew LLC.
42
+
43
+ Commercial use includes, but is not limited to:
44
+
45
+ - Integration into products or services
46
+ - Use within internal business operations or tools
47
+ - Deployment in production environments operated by an organization
48
+ - Distribution as part of a commercial offering
49
+
50
+ For licensing inquiries:
51
+ https://github.com/allnew-llc/banto/issues
52
+
53
+
54
+ DISCLAIMER
55
+ ==========
56
+
57
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
58
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
60
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
61
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
62
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
63
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
64
+
65
+
66
+ LIMITATION OF LIABILITY FOR BUDGET ENFORCEMENT
67
+ ===============================================
68
+
69
+ banto is a budget management aid, not a guarantee against excessive
70
+ API charges. The authors and copyright holders shall not be liable for
71
+ any direct, indirect, incidental, special, exemplary, or consequential
72
+ damages (including, but not limited to, unexpected API charges,
73
+ financial losses, or service interruptions) arising from:
74
+
75
+ (a) Inaccuracies in the bundled or user-configured pricing table,
76
+ including outdated or incorrect per-model rates;
77
+
78
+ (b) Budget overruns caused by software defects, configuration
79
+ errors, race conditions, or unforeseen usage patterns;
80
+
81
+ (c) Agents or processes that bypass banto's API and access API keys
82
+ or provider services through other means (e.g., direct Keychain
83
+ queries, environment variables, or alternate credential stores);
84
+
85
+ (d) Changes in provider pricing that are not reflected in the
86
+ user's configuration;
87
+
88
+ (e) Any other circumstances in which actual API charges exceed the
89
+ budget limits configured in banto.
90
+
91
+ Users are solely responsible for monitoring their actual API spend
92
+ through each provider's billing dashboard and for configuring banto's
93
+ pricing table to reflect current provider rates.