forked from dstackai/gpuhunt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
76 lines (69 loc) · 1.46 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "gpuhunt"
authors = [
{ name = "dstack GmbH" },
]
description = "A catalog of GPU pricing for different cloud providers"
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: OS Independent",
]
keywords = ["gpu", "cloud", "pricing"]
dynamic = ["version"]
dependencies = [
"requests",
"typing-extensions"
]
[project.urls]
"GitHub" = "https://github.com/dstackai/gpuhunt"
"Issues" = "https://github.com/dstackai/gpuhunt/issues"
[project.optional-dependencies]
aws = [
"boto3"
]
azure = [
"azure-mgmt-compute",
"azure-identity"
]
gcp = [
"google-cloud-billing",
"google-cloud-compute",
"google-cloud-tpu"
]
nebius = [
"pyjwt",
"cryptography",
"beautifulsoup4"
]
oci = [
"oci",
"pydantic>=1.10.10,<2.0.0",
]
datacrunch = [
"datacrunch"
]
all = ["gpuhunt[aws,azure,datacrunch,gcp,nebius,oci]"]
dev = [
"pre-commit",
"pytest~=7.0",
"pytest-mock",
"ruff==0.5.3", # Should match .pre-commit-config.yaml
]
[tool.setuptools.dynamic]
version = {attr = "gpuhunt.version.__version__"}
[tool.ruff]
line-length = 99
[tool.ruff.lint]
select = ['E', 'F', 'I' ,'Q', 'W', 'PGH', 'FLY', 'S113']
ignore = [
'E501',
'E712',
]
[tool.ruff.lint.isort]
known-first-party = ["gpuhunt"]