tokencost

View on PyPIReverse Dependencies (7)

0.1.17 tokencost-0.1.17-py3-none-any.whl

Wheel Details

Project: tokencost
Version: 0.1.17
Filename: tokencost-0.1.17-py3-none-any.whl
Download: [link]
Size: 31154
MD5: a5d9061db265dd422b4d85d623c9df67
SHA256: 3ebddb240c92185e7818b276748911e560ea0c985c68038d766f0a71bc906cdc
Uploaded: 2024-11-16 01:19:17 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: tokencost
Version: 0.1.17
Summary: To calculate token and translated USD cost of string and message calls to OpenAI, for example when used by AI agents
Author-Email: Trisha Pan <trishaepan[at]gmail.com>, Alex Reibman <areibman[at]gmail.com>
Project-Url: Homepage, https://github.com/AgentOps-AI/tokencost
Project-Url: Issues, https://github.com/AgentOps-AI/tokencost/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Requires-Dist: tiktoken (>=0.7.0)
Requires-Dist: aiohttp (>=3.9.3)
Requires-Dist: anthropic (>=0.34.0)
Requires-Dist: pytest (>=7.4.4); extra == "dev"
Requires-Dist: flake8 (>=3.1.0); extra == "dev"
Requires-Dist: coverage[toml] (>=7.4.0); extra == "dev"
Requires-Dist: tach (==0.6.9); extra == "dev"
Requires-Dist: tabulate (>=0.9.0); extra == "dev"
Requires-Dist: pandas (>=2.1.0); extra == "dev"
Requires-Dist: llama-index (>=0.10.23); extra == "llama-index"
Provides-Extra: dev
Provides-Extra: llama-index
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 131445 characters]

WHEEL

Wheel-Version: 1.0
Generator: setuptools (75.5.0)
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
tokencost/__init__.py sha256=_f7qu30-scl9cG7d3CBJWPVyHJhShwH3uEu0mbyecpk 273
tokencost/constants.py sha256=FQvTdn81E7EgOfo7atRXST6zDgqV12KcHTAbFQV1qgQ 2480
tokencost/costs.py sha256=i6Xogr7lxakLcyvmTaT8BZgf-VuEwTrfOu_kemEVzkA 10401
tokencost/model_prices.json sha256=DJIa5hWNPpx2UoV_n0W20IrFC4MYfYPeJ50CkfXB1C0 248163
tokencost/callbacks/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
tokencost/callbacks/llama_index.py sha256=0lkA3fLr7YlUbpQ1MxARCN334JHC9Nav9TO9wbVE4Ps 2796
tokencost-0.1.17.dist-info/LICENSE sha256=4PLv_CD6Ughnsvg_nM2XeTqGwVK6lQVR77kVWbPq-0U 1065
tokencost-0.1.17.dist-info/METADATA sha256=les3MyDH1zGWgsgm7cPCVywOd0pUQsn9zZr92-Fffnc 132568
tokencost-0.1.17.dist-info/WHEEL sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY 91
tokencost-0.1.17.dist-info/top_level.txt sha256=XCS36RAN0jvrOLZGYgfbF0JdepfItgvG1PJmLiNyjnY 10
tokencost-0.1.17.dist-info/RECORD

top_level.txt

tokencost