forked from sgciv2805/folder-tokenizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
48 lines (42 loc) · 975 Bytes
/
pyproject.toml
File metadata and controls
48 lines (42 loc) · 975 Bytes
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
48
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "folder-tokenizer"
version = "0.1.0"
description = "Analyze token counts for all documents in a folder using HuggingFace tokenizers"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "Sajal Garg", email = "sajalgargciv2805@gmail.com"}
]
dependencies = [
"transformers>=4.30.0",
"python-docx>=0.8.11",
"pypdf>=3.0.0",
"pytesseract>=0.3.10",
"Pillow>=9.0.0",
"chardet>=5.0.0",
"tqdm>=4.65.0",
]
[project.optional-dependencies]
ui = [
"streamlit>=1.28.0",
"pandas>=2.0.0",
]
dev = [
"pytest>=7.0.0",
"black>=23.0.0",
"ruff>=0.1.0",
]
[project.scripts]
folder-tokenizer = "folder_tokenizer.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.black]
line-length = 100
target-version = ["py39"]
[tool.ruff]
line-length = 100
select = ["E", "F", "I", "W"]