Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
135 lines (118 loc) · 3.03 KB
/
Copy pathpyproject.toml
File metadata and controls
135 lines (118 loc) · 3.03 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
133
134
135
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "jointfm-client"
version = "0.13.0"
description = "A Python SDK for the JointFM REST API"
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
authors = [
{ name = "Stefan Hackmann", email = "stefan.hackmann@datarobot.com" },
]
keywords = ["datarobot", "forecasting", "jointfm", "sdk"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"numpy>=2.0",
"orjson>=3.11",
"pydantic>=2.13.4",
"python-dotenv>=1.2.2",
"pyyaml>=6.0.3",
"requests>=2.33.1",
"tenacity>=9.0.0",
]
[project.urls]
Repository = "https://github.com/datarobot/joint-client-python"
[project.scripts]
jointfm-client = "jointfm_client.cli:main"
[project.optional-dependencies]
notebooks = [
"pandas>=3.0.2",
]
[dependency-groups]
dev = [
"commitizen>=3.31",
"ipykernel",
"pre-commit",
"ruff",
"debugpy",
"pytest",
"pytest-cov",
"pytest-xdist",
"types-pyyaml",
"ty",
"numexpr",
"nbstripout",
"pandas>=3.0.2",
]
[tool.uv]
required-version = ">=0.10"
exclude-newer = "14 days"
[tool.hatch.build.targets.wheel]
packages = ["src/jointfm_client"]
[tool.hatch.build.targets.sdist]
include = [
"/.env.sample",
"/LICENSE",
"/README.md",
"/config.sample.yaml",
"/docs/api-reference.md",
"/pyproject.toml",
"/src/jointfm_client",
]
[tool.pytest.ini_options]
pythonpath = ["scripts"]
[tool.ruff]
extend-exclude = ["private"]
[tool.ruff.lint]
preview = true
explicit-preview-rules = true
select = ["D100", "D101", "D102", "D103"]
[tool.ruff.lint.per-file-ignores]
"notebooks/**/tests/**" = ["D100", "D101", "D102", "D103"]
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.13.0"
version_scheme = "semver"
tag_format = "v$version"
update_changelog_on_bump = true
changelog_file = "CHANGELOG.md"
changelog_incremental = true
major_version_zero = true
pre_bump_hooks = [
"uv lock",
"git add uv.lock",
]
version_files = [
"pyproject.toml:^version",
"README.md:Current SDK package version",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ty]
environment.python-version = "3.11"
environment.extra-paths = ["scripts"]
[tool.ty.src]
exclude = ["build/", "dist/", "private/"]
[tool.ty.rules]
invalid-argument-type = "warn"
possibly-missing-attribute = "warn"
invalid-assignment = "warn"
unresolved-import = "ignore"
unresolved-attribute = "ignore"
unresolved-reference = "ignore"