forked from MaartenGr/KeyBERT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
115 lines (107 loc) · 2.61 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
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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "keybert"
version = "0.8.5"
description = "KeyBERT performs keyword extraction with state-of-the-art transformer models."
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.8"
authors = [
{ name = "Maarten Grootendorst", email = "[email protected]" },
]
keywords = [
"nlp",
"bert",
"keyword",
"extraction",
"embeddings",
]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"numpy>=1.18.5",
"rich>=10.4.0",
"scikit-learn>=0.22.2",
"sentence-transformers>=0.3.8"
]
[project.optional-dependencies]
dev = [
"keybert[docs,test]",
]
docs = [
"mkdocs-material>=4.6.3",
"mkdocs>=1.1",
"mkdocstrings>=0.8.0",
]
flair = [
"flair>=0.7",
"torch>=1.4.0",
"transformers>=3.5.1",
]
gensim = [
"gensim>=3.6.0",
]
spacy = [
"spacy>=3.0.1",
]
test = [
"black>=19.3b0",
"flake8>=3.6.0",
"pre-commit>=2.2.0",
"pytest-cov>=2.6.1",
"pytest>=5.4.3",
]
tgi = [
"huggingface-hub>=0.23.3",
"pydantic>=2.7.4"
]
use = [
"tensorflow",
"tensorflow_hub",
"tensorflow_text",
]
[project.urls]
Documentation = "https://maartengr.github.io/KeyBERT/"
Homepage = "https://github.com/MaartenGr/KeyBERT"
Issues = "https://github.com/MaartenGr/KeyBERT/issues"
Repository = "https://github.com/MaartenGr/KeyBERT.git"
[tool.setuptools.packages.find]
include = ["keybert*"]
exclude = ["tests"]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"E4", # Ruff Defaults
"E7",
"E9",
"F", # End Ruff Defaults,
"D"
]
ignore = [
"D100", # Missing docstring in public module
"D104", # Missing docstring in public package
"D205", # 1 blank line required between summary line and description
"E731", # Do not assign a lambda expression, use a def
]
[tool.ruff.lint.per-file-ignores]
"**/tests/*" = ["D"] # Ignore all docstring errors in tests
[tool.ruff.lint.pydocstyle]
convention = "google"