-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (72 loc) · 1.98 KB
/
pyproject.toml
File metadata and controls
85 lines (72 loc) · 1.98 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
[project]
name = "hyperbase-parser-ab"
dynamic = ["version"]
description = "Semantic Hypergraph Alpha-Beta Parser"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "Telmo Menezes et al.", email = "telmo@telmomenezes.net" },
]
keywords = [
"NLP",
"AI",
"Knowledge Representation",
"Natural Language Understanding",
"Parsing",
"Semantic Hypergraphs",
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
]
dependencies = [
"hyperbase>=0.10.0",
"scikit-learn>=1.3.0",
"spacy>=3.8.0",
"torch>=2.0.0",
"transformers>=4.45.2",
"pip", # so that spaCy models can be easily installed with uv
]
[tool.uv.sources]
hyperbase = { workspace = true }
[project.optional-dependencies]
dev = [
"mypy>=1.8.0",
"ruff>=0.2.2",
"pre-commit>=3.6.2",
"types-passlib>=1.7.7.20240106",
"coverage>=7.4.3",
"datasets>=4.0.0",
"pytest>=9.0.0",
"evaluate>=0.4.6",
]
[project.urls]
Homepage = "https://hyperquest.ai/hyperbase"
[project.entry-points."hyperbase.parsers"]
alphabeta = "hyperbase_parser_ab:AlphaBetaParser"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "VERSION"
pattern = "(?P<version>.+)"
[tool.hatch.build.targets.wheel]
packages = ["src/hyperbase_parser_ab"]
[tool.mypy]
strict = true
[tool.ruff]
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF", "Q", "C4", "PT", "N", "ANN"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["E501", "ANN001", "ANN201", "ANN202", "ANN205", "D100", "D101", "D102", "D400", "D415"]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "double"
[tool.ruff.format]
quote-style = "double"