-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
148 lines (134 loc) · 3.29 KB
/
pyproject.toml
File metadata and controls
148 lines (134 loc) · 3.29 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
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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "neo4j-viz"
version = "0.2.1"
description = "A simple graph visualization tool"
readme = "README.md"
authors = [{ name = "Neo4j", email = "team-gds@neo4j.org" }]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Database :: Front-Ends",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development",
"Typing :: Typed",
]
keywords = ["graph", "visualization", "neo4j"]
dependencies = [
"ipython >=8, <9",
"pydantic >=2 , <3",
"pydantic-extra-types >=2, <3",
"enum-tools==0.12.0"
]
requires-python = ">=3.9"
[project.optional-dependencies]
dev = [
"ruff==0.9.7",
"mypy==1.15.0",
"pytest==8.3.4",
"selenium==4.28.1",
"ipykernel==6.29.5",
"palettable==3.3.3",
"pytest-mock==3.14.0",
"nbconvert==7.16.6",
"streamlit==1.42.0",
]
docs = [
"sphinx==8.1.3",
"enum-tools[sphinx]",
"nbsphinx==0.9.6",
"nbsphinx-link==1.3.1",
]
pandas = ["pandas>=2, <3", "pandas-stubs>=2, <3"]
gds = ["graphdatascience>=1, <2"] # not compatible yet with Python 3.13
notebook = [
"ipykernel==6.29.5",
"pykernel==0.1.6",
"neo4j>=5.26.0",
"ipywidgets>=8.0.0",
"palettable==3.3.3",
"matplotlib==3.10.1",
"snowflake-snowpark-python==1.26.0",
]
[project.urls]
Homepage = "https://neo4j.com/"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"] # list of folders that contain the packages (["."] by default)
include = [
"neo4j_viz*",
] # package names should match these glob patterns (["*"] by default)
namespaces = false # only scan directories with __init__.py files (true by default)
[tool.setuptools.package-data]
neo4j_viz = ["resources/nvl_entrypoint/base.js", "py.typed"]
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
[tool.ruff]
line-length = 120
include = ["*.py", "*.ipynb"]
exclude = [
# default
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
# custom
"venv*",
".venv*",
".tox",
"build",
]
[tool.ruff.lint]
select = [
"E4",
"E7",
"E9", # default pycodestyle rules
"F", # flake8
"I", # isort
]
[tool.mypy]
strict = true
exclude = [
'(^build|^\.?venv)',
'build',
]
plugins = ['pydantic.mypy']
untyped_calls_exclude=["nbconvert"]