-
Notifications
You must be signed in to change notification settings - Fork 333
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (124 loc) 路 2.91 KB
/
Copy pathpyproject.toml
File metadata and controls
132 lines (124 loc) 路 2.91 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 = ["uv_build>=0.7.19,<1.0.0"]
build-backend = "uv_build"
[project]
name = "nixtla"
version = "0.8.0"
description = "Python SDK for Nixtla API (TimeGPT)"
authors = [
{name = "Nixtla", email = "business@nixtla.io"}
]
license = {text = "Apache Software License 2.0"}
readme = "README.md"
requires-python = ">=3.10"
keywords = ["time-series", "forecasting", "gpt"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"annotated-types",
"httpx[zstd]",
"narwhals>=2.11.0",
"orjson",
"pandas<3.0.0",
"pydantic>=1.10",
"tenacity",
"tqdm",
"utilsforecast>=0.2.15",
]
[project.optional-dependencies]
dev = [
"datasetsforecast",
"fire",
"hierarchicalforecast",
"ipython<=8.32.0",
"ipywidgets",
"jupyterlab>=4.6.2",
"neuralforecast",
"numpy<2",
"plotly",
"polars",
"pre-commit",
"pyreadr<0.5.3",
"python-dotenv",
"pyyaml",
"ruff",
"statsforecast",
"tabulate",
"shap",
"pytest",
"pytest-cov",
"pytest-rerunfailures",
"pyarrow<24.0.0",
"mlforecast",
"lightgbm",
"utilsforecast[plotting]",
"holidays",
"pandas_market_calendars",
"pip-licenses",
"pyspark<=4.0.1",
]
distributed = [
"fugue[dask,ray,spark]>=0.9.6",
"dask",
"pandas<2.3",
"ray<=2.56.1",
]
plotting = [
"utilsforecast[plotting]",
]
date_extras = [
"holidays",
"pandas_market_calendars",
]
snowflake = [
"snowflake-snowpark-python",
"fire",
"rich",
]
[project.urls]
Homepage = "https://github.com/Nixtla/nixtla/"
Documentation = "https://nixtlaverse.nixtla.io/"
Repository = "https://github.com/Nixtla/nixtla/"
[tool.uv]
constraint-dependencies = [
"aiohttp>=3.14.3",
"bleach>=6.4.0",
"cryptography>=50.0.0",
"jupyter-server>=2.20.0",
"msgpack>=1.2.1",
"pyjwt>=2.13.0",
"setuptools>=83.0.0",
"tornado>=6.5.7",
]
[tool.uv.build-backend]
module-root = "."
[tool.ruff.lint]
select = [
"F", # pyflakes
]
[tool.pytest.ini_options]
markers = [
"distributed_run: mark test as requiring distributed run, such as those depending on Ray, Spark frameworks",
"spark_run: mark test execution related to Spark framework",
"ray_run: mark test execution related to Ray framework",
"snowflake: mark test as requiring Snowflake connection and API key",
]
testpaths = ["nixtla_tests"]
addopts = [
"--cov=python/statsforecast",
"--cov-report=term-missing",
"--cov-report=html",
"--cov-fail-under=80"
]
[tool.coverage.run]
omit = [
"nixtla/scripts/snowflake_install_nixtla.py", # Deployment script, not core library
]