forked from aws/graph-notebook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
136 lines (119 loc) · 4.09 KB
/
pyproject.toml
File metadata and controls
136 lines (119 loc) · 4.09 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
[build-system]
requires = [
"hatchling>=1.5.0",
"jupyterlab>=4.0.0,<5.0.0",
"hatch-nodejs-version",
"hatch-jupyter-builder>=0.5"
]
build-backend = "hatchling.build"
[project]
name = "graph-notebook"
version = "5.0.1"
description = "Jupyter notebook extension to connect to graph databases"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.9,<3.12"
authors = [
{ name = "amazon-neptune", email = "amazon-neptune-pypi@amazon.com" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License"
]
keywords = ["jupyter", "neptune", "gremlin", "sparql", "opencypher"]
dependencies = [
# Jupyter ecosystem
'ipyfilechooser==0.6.0',
'ipykernel>=6.5.0',
'ipython>=7.16.1,<=8.10.0',
'ipywidgets>=8.0.0,<9.0.0',
'jupyter-server>=2.0.0,<3.0.0',
'jupyter-server-proxy>=4.0.0,<5.0.0',
'jupyter_client>=8.0.0,<9.0.0',
'jupyterlab>=4.3.5,<5.0.0',
'jupyterlab-widgets>=3.0.0,<4.0.0',
'nbclient>=0.7.3',
'nbconvert>=6.3.0,<=7.2.8',
'notebook>=7.0.0,<8.0.0',
'nbclassic>=1.3.0',
# Data processing and visualization
'itables>=2.0.0,<=2.1.0',
'networkx==2.4',
'numpy>=1.23.5,<1.24.0',
'pandas>=2.1.0,<=2.2.2',
# Graph databases and query languages
'gremlinpython>=3.5.1,<=3.7.2',
'neo4j>=5.0.0,<=5.23.1',
'rdflib==7.0.0',
'SPARQLWrapper==2.0.0',
# AWS SDK
'boto3>=1.34.74',
'botocore>=1.34.74',
# Utilities
'async-timeout>=4.0,<5.0',
'jedi>=0.18.1,<=0.18.2',
'Jinja2>=3.0.3,<=3.1.4',
'json-repair==0.29.2',
'nest_asyncio>=1.5.5,<=1.6.0',
'requests>=2.32.0,<=2.32.2',
'numba==0.60.0'
]
[project.optional-dependencies]
test = [
"pytest==6.2.5"
]
[project.entry-points.ipython]
graph_notebook_magics = "graph_notebook.magics:load_ipython_extension"
[project.entry-points.jupyter_server]
serverextensions = "graph_notebook.nbextensions.install:_jupyter_server_extension_points"
[project.entry-points.notebook_extensions]
graph_notebook_widgets = "graph_notebook.widgets:_jupyter_nbextension_paths"
graph_notebook_nbextensions = "graph_notebook.nbextensions:_jupyter_nbextension_paths"
[project.entry-points.jupyter_labextension]
graph_notebook_widgets = "graph_notebook.widgets:_jupyter_labextension_paths"
[tool.hatch.build.hooks.jupyter-builder]
dependencies = ["hatch-jupyter-builder>=0.5"]
build-function = "hatch_jupyter_builder.npm_builder"
ensured-targets = [
"src/graph_notebook/widgets/labextension/package.json",
"src/graph_notebook/widgets/labextension/static/style.js",
"src/graph_notebook/widgets/nbextension/index.js",
]
skip-if-exists = ["src/graph_notebook/widgets/labextension/static/style.js"]
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
build_cmd = "build:prod"
npm = ["npm", "--prefix", "src/graph_notebook/widgets"]
source_dir = "src/graph_notebook/widgets"
build_dir = "src/graph_notebook/widgets/lib"
[tool.hatch.build]
artifacts = [
"src/graph_notebook/widgets/labextension",
"src/graph_notebook/widgets/nbextension",
]
[tool.hatch.build.targets.wheel.shared-data]
"src/graph_notebook/widgets/labextension" = "share/jupyter/labextensions/graph_notebook_widgets"
"src/graph_notebook/widgets/nbextension" = "share/jupyter/nbextensions/graph_notebook_widgets"
"src/graph_notebook/widgets/graph_notebook_widgets.json" = "etc/jupyter/nbconfig/notebook.d/graph_notebook_widgets.json"
"src/graph_notebook/nbextensions" = "share/jupyter/nbextensions/graph_notebook"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/docs",
"node_modules",
]
[tool.hatch.build.targets.wheel]
packages = ["src/graph_notebook"]
include = [
"src/graph_notebook/**/*.py",
"src/graph_notebook/**/*.ipynb",
"src/graph_notebook/**/*.json",
"src/graph_notebook/**/*.txt",
"src/graph_notebook/**/*.html",
"src/graph_notebook/**/*.css",
"src/graph_notebook/**/*.js",
"src/graph_notebook/**/*.yaml",
"src/graph_notebook/**/*.csv"
]