Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (73 loc) · 2.26 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (73 loc) · 2.26 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
[project]
name = "anywidget-graph"
version = "0.4.6"
description = "Interactive graph visualization for Python notebooks using anywidget"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.12"
authors = [{ name = "S.T. Grond", email = "dev@grafeo.dev" }]
keywords = ["anywidget", "graph", "visualization", "jupyter", "marimo", "cypher", "neo4j"]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: Jupyter",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Topic :: Scientific/Engineering :: Visualization",
]
dependencies = [
"anywidget>=0.9.21",
]
[project.optional-dependencies]
dev = [
"prek>=0.5",
"pytest>=9.1",
"ruff>=0.17",
"ty>=0.0",
"marimo>=0.20; python_version < '3.15'",
]
networkx = ["networkx>=3"]
pandas = ["pandas>=3"]
grafeo = ["grafeo>=0.5.44,<0.7"]
cosmosdb = ["gremlinpython>=3.8"]
# marimo, to run the apps in examples/; it pulls in loro, which has no Python 3.15 wheels yet
examples = ["marimo>=0.19.9; python_version < '3.15'"]
embed = [] # Marker extra: WASM loads from CDN on demand
demo = [] # Marker extra: enables demo mode with pre-populated dataset
[project.urls]
Homepage = "https://grafeo.dev/"
Repository = "https://github.com/GrafeoDB/anywidget-graph"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/anywidget_graph"]
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
[tool.ty.environment]
python-version = "3.12"
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = "-v"
[tool.prek]
repos = [
{ repo = "ruff", hooks = [
{ id = "ruff-check", args = ["--fix", "--exit-non-zero-on-fix"] },
{ id = "ruff-format" },
]},
]
[dependency-groups]
dev = [
"anywidget-graph[grafeo]", # Engine contract tests run against the pinned grafeo extra
"pytest>=9.1",
"ruff>=0.16",
]