tokenator 0.1.6__py3-none-any.whl → 0.1.7__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.
tokenator/__init__.py CHANGED
@@ -1,13 +1,14 @@
1
1
  """Tokenator - Track and analyze your OpenAI API token usage and costs."""
2
2
 
3
3
  import logging
4
- from .client_openai import OpenAIWrapper
4
+ from .client_openai import tokenator_openai
5
+ from .client_anthropic import tokenator_anthropic
5
6
  from . import usage
6
- from .utils import get_default_db_path, is_colab
7
+ from .utils import get_default_db_path
7
8
  from .migrations import check_and_run_migrations
8
9
 
9
10
  __version__ = "0.1.0"
10
- __all__ = ["OpenAIWrapper", "usage", "get_default_db_path", "is_colab"]
11
+ __all__ = ["tokenator_openai", "tokenator_anthropic", "usage", "get_default_db_path"]
11
12
 
12
13
  logger = logging.getLogger(__name__)
13
14
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tokenator
3
- Version: 0.1.6
3
+ Version: 0.1.7
4
4
  Summary: Token usage tracking wrapper for LLMs
5
5
  License: MIT
6
6
  Author: Ujjwal Maheshwari
@@ -1,4 +1,4 @@
1
- tokenator/__init__.py,sha256=Kd9pj2-EIaeTek17PCThIOEmyiV7Nf6PPeoDwKdxikM,519
1
+ tokenator/__init__.py,sha256=ZKe0zMGa_AqOeXUVgYqivUavht_byk03XNFEvAnxqsA,576
2
2
  tokenator/base_wrapper.py,sha256=vSu_pStKYulho7_5g0jMCNf84KRxC4kTKep0v8YE61M,2377
3
3
  tokenator/client_anthropic.py,sha256=1ejWIZBxtk-mWTVaKWeMUvS2hZ_Dn-vNKYa3yopdjAU,6714
4
4
  tokenator/client_openai.py,sha256=1xZuRA90kwlflTwEuFkXJHHN584XTeNh1CfEBMLELbQ,6308
@@ -11,7 +11,7 @@ tokenator/models.py,sha256=EprE_MMJxDS-YXlcIQLZzfekH7xTYbeOC3bx3B2osVw,1171
11
11
  tokenator/schemas.py,sha256=V7NYfY9eZvH3J6uOwXJz4dSAU6WYzINRnfFi1wWsTcc,2280
12
12
  tokenator/usage.py,sha256=aHjGwzDzaiVznahNk5HqVyk3IxDo5FtFVfOUCeE7DZ4,7833
13
13
  tokenator/utils.py,sha256=5mDiGHgt4koCY0onHwkRjwZIuAgP6QvrDZCwD20Sdk8,1969
14
- tokenator-0.1.6.dist-info/LICENSE,sha256=wdG-B6-ODk8RQ4jq5uXSn0w1UWTzCH_MMyvh7AwtGns,1074
15
- tokenator-0.1.6.dist-info/METADATA,sha256=NhA9J73Li63N-1CbboKzpPXAp8clES5BnbJ0zALjPx8,2444
16
- tokenator-0.1.6.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
17
- tokenator-0.1.6.dist-info/RECORD,,
14
+ tokenator-0.1.7.dist-info/LICENSE,sha256=wdG-B6-ODk8RQ4jq5uXSn0w1UWTzCH_MMyvh7AwtGns,1074
15
+ tokenator-0.1.7.dist-info/METADATA,sha256=PN1em20HuqojCsH7ZVhy9-ZdXAKhrdUYUx9ZLKWpfhI,2444
16
+ tokenator-0.1.7.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
17
+ tokenator-0.1.7.dist-info/RECORD,,