Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (121 loc) · 3.5 KB
/
Copy pathpyproject.toml
File metadata and controls
132 lines (121 loc) · 3.5 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
129
130
131
132
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
# The PyPI distribution is "cleanframe-engine"; the import package stays "cleanframe".
name = "cleanframe-engine"
dynamic = ["version"]
description = "The reproducible data-cleaning engine for Python. AI writes the recipe once; the recipe runs forever — deterministic, diffable, reviewable."
readme = "README.md"
requires-python = ">=3.10"
license = "Apache-2.0"
license-files = ["LICENSE"]
authors = [{ name = "Praveen Kumar" }]
maintainers = [{ name = "Praveen Kumar" }]
keywords = [
"data-cleaning",
"pandas",
"data-quality",
"etl",
"reproducible",
"schema-drift",
"data-validation",
"csv",
"excel",
"llm",
"decision-models",
"mcp",
"ai-agents",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"pandas>=1.5,<4",
"numpy>=1.23",
"PyYAML>=6.0",
"Jinja2>=3.0",
"python-dateutil>=2.8",
]
[project.optional-dependencies]
excel = ["openpyxl>=3.0"]
parquet = ["pyarrow>=12.0"]
llm = ["anthropic>=0.30", "openai>=1.0"]
detect = ["charset-normalizer>=3"]
# The MCP server for AI agents (cleanframe-mcp). 2.x renamed FastMCP to MCPServer.
mcp = ["mcp>=2.3,<3"]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"hypothesis>=6.80",
"openpyxl>=3.0",
"ruff>=0.4",
"mypy>=1.8",
"types-PyYAML>=6.0",
"mcp>=2.3,<3",
]
all = [
"openpyxl>=3.0",
"pyarrow>=12.0",
"anthropic>=0.30",
"openai>=1.0",
"charset-normalizer>=3",
"mcp>=2.3,<3",
]
[project.scripts]
cleanframe = "cleanframe.cli:main"
cleanframe-mcp = "cleanframe.mcp_server:main"
[project.urls]
Homepage = "https://github.com/inboxpraveen/Cleanframe"
Repository = "https://github.com/inboxpraveen/Cleanframe"
Documentation = "https://github.com/inboxpraveen/Cleanframe/wiki"
Issues = "https://github.com/inboxpraveen/Cleanframe/issues"
Changelog = "https://github.com/inboxpraveen/Cleanframe/blob/main/CHANGELOG.md"
Playground = "https://inboxpraveen.github.io/Cleanframe/"
Funding = "https://github.com/sponsors/inboxpraveen"
[tool.hatch.version]
path = "cleanframe/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["cleanframe"]
# An allow-list, so an untracked file in the working tree can never ship in a release.
[tool.hatch.build.targets.sdist]
only-include = [
"cleanframe",
"tests",
"examples",
"docs",
"CHANGELOG.md",
"CONTRIBUTING.md",
"LICENSE",
"README.md",
"SECURITY.md",
"pyproject.toml",
]
exclude = ["docs/assets"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
filterwarnings = [
"error::DeprecationWarning:cleanframe.*",
]
[tool.mypy]
# No python_version pin: it also governs how dependency stubs are parsed, and
# numpy's stubs use syntax that only parses on 3.12+. Minimum-version support is
# covered by ruff's target-version and by the 3.10 test job.
ignore_missing_imports = true
files = ["cleanframe"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W", "UP", "B"]
ignore = ["E501", "UP038"] # UP038 kept for older ruff; newer ruff dropped the rule