anywidget-graph 0.1.0__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- anywidget_graph-0.2.0/.github/workflows/ci.yml +35 -0
- anywidget_graph-0.2.0/.github/workflows/pypi.yml +40 -0
- {anywidget_graph-0.1.0 → anywidget_graph-0.2.0}/PKG-INFO +3 -2
- {anywidget_graph-0.1.0 → anywidget_graph-0.2.0}/README.md +1 -1
- {anywidget_graph-0.1.0 → anywidget_graph-0.2.0}/pyproject.toml +2 -1
- anywidget_graph-0.2.0/src/anywidget_graph/widget.py +1874 -0
- {anywidget_graph-0.1.0 → anywidget_graph-0.2.0}/uv.lock +2 -0
- anywidget_graph-0.1.0/src/anywidget_graph/widget.py +0 -293
- {anywidget_graph-0.1.0 → anywidget_graph-0.2.0}/.gitignore +0 -0
- {anywidget_graph-0.1.0 → anywidget_graph-0.2.0}/.python-version +0 -0
- {anywidget_graph-0.1.0 → anywidget_graph-0.2.0}/examples/demo.py +0 -0
- {anywidget_graph-0.1.0 → anywidget_graph-0.2.0}/src/anywidget_graph/__init__.py +0 -0
- {anywidget_graph-0.1.0 → anywidget_graph-0.2.0}/src/anywidget_graph/py.typed +0 -0
- {anywidget_graph-0.1.0 → anywidget_graph-0.2.0}/tests/__init__.py +0 -0
- {anywidget_graph-0.1.0 → anywidget_graph-0.2.0}/tests/test_graph.py +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
test:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
strategy:
|
|
13
|
+
matrix:
|
|
14
|
+
python-version: ["3.12", "3.13"]
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
|
+
|
|
19
|
+
- name: Install uv
|
|
20
|
+
uses: astral-sh/setup-uv@v4
|
|
21
|
+
|
|
22
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
23
|
+
run: uv python install ${{ matrix.python-version }}
|
|
24
|
+
|
|
25
|
+
- name: Install dependencies
|
|
26
|
+
run: uv sync --dev
|
|
27
|
+
|
|
28
|
+
- name: Run ruff check
|
|
29
|
+
run: uv run ruff check .
|
|
30
|
+
|
|
31
|
+
- name: Run ruff format check
|
|
32
|
+
run: uv run ruff format --check .
|
|
33
|
+
|
|
34
|
+
- name: Run tests
|
|
35
|
+
run: uv run pytest -v
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v4
|
|
13
|
+
|
|
14
|
+
- name: Install uv
|
|
15
|
+
uses: astral-sh/setup-uv@v4
|
|
16
|
+
|
|
17
|
+
- name: Build package
|
|
18
|
+
run: uv build
|
|
19
|
+
|
|
20
|
+
- name: Upload artifacts
|
|
21
|
+
uses: actions/upload-artifact@v4
|
|
22
|
+
with:
|
|
23
|
+
name: dist
|
|
24
|
+
path: dist/
|
|
25
|
+
|
|
26
|
+
publish:
|
|
27
|
+
needs: build
|
|
28
|
+
runs-on: ubuntu-latest
|
|
29
|
+
environment: pypi
|
|
30
|
+
permissions:
|
|
31
|
+
id-token: write
|
|
32
|
+
steps:
|
|
33
|
+
- name: Download artifacts
|
|
34
|
+
uses: actions/download-artifact@v4
|
|
35
|
+
with:
|
|
36
|
+
name: dist
|
|
37
|
+
path: dist/
|
|
38
|
+
|
|
39
|
+
- name: Publish to PyPI
|
|
40
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: anywidget-graph
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Interactive graph visualization for Python notebooks using anywidget
|
|
5
5
|
Project-URL: Homepage, https://grafeo.dev/
|
|
6
6
|
Project-URL: Repository, https://github.com/GrafeoDB/anywidget-graph
|
|
@@ -19,6 +19,7 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
19
19
|
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
20
20
|
Requires-Python: >=3.12
|
|
21
21
|
Requires-Dist: anywidget>=0.9.21
|
|
22
|
+
Requires-Dist: marimo>=0.19.7
|
|
22
23
|
Provides-Extra: dev
|
|
23
24
|
Requires-Dist: marimo>=0.19.7; extra == 'dev'
|
|
24
25
|
Requires-Dist: prek>=0.3.1; extra == 'dev'
|
|
@@ -251,7 +252,7 @@ graph.to_json("graph.json")
|
|
|
251
252
|
|
|
252
253
|
- [anywidget](https://anywidget.dev/) — Custom Jupyter widgets made easy
|
|
253
254
|
- [Grafeo](https://github.com/GrafeoDB/grafeo) — Embeddable graph database
|
|
254
|
-
- [grafeo-
|
|
255
|
+
- [grafeo-web](https://github.com/GrafeoDB/grafeo-web) — Grafeo in the browser
|
|
255
256
|
|
|
256
257
|
## License
|
|
257
258
|
|
|
@@ -218,7 +218,7 @@ graph.to_json("graph.json")
|
|
|
218
218
|
|
|
219
219
|
- [anywidget](https://anywidget.dev/) — Custom Jupyter widgets made easy
|
|
220
220
|
- [Grafeo](https://github.com/GrafeoDB/grafeo) — Embeddable graph database
|
|
221
|
-
- [grafeo-
|
|
221
|
+
- [grafeo-web](https://github.com/GrafeoDB/grafeo-web) — Grafeo in the browser
|
|
222
222
|
|
|
223
223
|
## License
|
|
224
224
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "anywidget-graph"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.2.0"
|
|
4
4
|
description = "Interactive graph visualization for Python notebooks using anywidget"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = { text = "Apache-2.0" }
|
|
@@ -22,6 +22,7 @@ classifiers = [
|
|
|
22
22
|
|
|
23
23
|
dependencies = [
|
|
24
24
|
"anywidget>=0.9.21",
|
|
25
|
+
"marimo>=0.19.7",
|
|
25
26
|
]
|
|
26
27
|
|
|
27
28
|
[project.optional-dependencies]
|