-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
44 lines (37 loc) · 1.24 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
[tool.poetry]
name = "count-tokens"
version = "0.7.2"
description = "Count number of tokens in the text file using toktoken tokenizer from OpenAI."
authors = ["Krystian Safjan <ksafjan@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [{include = "count_tokens"}]
keywords = ["count", "tokens", "toktoken", "openai", "tokenizer"]
homepage = "https://github.com/izikeros/count_tokens"
repository = "https://github.com/izikeros/count_tokens"
documentation = "https://github.com/izikeros/count_tokens"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
]
[tool.poetry.dependencies]
python = "^3.9"
tiktoken = "^0.4.0"
[tool.poetry.scripts]
count-tokens = 'count_tokens.count:main'
[tool.poetry.group.test.dependencies]
pytest = "^7.4.0"
[tool.poetry.group.dev.dependencies]
tox = "^4.6.3"
pre-commit = "^3.3.3"
pytest = "^7.4.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"