tokenjam 0.2.0__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.
- tokenjam/__init__.py +1 -0
- tokenjam/api/__init__.py +0 -0
- tokenjam/api/app.py +104 -0
- tokenjam/api/deps.py +18 -0
- tokenjam/api/middleware.py +28 -0
- tokenjam/api/routes/__init__.py +0 -0
- tokenjam/api/routes/agents.py +33 -0
- tokenjam/api/routes/alerts.py +77 -0
- tokenjam/api/routes/budget.py +96 -0
- tokenjam/api/routes/cost.py +43 -0
- tokenjam/api/routes/drift.py +63 -0
- tokenjam/api/routes/logs.py +511 -0
- tokenjam/api/routes/metrics.py +81 -0
- tokenjam/api/routes/otlp.py +63 -0
- tokenjam/api/routes/spans.py +202 -0
- tokenjam/api/routes/status.py +84 -0
- tokenjam/api/routes/tools.py +22 -0
- tokenjam/api/routes/traces.py +92 -0
- tokenjam/cli/__init__.py +0 -0
- tokenjam/cli/cmd_alerts.py +94 -0
- tokenjam/cli/cmd_budget.py +119 -0
- tokenjam/cli/cmd_cost.py +90 -0
- tokenjam/cli/cmd_demo.py +82 -0
- tokenjam/cli/cmd_doctor.py +173 -0
- tokenjam/cli/cmd_drift.py +238 -0
- tokenjam/cli/cmd_export.py +200 -0
- tokenjam/cli/cmd_mcp.py +78 -0
- tokenjam/cli/cmd_onboard.py +779 -0
- tokenjam/cli/cmd_serve.py +85 -0
- tokenjam/cli/cmd_status.py +153 -0
- tokenjam/cli/cmd_stop.py +87 -0
- tokenjam/cli/cmd_tools.py +45 -0
- tokenjam/cli/cmd_traces.py +161 -0
- tokenjam/cli/cmd_uninstall.py +159 -0
- tokenjam/cli/main.py +110 -0
- tokenjam/core/__init__.py +0 -0
- tokenjam/core/alerts.py +619 -0
- tokenjam/core/api_backend.py +235 -0
- tokenjam/core/config.py +360 -0
- tokenjam/core/cost.py +102 -0
- tokenjam/core/db.py +718 -0
- tokenjam/core/drift.py +256 -0
- tokenjam/core/ingest.py +265 -0
- tokenjam/core/models.py +225 -0
- tokenjam/core/pricing.py +54 -0
- tokenjam/core/retention.py +21 -0
- tokenjam/core/schema_validator.py +156 -0
- tokenjam/demo/__init__.py +0 -0
- tokenjam/demo/env.py +96 -0
- tokenjam/mcp/__init__.py +0 -0
- tokenjam/mcp/server.py +1067 -0
- tokenjam/otel/__init__.py +0 -0
- tokenjam/otel/exporters.py +26 -0
- tokenjam/otel/provider.py +207 -0
- tokenjam/otel/semconv.py +144 -0
- tokenjam/pricing/models.toml +70 -0
- tokenjam/py.typed +0 -0
- tokenjam/sdk/__init__.py +21 -0
- tokenjam/sdk/agent.py +206 -0
- tokenjam/sdk/bootstrap.py +120 -0
- tokenjam/sdk/http_exporter.py +109 -0
- tokenjam/sdk/integrations/__init__.py +0 -0
- tokenjam/sdk/integrations/anthropic.py +200 -0
- tokenjam/sdk/integrations/autogen.py +97 -0
- tokenjam/sdk/integrations/base.py +27 -0
- tokenjam/sdk/integrations/bedrock.py +103 -0
- tokenjam/sdk/integrations/crewai.py +96 -0
- tokenjam/sdk/integrations/gemini.py +131 -0
- tokenjam/sdk/integrations/langchain.py +156 -0
- tokenjam/sdk/integrations/langgraph.py +101 -0
- tokenjam/sdk/integrations/litellm.py +323 -0
- tokenjam/sdk/integrations/llamaindex.py +52 -0
- tokenjam/sdk/integrations/nemoclaw.py +139 -0
- tokenjam/sdk/integrations/openai.py +159 -0
- tokenjam/sdk/integrations/openai_agents_sdk.py +47 -0
- tokenjam/sdk/transport.py +98 -0
- tokenjam/ui/index.html +1213 -0
- tokenjam/utils/__init__.py +0 -0
- tokenjam/utils/formatting.py +43 -0
- tokenjam/utils/ids.py +15 -0
- tokenjam/utils/time_parse.py +54 -0
- tokenjam-0.2.0.dist-info/METADATA +622 -0
- tokenjam-0.2.0.dist-info/RECORD +86 -0
- tokenjam-0.2.0.dist-info/WHEEL +4 -0
- tokenjam-0.2.0.dist-info/entry_points.txt +2 -0
- tokenjam-0.2.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
tokenjam/__init__.py,sha256=XIaxbMbyiP-L3kguR1GhxirFblTXiHR1lMfDVITvHUI,22
|
|
2
|
+
tokenjam/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tokenjam/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tokenjam/api/app.py,sha256=ZxNyjuxlE9rBgoMOvFcRo061zi4KzdfDV6vqol7fUZg,3602
|
|
5
|
+
tokenjam/api/deps.py,sha256=N8XNpbMOkamIe2bjtPaNOLNmb6CZcrAaIoak0cVmcxc,606
|
|
6
|
+
tokenjam/api/middleware.py,sha256=35AX5HqZBHtrmvS7q5Vlh4WcWly4pdS1wTcmpkpI5Lw,1169
|
|
7
|
+
tokenjam/api/routes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
|
+
tokenjam/api/routes/agents.py,sha256=8Ba78GBgetyETKHlGkjHsW8UMpjcxPJzNEQb-DwUFrI,1076
|
|
9
|
+
tokenjam/api/routes/alerts.py,sha256=xL23QMN1_DYVATK66xJFvACnHNxmDhBf0wGjHOJLMIk,2546
|
|
10
|
+
tokenjam/api/routes/budget.py,sha256=_8LWA2CyDZkEEdJT37YFI4yLFaQ_b7AqctISl8YIZn8,3104
|
|
11
|
+
tokenjam/api/routes/cost.py,sha256=no4i_A9u2eY9ybCLTLDz8AtOg2xUyJzzogr8XOGyM9s,1218
|
|
12
|
+
tokenjam/api/routes/drift.py,sha256=XxKC3qsrMRvXq64QYJ7eXW1J_xFNWksjA90oehXvJWA,2281
|
|
13
|
+
tokenjam/api/routes/logs.py,sha256=5lGTz6iZTsdKInicmOs0TKkeLaN2Xxb0sf_v33MVPv0,18632
|
|
14
|
+
tokenjam/api/routes/metrics.py,sha256=cHTo0s4JVNu529AmfVKgFo3fj3ayjk9xARiYqJmKJdE,3575
|
|
15
|
+
tokenjam/api/routes/otlp.py,sha256=GkS7lrg_oKtILUpF1iQruDqX_UqE12VYygc39wx4fdc,2194
|
|
16
|
+
tokenjam/api/routes/spans.py,sha256=Eq9LHnj44MTbJSiTd8IU-gDvMHJIoxQWOWyPQRCx1Ck,7167
|
|
17
|
+
tokenjam/api/routes/status.py,sha256=xldlxkKjQSZ5xRum5gP8AyQ-OhHA5M5dapmS9WvrxVk,3056
|
|
18
|
+
tokenjam/api/routes/tools.py,sha256=l8egzSgV46gFpwVq9nvl0HTbgB77iCk4AUK8jcLMM10,676
|
|
19
|
+
tokenjam/api/routes/traces.py,sha256=jOpfZeYsaU-VsuEtCLgwGWyKMpGsRLNsuzSOXbUTidA,2916
|
|
20
|
+
tokenjam/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
|
+
tokenjam/cli/cmd_alerts.py,sha256=EMXLvibwFo3KZ6FN2YLCv5pyWJCzXHUEoALgazN4mMA,3138
|
|
22
|
+
tokenjam/cli/cmd_budget.py,sha256=ab4tIvpk-CV0om2AwjrtiGGMjPGJHOex4yy9bvwkkRo,3962
|
|
23
|
+
tokenjam/cli/cmd_cost.py,sha256=G0ElDonlLAjOfh53N4-zpToSan0HNHGg4s0Rq63Ai_Q,3242
|
|
24
|
+
tokenjam/cli/cmd_demo.py,sha256=wGmRr_oCq8Pc6925RkyN_ex5PJ_yCXWSm1jJncU0kMU,2795
|
|
25
|
+
tokenjam/cli/cmd_doctor.py,sha256=lmWJbpuZnpMT1tvC70YMAEECq_WRdfiXbjCFp_WrIRU,6132
|
|
26
|
+
tokenjam/cli/cmd_drift.py,sha256=2kcsCFUS05VLA5sCPtBqZEBCLyobDZ2tLXzc-G3dJ-Y,8691
|
|
27
|
+
tokenjam/cli/cmd_export.py,sha256=IBpuokqjlG7dnT5dzcFWM5zoPOe2LMwHRknq53kcXxY,7099
|
|
28
|
+
tokenjam/cli/cmd_mcp.py,sha256=BXmO4mdTMAyLk9Vjey46B0fUguuhSmSw5WuRtya9afc,2574
|
|
29
|
+
tokenjam/cli/cmd_onboard.py,sha256=2qL1iRt9lrlDz8CrBoL1OeA5wkNzDDxxWpbHbSufC74,29636
|
|
30
|
+
tokenjam/cli/cmd_serve.py,sha256=SiVEDacd2Czqts3CgixGecuEpye3E4wQyQjKUpT68qA,3158
|
|
31
|
+
tokenjam/cli/cmd_status.py,sha256=7iXXxNqmY1O4OoG1KxrfezTlOTk1FJatc6mIRxH6Cqs,5640
|
|
32
|
+
tokenjam/cli/cmd_stop.py,sha256=LrdYd9z5i3mjnXA4Rkr2ItUuzCa7prMwmLoeRs-QtWg,3095
|
|
33
|
+
tokenjam/cli/cmd_tools.py,sha256=qh1besuuNskwxQRiPU6A1BSgaF5QBRt7dbGVlIqTafs,1448
|
|
34
|
+
tokenjam/cli/cmd_traces.py,sha256=u8NeQ81YDoWLBu-1bBWVTomx_U_e6A6bP-LNt11TCmw,5855
|
|
35
|
+
tokenjam/cli/cmd_uninstall.py,sha256=C33e9sqhR3L3auouE2Inj-uVopXeHwSiBK2dtIxN2Zs,5866
|
|
36
|
+
tokenjam/cli/main.py,sha256=5sosexI81diOdxySce9lC6eGQwiZ9kxNy7__O8hfEds,4363
|
|
37
|
+
tokenjam/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
|
+
tokenjam/core/alerts.py,sha256=JTn9MlaWPprWz1Mesd5vd9dqmXlwl0oqtPPjFQVlOjQ,25387
|
|
39
|
+
tokenjam/core/api_backend.py,sha256=R55jZ-MFEPOb5-2Aap-MSjrbDzlKnOzhT03se7IQzNs,8721
|
|
40
|
+
tokenjam/core/config.py,sha256=cHsi_yWON1zGoiyvw1afGDd0MAR2KB1jeDGDnhMhJ2o,11328
|
|
41
|
+
tokenjam/core/cost.py,sha256=uQMYaJLrZU8zUxObCLqK5Su0Jmv4acWalGJOLoCinBg,3560
|
|
42
|
+
tokenjam/core/db.py,sha256=Ntp0g9KDQCdZBYKkbOZvxxGDRWVG6giDXfEhEpO4Ez0,27904
|
|
43
|
+
tokenjam/core/drift.py,sha256=J7bW0kGga9wmcgIolZbOMF6QkdkSs-iAbuGAKRqZWXA,9058
|
|
44
|
+
tokenjam/core/ingest.py,sha256=QsTeTdAuankdrGSsv9MLQQ__ZUGfEOewqj8jQIqdkqU,10381
|
|
45
|
+
tokenjam/core/models.py,sha256=S-v8GLNfjxRMY4iYfCzLG6km7O6KzhwHxd7iz_VHi1g,6417
|
|
46
|
+
tokenjam/core/pricing.py,sha256=FdtvYquXHB0uwYSYHN5EqD6XHTLDO-vhTC26P91Nicg,1846
|
|
47
|
+
tokenjam/core/retention.py,sha256=kOVXimALTJFEsV8w9pyL52yw5CEgi9xxU5UYqcAFYnE,694
|
|
48
|
+
tokenjam/core/schema_validator.py,sha256=465pQcV8Q3mqqvTtRevddb-1EOfcb2yV6yMtpu1XzJ8,5691
|
|
49
|
+
tokenjam/demo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
50
|
+
tokenjam/demo/env.py,sha256=Ly8HyUI7xcOJvjxnQypAyRjk5oA0vo4vTlxSPkSWKxQ,3100
|
|
51
|
+
tokenjam/mcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
52
|
+
tokenjam/mcp/server.py,sha256=RMUNZ5fdpyBLchK25VCwYCJhDY-rO0K3MqxACOTXXA4,39069
|
|
53
|
+
tokenjam/otel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
54
|
+
tokenjam/otel/exporters.py,sha256=_Mkrmlyh1Fh5oisOGw8yfY3tScr-_nusSgDcb1789RI,715
|
|
55
|
+
tokenjam/otel/provider.py,sha256=ihdrl2PHl98-GMBGQuUxRUppfx9NlmaVp5f0ReLOb8k,7356
|
|
56
|
+
tokenjam/otel/semconv.py,sha256=weIC6VrIBuZa8cJn7nGSQOk-eOluGSZqE9v-sr82QDs,4805
|
|
57
|
+
tokenjam/pricing/models.toml,sha256=9MkDi3ciyKLfBUrDj-WthyajltzMJ80-2LNaHOY1Yeo,1471
|
|
58
|
+
tokenjam/sdk/__init__.py,sha256=mSt_c-RNo2NKcBQGCC39FrEcYW6lCW5Ka6li8bCqbcE,1152
|
|
59
|
+
tokenjam/sdk/agent.py,sha256=zfXsw5bxGhyyyJgEC4HiU-pwfm7zi9ZTH7wG9gPS-0M,7311
|
|
60
|
+
tokenjam/sdk/bootstrap.py,sha256=yeypEHncT0j-MOSRxG00wMUwuJj4_H_2dFCdCo0QSXI,3869
|
|
61
|
+
tokenjam/sdk/http_exporter.py,sha256=mHuZigRHuaON44OPt12XArShF9qQH0vCp4DJajwhhzI,3666
|
|
62
|
+
tokenjam/sdk/transport.py,sha256=j_4Qsuqcmq7DkoGiW8xyvQVaauPGHxxd1IP375nNI6g,3167
|
|
63
|
+
tokenjam/sdk/integrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
64
|
+
tokenjam/sdk/integrations/anthropic.py,sha256=4VmwMthgdEPEuut9RbYORIohJGzmaWDvnc2_M_02NpQ,8088
|
|
65
|
+
tokenjam/sdk/integrations/autogen.py,sha256=2YdGbHGTerezMC0QG-z6t3ZkD1aNn_p6lyWJOKHMhtc,3498
|
|
66
|
+
tokenjam/sdk/integrations/base.py,sha256=V3fvv9TNbZx586S6wSQwE2mJjhFQgUk_vGF8okdjCzU,813
|
|
67
|
+
tokenjam/sdk/integrations/bedrock.py,sha256=Xl-s78faipkqztTWp05NQ1yHIrhNqPUIk2NP02PwCms,3529
|
|
68
|
+
tokenjam/sdk/integrations/crewai.py,sha256=siv0fkxouyPS_uoXjbXw6DxOOAS21dTsR5Nljp1tAE8,3351
|
|
69
|
+
tokenjam/sdk/integrations/gemini.py,sha256=i3wDKi9vNAw2j2bqCggWkLa1P7ylZqsclL3eALB3pgQ,4902
|
|
70
|
+
tokenjam/sdk/integrations/langchain.py,sha256=YcFbLfIjxrQ0xRqlTA8hv99ECsN3pp8ptFUTaKvvvfc,6295
|
|
71
|
+
tokenjam/sdk/integrations/langgraph.py,sha256=6JvLcy75SphnfWQh5LmCTANknzC5uPmFVlE3WMRs6eY,3581
|
|
72
|
+
tokenjam/sdk/integrations/litellm.py,sha256=86R3vIwvXjciukTnpg12ZpjAj3onoom4jhxw30FXjV0,11826
|
|
73
|
+
tokenjam/sdk/integrations/llamaindex.py,sha256=awErB2rRkL3Y04jIbz3luUnTu_tzWxI707yExW14x2k,1852
|
|
74
|
+
tokenjam/sdk/integrations/nemoclaw.py,sha256=bCU5m7QZUgsxgqB7psgvNfLOBiULqmAPGfLnkXTnl-w,4911
|
|
75
|
+
tokenjam/sdk/integrations/openai.py,sha256=V5cDimXNDPtqHgXhVchYAzk9x9UrK19fPpCNP66mXRg,5638
|
|
76
|
+
tokenjam/sdk/integrations/openai_agents_sdk.py,sha256=KJaXxMhRrQ9qnROIAvvrtzK072aYNQOrt4Qzw1cqAJE,1532
|
|
77
|
+
tokenjam/ui/index.html,sha256=KT1hHbCctLhX5Sv2IZ03aWxPG3ZgCQw1Hb4gwa6CiVI,45474
|
|
78
|
+
tokenjam/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
79
|
+
tokenjam/utils/formatting.py,sha256=KLYcZ_h6EhQyFxoLh_ondRl5X2LWkE4lGGgfwy9BTVU,1028
|
|
80
|
+
tokenjam/utils/ids.py,sha256=jaPm3lgYUg8McUrvCNBLhwPy1PLNDMcDdEybiKvBMDM,297
|
|
81
|
+
tokenjam/utils/time_parse.py,sha256=6kOdokbG5eU7iZK9YtxhEw5qoWcnwvZnp2DklKJdXJI,1565
|
|
82
|
+
tokenjam-0.2.0.dist-info/METADATA,sha256=hpaNDmQzhwG8ywMIfjLK8gHNVPAM8aA_jloWkhz6tio,22008
|
|
83
|
+
tokenjam-0.2.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
84
|
+
tokenjam-0.2.0.dist-info/entry_points.txt,sha256=3Ha7LkzgSXcnjGjbKigb_pNl08YgVJIAss_IZKEAD_Y,45
|
|
85
|
+
tokenjam-0.2.0.dist-info/licenses/LICENSE,sha256=gk_H_qDFMZU1-IkC_yS6jPRz0Q8YM5JOFsxoIzN13Ns,1073
|
|
86
|
+
tokenjam-0.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Metabuilder Labs
|
|
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.
|