Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (90 loc) · 2.37 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (90 loc) · 2.37 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
[project]
name = "gimkit"
version = "0.2.1"
description = "Structured text generation and information extraction toolkit for language models"
readme = "README.md"
authors = [
{ name = "Shichao Song", email = "song.shichao@outlook.com" }
]
requires-python = ">=3.10"
license = { text = "MIT" }
keywords=[
"machine learning",
"deep learning",
"language models",
"structured generation",
"guided infilling",
"information extraction",
"NER",
"named entity recognition",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"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",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"json-repair>=0.55.1",
"llguidance>=1.3.0",
"outlines[openai]>=1.3.0",
]
[project.optional-dependencies]
vllm = [
"vllm>=0.18.1",
]
[project.urls]
Homepage = "https://github.com/SculptAI/GIMKit"
Documentation = "https://sculptai.github.io/GIMKit"
Repository = "https://github.com/SculptAI/GIMKit"
Issues = "https://github.com/SculptAI/GIM/issues"
[dependency-groups]
dev = [
"ipykernel>=7.1.0",
"mypy>=1.19.1",
"pre-commit>=4.5.1",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
"ruff>=0.14.14",
]
[build-system]
requires = ["uv_build>=0.8.16,<0.9.0"]
build-backend = "uv_build"
[tool.mypy]
disable_error_code = [
"import-not-found",
"import-untyped",
]
[tool.ruff]
fix = true
line-length = 100
target-version = "py310"
lint.extend-select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"ERA", # flake8-eradicate/eradicate
"I", # isort
"N", # pep8-naming
"PIE", # flake8-pie
"PGH", # pygrep
"RUF", # ruff checks
"SIM", # flake8-simplify
"TC", # flake8-type-checking
"TID", # flake8-tidy-imports
"UP", # pyupgrade
]
lint.ignore = [
"RUF001", # ambiguous-unicode-character-string
"PGH003", # blanket-type-ignore
]
lint.isort.lines-between-types = 1
lint.isort.lines-after-imports = 2
lint.pep8-naming.ignore-names = ["VLLM"]