-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (94 loc) · 3.7 KB
/
pyproject.toml
File metadata and controls
102 lines (94 loc) · 3.7 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# ============================================================================
# BUILD SYSTEM (Required for pip install)
# ============================================================================
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# ============================================================================
# PROJECT METADATA
# ============================================================================
[project]
name = "delean-batch-manager"
version = "0.1.0"
description = "A toolkit for managing OpenAI Batch API jobs to obtain Demand Level Annotations under ADeLe v1.0 framework — includes a Python API and CLI."
readme = "README.md"
license = {text = "Apache-2.0"}
authors = [
{name = "Alvaro David Gomez Anton"},
{name = "Kinds of Intelligence Team at CFI"}
]
maintainers = [
{name = "Alvaro David Gomez Anton", email = "alvarog.datasc@gmail.com"}
]
keywords = [
"openai",
"batch-processing",
"demand-level-annotation",
"DeLeAn", "ADeLe",
"nlp",
"machine-learning",
"artificial-intelligence",
"ai-evaluation",
"evaluation",
"explainability",
"cli"
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Linguistic",
]
requires-python = "~=3.11"
# ============================================================================
# CORE DEPENDENCIES
# ============================================================================
dependencies =[
"numpy==1.26.4", # Numerical operations
"click==8.1.8", # CLI framework
"openai==1.78.0", # OpenAI API client
"platformdirs==4.3.7", # Cross-platform directories
"polars==1.29.0", # Efficient data manipulation
"python-dotenv==1.1.0", # .env file support
"PyYAML==6.0.2", # YAML parsing (for registry)
"tenacity==9.1.2", # Retry logic for API calls
"tiktoken==0.9.0", # Token counting for OpenAI API
"tqdm==4.67.1", # Progress bars for long-running tasks
]
# ============================================================================
# CLI COMMAND
# ============================================================================
[project.scripts]
deleanbm = "delean_batch_manager.cli.__main__:main"
# ============================================================================
# PROJECT URLS
# ============================================================================
[project.urls]
Homepage = "https://github.com/adgomant/delean-batch-manager"
#Documentation = "https://delean-batch-manager.readthedocs.io"
Repository = "https://github.com/adgomant/delean-batch-manager.git"
"Bug Tracker" = "https://github.com/adgomant/delean-batch-manager/issues"
# ============================================================================
# BUILD CONFIGURATION (Hatchling)
# ============================================================================
[tool.hatch.build]
sources = ["src"]
[tool.hatchling.build.targets.wheel]
packages = ["delean_batch_manager"]
# Include important files in source distribution
[tool.hatchling.build.targets.sdist]
include = [
"/src",
"/rubrics", # Your rubrics folder
#"/examples", # Future examples
#"/notebooks", # Future Jupyter notebooks
#"/docs", # Future documentation
#"/tests", # Future tests
"README.md",
"LICENSE",
"requirements.txt",
]