-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (67 loc) · 1.93 KB
/
pyproject.toml
File metadata and controls
76 lines (67 loc) · 1.93 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "csghub-sdk"
version = "0.9.0"
description = "CSGHub SDK for downloading and uploading models, datasets, and spaces"
readme = "README.md"
license = { text = "Apache-2.0" }
authors = [
{ name = "opencsg", email = "contact@opencsg.com" }
]
keywords = ["ai", "machine-learning", "models", "datasets", "huggingface"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">3.9,<=3.14"
dependencies = [
"requests",
"typer",
"typing-extensions",
"huggingface_hub>=1.2.0",
"python-dotenv",
"httpx",
"pydantic>=2",
]
[project.optional-dependencies]
train = [
"torch",
"transformers==5.0.0rc0",
"datasets>=2.20.0",
"accelerate>=1.1.0"
]
dev = [
"ruff>=0.4.0",
"build>=1.0.0",
"pytest>=8.0.0",
]
[project.scripts]
csghub-cli = "pycsghub.cli:app"
[project.urls]
Homepage = "https://github.com/OpenCSGs/csghub-sdk"
Repository = "https://github.com/OpenCSGs/csghub-sdk"
Issues = "https://github.com/OpenCSGs/csghub-sdk"
[tool.setuptools.packages.find]
include = ["pycsghub*"]
[tool.setuptools.package-data]
pycsghub = ["*"]
[tool.setuptools.dynamic]
version = { attr = "pycsghub.__version__" }
[tool.ruff]
target-version = "py310"
line-length = 120
exclude = ["build", "dist", ".eggs", "*.egg-info"]
[tool.ruff.format]
quote-style = "double"