RFC: kgdiff for Python and Jupyter
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- jupyter, pandas, python, typescript
- Ambito
- backend-api-design, data-visualization
Direzione di ricerca
Start by reading the proposal and open questions in this issue, especially the suggested anywidget wrapper and the first-prototype idea using two NetworkX graphs. Gather feedback from Python users on the API, package name, repository location, graph inputs, and notebook environments before choosing an implementation. Done means the project has agreed on a Python entry point and a concrete first prototype.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Most people who build knowledge graphs work in Python: rdflib, NetworkX, pandas, LangChain,
LlamaIndex, GraphRAG, and notebooks around them. Today they reach kgdiff by writing files and
running npx. This issue is for agreeing on what a Python entry point should be before anyone
builds one. Comments from Python users are the most useful thing here: what would you call,
from where, on what?
A proposal to react to
-
A Jupyter widget first.
<kgdiff-viewer>is a framework-agnostic web component that
computes everything in the browser, which is what anywidget wraps
well. The Python side would only serialise the two graphs:from kgdiff import Diff # name to be decided, see below Diff(before_graph, after_graph, match="similarity") # renders the viewer in the cellwith
before_graph/after_graphas anrdflib.Graph(serialised to Turtle), a
networkx.Graph(to node-link JSON), a pandas edge list, or a path. No Node.js needed. -
Then, maybe, a headless API (
kgdiff.diff(a, b) -> dictfor scripts and CI). Options:
run the bundled JavaScript engine through an embedded runtime, or call the CLI when Node.js
is present. Neither is free, so this should wait until people ask for it.
Open questions
- The name.
kgdiffon PyPI belongs to an unrelated project (a molecule generation model,
CMACH508/KGDiff). Candidates:kgdiff-py,pykgdiff,kgdiff-widget. Better ideas welcome. - Where it lives: a
python/folder in this repository (one release process, one set of
example datasets) or its own repository. - Which inputs matter most to you: rdflib, NetworkX, pandas / parquet (Microsoft GraphRAG),
Neo4j query results, something else? - VS Code notebooks, JupyterLab, Colab, marimo: which do you use?
If you would like to build this, say so here. A first prototype that renders the widget from
two NetworkX graphs would already answer most of these questions.
- Lingua principale
- TypeScript
- Stelle
- 47
- Fork
- 6
- Merge medio
- 2h 32m
- PR unite (30g)
- 22
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di iiwish/kgdiff
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
accessibility help wanted viewer
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
iiwish/kgdiff#16 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 1/100
iiwish/kgdiff#21 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
cli enhancement good first issue
Difficoltà 4/5 3-5 giorni Idoneità per principianti 57/100
I maintainer di solito rispondono entro 1 giorno
-
documentation help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di iiwish/kgdiff
Issue simili
-
maintenance
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
assistant-ui/assistant-ui#10499 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
bug server-sequentialthinking v2
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
modelcontextprotocol/servers#5526 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
app-server bug CLI
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
cimd: default originBoundFields rejects a cross-origin client_uri, which the CIMD draft forbidsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
better-auth/better-auth#12458 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno