mirror of
https://github.com/AgentOps-AI/tokencost.git
synced 2024-06-22 04:30:40 +03:00
38 lines
946 B
TOML
38 lines
946 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "tokencost"
|
|
version = "0.0.2"
|
|
authors = [
|
|
{ name="Trisha Pan", email="trishaepan@gmail.com" },
|
|
{ name="Alex Reibman", email="areibman@gmail.com" },
|
|
]
|
|
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.5.2",
|
|
"pyyaml>=6.0.1"
|
|
]
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.4.4",
|
|
"flake8>=3.1.0",
|
|
"coverage[toml]>=7.4.0",
|
|
]
|
|
llama-index = [
|
|
"llama-index>=0.9.24"
|
|
]
|
|
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/AgentOps-AI/tokencost"
|
|
Issues = "https://github.com/AgentOps-AI/tokencost/issues"
|