-
Notifications
You must be signed in to change notification settings - Fork 60
/
pyproject.toml
47 lines (42 loc) · 1.13 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
tokencost = ["model_prices.json"]
[project]
name = "tokencost"
version = "0.1.17"
authors = [
{ name = "Trisha Pan", email = "[email protected]" },
{ name = "Alex Reibman", email = "[email protected]" },
]
description = "To calculate token and translated USD cost of string and message calls to OpenAI, for example when used by AI agents"
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"tiktoken>=0.7.0",
"aiohttp>=3.9.3",
"anthropic>=0.34.0"
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.4",
"flake8>=3.1.0",
"coverage[toml]>=7.4.0",
"tach==0.6.9",
"tabulate>=0.9.0",
"pandas>=2.1.0",
]
llama-index = [
"llama-index>=0.10.23"
]
[project.urls]
Homepage = "https://github.com/AgentOps-AI/tokencost"
Issues = "https://github.com/AgentOps-AI/tokencost/issues"