-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
128 lines (110 loc) · 3.18 KB
/
pyproject.toml
File metadata and controls
128 lines (110 loc) · 3.18 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ml_analysis_agent"
version = "0.1.0"
description = "A Reusable multi-agent ML analysis library powered by AWS Bedrock and Claude"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [
{name = "Dipika Dhara", email = "dipikad@mindfiresolutions.com"}
]
keywords = ["machine-learning", "ml", "ai", "agents", "aws", "bedrock", "claude", "analysis", "data-science"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"pandas>=2.0.0",
"numpy>=1.24.0",
"pyyaml>=6.0",
"boto3>=1.28.0",
"langchain>=0.3.0",
"langchain-aws>=0.2.0",
"langchain-core>=0.3.0",
"langgraph>=0.2.0",
"langgraph-supervisor",
"python-dotenv>=1.0.0",
"openpyxl>=3.1.0",
"xlrd>=2.0.0",
"pyarrow>=14.0.0",
]
[project.optional-dependencies]
ml = [
"scikit-learn>=1.3.0",
"xgboost>=2.0.0",
"matplotlib>=3.7.0",
"seaborn>=0.12.0",
]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"ruff>=0.1.3",
"mypy>=1.0.0",
]
[project.urls]
Homepage = "https://github.com/mindfiredigital/Smart-CodeGen-ML-Agent/"
Documentation = "https://github.com/mindfiredigital/Smart-CodeGen-ML-Agent/README.md"
Issues = "https://github.com/mindfiredigital/Smart-CodeGen-ML-Agent/issues"
[project.scripts]
ml-analysis = "ml_analysis_agent.cli:main"
[tool.setuptools]
packages = ["ml_analysis_agent"]
[tool.setuptools.package-data]
ml_analysis_agent = ["config/prompts.yaml"]
[tool.black]
line-length = 100
target-version = ['py39']
include = '\.pyi?$'
extend-exclude = '''(
# Exclude git directory
(\/|\\)\.git\/
# Exclude virtual environment
|\.venv\/
# Exclude __pycache__
|__pycache__
)'''
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.ruff]
# Enable pycodestyle (`E`), Pyflakes (`F`), and isort (`I`) codes by default.
select = ["E", "F", "I", "B", "C4", "UP", "N", "ANN", "S", "BLE", "A", "COM", "C4", "ICN", "G", "PIE", "T20"]
ignore = ["E501"] # Line too long (handled by black)
# Same as Black.
line-length = 100
indent-width = 4
# Assume Python 3.9
target-version = "py39"
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"] # Ignore unused imports in __init__.py files
[tool.ruff.isort]
known-first-party = ["ml_analysis_agent"]
lines-between-types = 1
combine-as-imports = true
[tool.ruff.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "single"
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false