-
Notifications
You must be signed in to change notification settings - Fork 52
/
pyproject.toml
204 lines (188 loc) Β· 4.3 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.poetry]
name = "pyrdf2vec"
version = "0.2.3"
description = "Python implementation and extension of RDF2Vec"
license = "Ghent University and IMEC vzw"
authors = [
"Gilles Vandewiele <gilles.vandewiele@ugent.be>",
"Bram Steenwinckel <bram.steenwinckel@ugent.be>",
"Terencio Agozzino <terencio.agozzino@gmail.com>",
"Michael Weyns <michael.weyns@ugent.be>",
]
maintainers = ["Gilles Vandewiele <gilles.vandewiele@ugent.be>"]
readme = "README.rst"
repository = "https://github.com/IBCNServices/pyRDF2Vec"
documentation = "https://pyrdf2vec.readthedocs.io/en/latest/"
keywords = ["embeddings", "knowledge-graph", "rdf2vec", "word2vec"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Build Tools"
]
include = [
"LICENSE",
"README.rst",
"CONTRIBUTORS.rst",
"CODE_OF_CONDUCT.rst",
]
[tool.poetry.dependencies]
aiohttp = "^3.8.1"
attrs = ">=21.2,<24.0"
cachetools = "^5.0.0"
gensim = "^4.0.1"
levenshtein = ">=0.12.2,<0.21.0"
matplotlib = "^3.4.2"
nest-asyncio = "^1.5.1"
nest_asyncio = "^1.5.4"
networkx = ">=2.8,<4.0"
numpy = "^1.22.3"
pandas = ">=1.4.2,<3.0.0"
python = ">=3.8,<4.0"
python-louvain = "^0.16"
rdflib = "^6.1.1"
scikit-learn = "^1.0.2"
toml = "^0.10.2"
torch = "^1.8.1"
tqdm = "^4.61.0"
[tool.poetry.group.dev.dependencies]
black = "^23.1.0"
codecov = "^2.1.9"
doc8 = "^0.11.2"
flake8 = "^5.0.4"
flask = "^2.2.3"
isort = "^5.4.2"
mypy = "^1.2.0"
pre-commit = "^3.1.1"
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
sphinx = ">=5.2.3,<7.0.0"
sphinx-autodoc-typehints = "^1.19.2"
sphinx-rtd-theme = "^1.0.0"
sphinxcontrib-apidoc = "^0.3.0"
towncrier = "^22.12.0"
tox = "^4.4.6"
types-attrs = "^19.1.0"
types-cachetools = "^5.2.1"
types-requests = "^2.28.11.8"
types-toml = "^0.10.8.2"
yamllint = "^1.29.0"
[tool.poetry.extras]
docs = [
"gensim",
"rdflib",
"scikit-learn",
"sphinx",
"sphinx-autodoc-typehints",
"sphinx-rtd-theme",
"sphinxcontrib-apidoc",
"toml"
]
lint = ["black", "doc8", "flake8", "isort", "mypy", "yamllint"]
tests = [
"aiohttp",
"codecov",
"gensim",
"nest-asyncio",
"numpy",
"pandas",
"pytest",
"pytest-cov",
"rdflib",
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/IBCNServices/pyRDF2Vec/issues"
[tool.black]
line-length = 79
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.tox
| _build
| build
| dist
| env
)/
'''
[tool.towncrier]
package = "pyrdf2vec"
filename = "CHANGELOG.rst"
template = "changelog.d/_template.rst"
issue_format = "`#{issue} <https://github.com/IBCNServices/pyRDF2Vec/issues/{issue}>`_"
directory = "changelog.d"
title_format = "{version} ({project_date})"
underlines = ["-", "^"]
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Improved Documentation"
showcontent = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist =
docs
py{37,38,39}
lint
tests
isolated_build = True
[testenv:changelog]
description = Displays the news fragments of the CHANGELOG file
deps = towncrier
skip_install = true
commands = towncrier --draft
[testenv:docs]
description = Builds documentation (HTML) with Sphinx.
deps =
gensim
rdflib
scikit-learn
sphinx
sphinx-autodoc-typehints
sphinx-rtd-theme
sphinxcontrib-apidoc
toml
commands =
sphinx-build -n -T docs docs/_build/html
python -m doctest README.rst
[testenv:lint]
description = Checks the code style.
deps = pre-commit
skip_install = true
commands = pre-commit run --all-files
[testenv:tests]
description = Runs unit tests and performs coverage.
deps =
aiohttp
codecov
gensim
nest-asyncio
numpy
pandas
pytest
pytest-cov
pytest-xdist
rdflib
scikit-learn
commands = pytest --cov=pyrdf2vec --cov-report=xml tests
"""